// Link ----------------------------------------------------

//function pdf_kidp(){
//	window.open('swf/introduction_kidp.pdf', '', 'width=500, height=700, left=0, top=0, scrollbars=yes, resizable=yes');
//}

function pdf_kidp(){
 	var op = "toolbar=no, menubar=no, scrollbars=no, resizable=yes, left=0, top=0"
	w = window.open('swf/introduction_kidp.pdf?nbwidth=1024,nbheight=768','m', op)
}

function pdf_kodfa(){
 	var op = "toolbar=no, menubar=no, scrollbars=no, resizable=yes, left=0, top=0"
	w = window.open('swf/introduction_kodfa.pdf?nbwidth=600,nbheight=800','m', op)
}

//function adobe_reader(){
// 	var op = "toolbar=no, menubar=no, scrollbars=no, resizable=yes, left=0, top=0"
//	w = window.open('http://www.adobe.com/products/acrobat/readstep2.html?nbwidth=1024,nbheight=768','m', op)
//}

function adobe_reader(){
	location.href = "AdobeReader8/Setup.exe";
}


// Active-X °ü·Ã ½ºÅ©¸³Æ® (ÇÃ·¡½¬, µ¿¿µ»ó¿¡ Àû¿ë)
/**
 *  f_uri : flash file path
 *  f_width : flash width size
 *  f_height : flash heigh size
 */
function writeObjContents(f_uri,f_width,f_height){
    document.write('<object width="'+f_width+'" height="'+f_height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ');
    document.write('<param name="movie" value="'+f_uri+'"> ');
    document.write('<param name="quality" value="high"> ');
    document.write('<param name="scale" value="noscale"> ');
    document.write('<param name="bgcolor" value="#2C2721"> ');
    document.write('<param name="allowScriptAccess" value="sameDomain"> ');
    document.write('<param name="menu" value="false"> ');
    document.write('<embed src="'+f_uri+'" width="'+f_width+'" height="'+f_height+'" quality="high" scale="noscale" align="left" bgcolor="#2C2721" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> ');
    document.write('</object> ');
}





// ÀÌ ¹ØÀ¸·Î ¾²Áö¾ÊÀ½ -----------------------------------------------------------------

function home(){
	location.href = "/index.asp";
}


function map_print(){
	window.open('/P00_guide/map/chiffs2007_map.pdf', '', 'width=1024, height=741, left=0, top=0, scrollbars=yes, resizable=yes');
}

function writeObjMain(f_uri,f_width,f_height){
    document.write('<object width="'+f_width+'" height="'+f_height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ');
    document.write('<param name="movie" value="'+f_uri+'"> ');
    document.write('<param name="quality" value="high"> ');
    document.write('<param name="scale" value="noscale"> ');
    document.write('<param name="salign" value="lt"> ');
    document.write('<param name="bgcolor" value="#2c2721"> ');
    document.write('<param name="allowScriptAccess" value="sameDomain"> ');
    document.write('<param name="menu" value="false"> ');
	
    document.write('<param name="wmode" value="transparent"> ');
	
    document.write('<embed src="'+f_uri+'" width="'+f_width+'" height="'+f_height+'" quality="high" scale="noscale" align="left" bgcolor="#2c2721" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> ');
    document.write('</object> ');
}


// ¸®´õÇÊ¸§, Æ®·¹ÀÏ·¯ --------
function writeObjLeader(f_uri,f_flv,f_width,f_height){
    document.write('<object width="'+f_width+'" height="'+f_height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ');
    document.write('<param name="movie" value="'+f_uri+'"> ');
    document.write('<param name="quality" value="high"> ');
    document.write('<param name="scale" value="noscale"> ');
    document.write('<param name="salign" value="lt"> ');
    document.write('<param name="bgcolor" value="#2c2721"> ');
    document.write('<param name="allowScriptAccess" value="sameDomain"> ');
    document.write('<param name="menu" value="false"> ');
    document.write('<param name="FlashVars" value="'+f_flv+'"> ');
    document.write('<embed src="'+f_uri+'" FlashVars="'+f_flv+'" width="'+f_width+'" height="'+f_height+'" quality="high" scale="noscale" align="left" bgcolor="#2c2721" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> ');
    document.write('</object> ');
}
// --------


// ÀÚ·á½Ç/¿Àµð¿À --------
function writeObjLeader(f_uri,f_flv,f_width,f_height){
    document.write('<object width="'+f_width+'" height="'+f_height+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ');
    document.write('<param name="movie" value="'+f_uri+'"> ');
    document.write('<param name="quality" value="high"> ');
    document.write('<param name="scale" value="noscale"> ');
    document.write('<param name="salign" value="lt"> ');
    document.write('<param name="bgcolor" value="#2c2721"> ');
    document.write('<param name="allowScriptAccess" value="sameDomain"> ');
    document.write('<param name="menu" value="false"> ');
    document.write('<param name="FlashVars" value="'+f_flv+'"> ');
    document.write('<embed src="'+f_uri+'" FlashVars="'+f_flv+'" width="'+f_width+'" height="'+f_height+'" quality="high" scale="noscale" align="left" bgcolor="#2c2721" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> ');
    document.write('</object> ');
}
// --------




function writeObjMovie(f_uri,f_width,f_height,lan){
	document.write("<object name='MediaPlayer1' id='MediaPlayer1' width='"+f_width+"' height='"+f_height+"' classid='clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#version=6,4,7,1112' standby='loading windows media player components...' type='application/x-oleobject'>");
	document.write("<param name='filename' value='/common/wmv/"+f_uri+"'>");
	document.write("<param name='autostart'   value='true' >");
	document.write("<param name='showcontrols' value='1'>");
	document.write("<param name='showstatusbar' value='1'>");
	document.write("<param name='enablecontextmenu' value='true'>");
	document.write("<param name='transparentatstart' value='true'>");
	document.write("<param name='transparentonstop' value='true'>");
	document.write("<EMBED TYPE='application/x-mplayer2' SRC='/common/wmv/"+f_uri+"' NAME='mplay1' WIDTH='"+f_width+"' HEIGHT='"+f_height+"'></EMBED>");
	document.write("</object>");
}

function movieplayer() {
            document.write(""
            + "<OBJECT ID='Player' Name='Player' classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject ' bgcolor='DarkBlue' width='262' Height='175' VIEWASTEXT>"
            + "<PARAM NAME='AutoStart' VALUE='1'>"
            + "<PARAM NAME='ShowControls' VALUE='0'>"
            + "<PARAM NAME='TransparentAtStart' value='1'>"
            + "<PARAM NAME='Volume' VALUE='-2500'>"
            + "<PARAM NAME='EnableContextMenu' VALUE='0'>"
            + "<EMBED invokeURLs='false' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/' id='Player' Name='Player' ShowControls='0' autostart='1' TransparentAtStart='1' EnableContextMenu='0'>"
            + "</EMBED>"
            + "</OBJECT>");
}

