function embedFlash(fn, w, h) {
   document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+w+"' height='"+h+"'>");
   document.write("<param name='movie' value='"+fn+"'>");
   document.write("<param name='quality' value='high'>");
   document.write("<embed src='"+fn+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"'></embed></object>");
}

function embedMovie(fn, w, h) {
document.write("<OBJECT ID='vod' name='vod' WIDTH="+w+" HEIGHT="+h+" CLASSID='CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,05,0809' Standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject' VIEWASTEXT>");
document.write("<param name='transparentAtStart' VALUE='1'>");
document.write("<param name='transparentAtStop' VALUE='0'>");
document.write("<param name='AnimationAtStart' VALUE='1'>");
document.write("<param name='AutoStart' VALUE='1'>");
document.write("<param name='AutoRewind' VALUE='1'>");
document.write("<param name='SendMouseClickEvents' VALUE='1'>");
document.write("<param name='DisplaySize' VALUE='0'>");
document.write("<param name='AutoSize' VALUE='0'>");
document.write("<param name='ShowDisplay' VALUE='0'>");
document.write("<param name='ShowStatusBar' VALUE='0'>");
document.write("<param name='ShowControls' VALUE='0'>");
document.write("<param name='ShowTracker' VALUE='0'>");
document.write("<param name='Enabled' VALUE='1'>");
document.write("<param name='EnableContextMenu' VALUE='0'>");
document.write("<param name='EnablePositionControls' VALUE='1'>");
document.write("<param name='EnableFullScreenControls' VALUE='1'>");
document.write("<param name='ShowPositionControls' VALUE='0'>");
document.write("<param name='Mute' VALUE='0'>");
document.write("<param name='Rate' VALUE='1'>");
document.write("<param name='ClickToPlay' VALUE='0'>");
document.write("<param name='CursorType' value='1'>");
document.write("<param name='FileName' value='"+fn+"'>");
document.write("</OBJECT>");
}
    
function linkURL(code) {
	if (code=='01') location.href='/about/sub01.html';
	else if (code=='0101') location.href='/about/sub01.html';
	else if (code=='0102') location.href='/about/sub02.html';
	else if (code=='0103') location.href='/about/sub0301.html';
	else if (code=='0104') location.href='/about/sub04.html';
	else if (code=='0105') location.href='/press/list.php?code=press';
	else if (code=='0106') location.href='/about/sub06.html';
	
	else if (code=='02') location.href='/clinic/sub01.html';
	else if (code=='0201') location.href='/clinic/sub01.html';
	else if (code=='0202') location.href='/clinic/sub0201.html';
	else if (code=='0203') location.href='/clinic/sub03.html';
	else if (code=='0204') location.href='/notice/list.php?code=faq';

	else if (code=='03') location.href='/lab/sub01.html';
	else if (code=='0301') location.href='/lab/sub01.html';
	else if (code=='0302') location.href='/lab/sub0201.html';
	else if (code=='0303') location.href='/lab/sub0301.html';
	else if (code=='0304') location.href='/achievement/index.php?code=lab';
	
	else if (code=='04') location.href='/online/sub01.html';
	else if (code=='0401') location.href='/online/sub01.html';
	else if (code=='0402') location.href='/online/sub02.html';
	else if (code=='0403') location.href='/online/sub03.html';
	else if (code=='0404') location.href='/online/sub04.html';
	else if (code=='0405') location.href='/online/sub05.html';
	else if (code=='0406') location.href='/online/sub06.html';
	else if (code=='0407') location.href='/online/sub07.html';
	
	else if (code=='05') location.href='/pds/index.php?code=cme3';
	else if (code=='0501') location.href='/pds/index.php?code=cme3';
	else if (code=='0502') location.href='/pds/index.php?code=cme1';
	else if (code=='0503') location.href='/pds/index.php?code=cme4';
	else if (code=='0504') location.href='/pds/index.php?code=cme2';
	
	
	else if (code=='06') location.href='/notice/list.php?code=notice';
	else if (code=='0601') location.href='/notice/list.php?code=notice';
	else if (code=='0602') location.href='/schedule/index.php?code=cvc';
	else if (code=='0603') location.href='/board/list.php?code=free';
	else if (code=='0604') location.href='/photo/list.php';
	else if (code=='0605') location.href='/board/list.php?code=intra';
	else if (code=='0606') location.href='/pds/index.php?code=pds';
	else if (code=='0607') location.href='/request/?code=cvc';

	else if (code=='07') location.href='/link/sub01.html';
	else if (code=='0701') location.href='/link/sub01.html';
}