function get_flash(URL,wid,hei,mode) {
	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='"+wid+"' height='"+hei+"'>");
	document.write("<param name='movie' value='"+URL+"'>");
	document.write("<param name='quality' value='high'>");
	document.write("<param name='WMODE' value='"+mode+"'>");
	document.write("<embed src='"+URL+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+wid+"' height='"+hei+"'></embed>");
	document.write("</object>");
}


function get_flash2(URL,wid,hei,mode) {
	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='"+wid+"' height='"+hei+"'>");
	document.write("<param name='movie' value='"+URL+"?pageNum=<%=flash_num%>'>");
	document.write("<param name='quality' value='high'>");
	document.write("<param name='WMODE' value='"+mode+"'>");
	document.write("<embed src='"+URL+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+wid+"' height='"+hei+"'></embed>");
	document.write("</object>");
}

function get_vod(what) {
	document.write("<OBJECT CLASSID='clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95' width='190' height='145' ID='mPlayer'>");
	if (what == 2) { document.write("<PARAM NAME='filename' VALUE='../data/"+what+".asf'>"); }
	else { document.write("<PARAM NAME='filename' VALUE='../data/"+what+".wmv'>"); }
	document.write("<PARAM NAME='ShowControls' VALUE='0'>");
	document.write("<PARAM NAME='AutoStart' VALUE='true'>");
	document.write("</object>");
}

function get_vod2(what) {
	document.write("<OBJECT CLASSID='clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95' width='320' height='240' ID='mPlayer'>");
	document.write("<PARAM NAME='filename' VALUE='../data/"+what+"'>");
	document.write("<PARAM NAME='ShowControls' VALUE='0'>");
	document.write("<PARAM NAME='AutoStart' VALUE='true'>");
	document.write("</object>");
}

function get_music(what) {
	document.write("<embed src='http://jstour.jeongseon.go.kr/data/"+what+"'></embed>");
}

function get_vod3(URL) {
	document.write("<embed src='"+URL+"' hidden='false'  autostart='true' width='211' height='173' showcontrols='true'>");
}

function get_vr(imgnum){
	document.write("<applet code='a3d.ImageRenderApplet.class' codebase='' archive='apvp.zip' name='apv' width='616' height='200' align='baseline' style='border-color:black; border-style:solid; border-width:1px'>");
	document.write("<param name='file' value='"+imgnum+".jpg'>");
	document.write("<param name='barcolor' value='ff9900'>");
	document.write("<param name='wait' value='logo.gif'>");
	document.write("<param name='pan' value='0'>");
	document.write("<param name='tilt' value='0'>");
	document.write("<param name='fow' value='160'>");
	document.write("<param name='fowmax' value='150'>");
	document.write("<param name='fowmin' value='15'>");
	document.write("<param name='auto' value='5'>");
	document.write("<param name='panotilt' value='0'>");
	document.write("<param name='inits' value='viewer:gotoView(0,0,0);toggleQuality();'>");
	document.write("</applet>");
}

function OpenWin0(url, winName, intWidth, intHeight, scroll) {
  window.open(url, winName, "width=" + intWidth + ", height=" + intHeight + ", resizable=0, scrollbars=" + scroll + ", top=" + ((screen.height / 2 - intHeight / 2) - 30) + ", left=" + (screen.width / 2 - intWidth / 2)) ;
}

