	function getSelectedValue(obj) {		for ( i = 1 ; i < obj.options.length ; i++ ) {			if ( obj.options[i].selected ) {			//  return true;				return obj.options[i].value;				break;			}		}		return false;	}	function goHomepage(frm) {		var selectsite = getSelectedValue(frm.selectsite);		if(selectsite == false)		{			return false;		}		var selectName = document.homePages.selectName.value;		goUrl_site(selectsite)		return false;	}	function goUrl_site(url) {		if ( url.indexOf("http://") > -1 ) {			winWidth = screen.width;			winHeight = screen.height;			window.open( url, "", "left=0,top=0,width=" + winWidth + ",height=" + winHeight + ",toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1" );		} else {			location.href = url;		}	}// ÇªÅÍ ½ÃÀÛ -------------------------------------------------------------------document.write('<div id="footer">')document.write('    <table width="870" style="background:url(/2007/img/inc/footer_bg.gif) repeat-x;">')document.write('    <tr>')document.write('        <td height="3" colspan="3"></td>')document.write('    </tr>')document.write('    <tr>')document.write('        <td valign="top" rowspan="2" width="169" height="88"><img src="/2007/img/main/new_footer_1.gif" border="0" alt="ÄÚ·¹ÀÏ ¿ìÆí¹øÈ£ 300-720 ´ëÀü±¤¿ª½Ã µ¿±¸ Áß¾Ó·Î 240 tel:1544-7788 | 1588-7788 fax : 042-259-2197 Copyright"></td>')document.write('        <td valign="top" colspan="2" width="701" height="38"><img src="/2007/img/main/new_footer_2.gif" border="0" usemap="#footerImageMap1" alt="»óÈ£ : ÇÑ±¹Ã¶µµ°ø»ç ´ëÇ¥ÀÚ : ÇãÁØ¿µ E-MAIL : admin@korail.com »ç¾÷ÀÚµî·Ï¹øÈ£ 314-82-10024 Åë½ÅÆÇ¸Å¾÷½Å°í : ´ëÀü¼­±¸ - 0280È£ Copyright(c) 2007 By korea RAILROAD All Rights Reserved."></td>')document.write('    </tr>')document.write('    <tr>')document.write('        <td valign="top" width="542" height="50"><img src="/2007/img/main/new_footer_3.gif" border="0" usemap="#footerImageMap2" alt=""></td>')document.write('        <td align="right">')document.write('            <a href="http://news.korail.com" target="_blank"><img src="/2007/img/top_new/btn_gonew.gif" alt="ÄÚ·¹ÀÏ´º½º"></a>')document.write('            <form name="homePages" method="post" action="/2007/main/go_Homepage.jsp" onsubmit="return goHomepage(this);" style="display: inline;">  ')document.write('                <input type="hidden" name="selectName" value=""/> ')document.write('                    <select name="selectsite" title="ÄÚ·¹ÀÏ°ü·Ã »çÀÌÆ® ¹Ù·Î°¡±â" style="width:120px">')document.write('                        <option value="#" selected="selected">ÄÚ·¹ÀÏ°ü·Ã »çÀÌÆ®</option>')document.write('                        <option value="http://logis.korail.go.kr/index.jsp">¹°·ùÁ¤º¸</option>')document.write('                        <option value="http://www.naksanresort.co.kr">ÄÚ·¹ÀÏ ³«»ê¿¬¼ö¿ø</option>')document.write('                        <option value="http://info.korail.com/2007/kra/ope/ope03000/w_ope03100.jsp">À±¸®°æ¿µ</option>')document.write('                        <option value="http://info.korail.com/2005/html/company/co001/co001001006_login.html">ÀÌ»çÈ¸Ä¿¹Â´ÏÆ¼</option>')document.write('                        <option value="http://ebid.korail.com">Á¶´Þ¤ýÀÔÂû</option>')document.write('                        <option value="http://info.korail.com/2007/kra/gal/gal01000/w_gal01100.jsp">Ã¶µµ¹Ú¹°°ü</option>')document.write('                        <option value="http://nosa.korail.com/pgm/Nosa/login.jsp">³ë»çÇÑ¸¶´ç</option>')document.write('                        <option value="http://news.korail.com/">ÄÚ·¹ÀÏ´º½º</option>')document.write('                        <option value="http://webzine.korail.com/">ÄÚ·¹ÀÏÀ¥Áø</option>')document.write('                        <option value="http://photo.korail.com" >»çÁøÀ¸·Î º¸´Â ÄÚ·¹ÀÏ</option>')document.write('                        <option value="http://www.trainshop.co.kr" >Æ®·¹ÀÎ¼¥</option>')document.write('                    </select>')document.write('                    <input type="image" src="/2007/img/common/btn_go.gif" align="absmiddle" style="width:27px; height:12px;" title="¹Ù·Î°¡±â" alt="¹Ù·Î°¡±â"/>')document.write('            </form>')document.write('        </td>')document.write('    </tr>')document.write('    <tr>')document.write('        <td height="7"></td>')document.write('    </tr>')document.write('    </table>')document.write('    <map name="footerImageMap1">')document.write('    <area shape="rect" coords="10,8,99,32"  href="http://info.korail.com/2007/kra/ope/ope02000/w_ope02602.jsp" alt="±¹°¡ºê·£µå Çõ½Å°æ¿µºÐ¾ß ´ë»ó">')document.write('    <area shape="rect" coords="106,6,204,33" href="http://info.korail.com/2007/kra/ope/ope02000/w_ope02602.jsp" alt="´ëÇÑ¹Î±¹ Áö¼Ó°¡´É¼ºÁö¼ö 1À§(KSI)">')document.write('    <area shape="rect" coords="210,6,295,36" href="http://info.korail.com/2007/kra/ope/ope02000/w_ope02602.jsp" alt="ºÎÆÐ¹æÁö ½ÃÃ¥Æò°¡ ´ëÅë·É»ó">')document.write('    <area shape="rect" coords="300,8,399,32" href="http://info.korail.com/2007/kra/ope/ope02000/w_ope02601.jsp" alt="Àü±¹Ç°ÁúºÐÀÓÁ¶°æÁø´ëÈ¸ 11¿¬¼Ó ´ëÅë·É»ó">')document.write('    <area shape="rect" coords="403,9,485,32" href="http://info.korail.com/2007/kra/ope/ope02000/w_ope02600.jsp" alt="¼ÒºñÀÚÁß½É°æ¿µ ´ëÅë·ÉÇ¥Ã¢¼ö»ó">')document.write('    <area shape="rect" coords="493,8,597,32" href="http://info.korail.com/2007/kra/ope/ope02000/w_ope02600.jsp" alt="´ëÇÑ¹Î±¹ÀÎÅÍ³Ý¼ÒÅë´ë»ó °ø±â¾÷ºÎ¹®´ë»ó">')document.write('    <area shape="rect" coords="601,8,693,32" href="http://info.korail.com/2007/kra/ope/ope02000/w_ope02600.jsp" alt="¼ÒºñÀÚºÒ¸¸ÀÚÀ²°ü¸® ½Ã½ºÅÛ(CCMS)ÀÎÁõ">')document.write('    </map>')document.write('    <map name="footerImageMap2">')document.write('    <area shape="rect" coords="4, 3, 60, 21"    href="http://info.korail.com/2007/kra/ope/ope02000/w_ope02300.jsp" alt="°í°´¼­ºñ½ºÇåÀå">')document.write('    <area shape="rect" coords="68, 3, 101, 21"  href="http://info.korail.com/2007/kra/new/new02000/w_new02100.jsp" alt="º¸µµÀÚ·á">')document.write('    <area shape="rect" coords="109, 3, 197, 21" href=javascript:WinOpen("http://info.korail.com/2007/kra/pol/pol01000/w_pol01100.jsp","pop1","622","655","yes") alt="¿©°´¿î¼Û¾à°ü ¹× ºÎ¼Ó¾à°ü">')document.write('    <area shape="rect" coords="205, 3, 255, 21" href="http://info.korail.com/2007/cus/cus12000/w_cus12100.jsp" alt="Á¤º¸°ø°³">')document.write('    <area shape="rect" coords="263, 3, 327, 21" href=javascript:WinOpen("http://info.korail.com/2007/kra/pol/pol01000/w_pol01500.jsp","pop2","622","655","yes") alt="°³ÀÎÁ¤º¸Ã³¸®¹æÄ§">')document.write('    <area shape="rect" coords="335, 3, 407, 21" href=javascript:WinOpen("http://info.korail.com/2007/kra/pol/pol01000/w_pol01300.jsp","pop3","622","655","yes") alt="ÀÌ¸ÞÀÏ¹«´Ü¼öÁý°ÅºÎ">')document.write('    <area shape="rect" coords="415, 3, 449, 21" href="http://www.korail.com/etc/adv/ad_info01.html" target="_blank" alt="±¤°í¾È³»">')document.write('    <area shape="rect" coords="457, 3, 499, 21" href=javascript:WinOpen("http://info.korail.com/2007/kra/pol/pol01000/w_pol01400.jsp","pop4","622","655","yes") alt="ÀúÀÛ±ÇÁ¤Ã¥">')document.write('    <area shape="rect" coords="507, 3, 540, 21" href="http://info.korail.com/2007/smap/smap01000/w_smap01100.jsp" alt="»çÀÌÆ®¸Ê">')document.write('    </map>')document.write('</div>')// ÇªÅÍ ³¡ ---------------------------------------------------------------------// ¹Ù·Î°¡±â ¸Þ´º ½ÃÀÛ ----------------------------------------------------------document.write('<div id="Top_Layer" class="quick" >                                                                                                                                               ')document.write('<style type="text/css">                                                                                                                                                          ')document.write('    image { border: none; }                                                                                                                                                      ')document.write('    .quick_f { font-size: 0; width: 81px; }                                                                                                                                      ')document.write('    .quick_fl { font-size: 0; margin: 5px 0 10 0; }                                             ')document.write('    .quick_fm { font-size: 0; }                                          ')document.write('    p.btn { margin: 0; padding: 0 0 4px 0; font-size: 0; text-align: center; }                                                                                                   ')document.write('</style>                                                                                                                                                                         ')document.write('<div class="quick_f">                                                                                                                                                            ')//document.write('<div class="quick_fm">                                                                                                                                                           ')//document.write('                                                                                                                                                                                                        ')//document.write('<a href=javascript:WinOpen("http://info.korail.com/2007/cus/cus09000/w_cus09200.jsp","itvoc","750","600","yes")><img src="/2007/img/main_200811/bnr_it1.jpg"></a>        ')//document.write('</div>        ')document.write('<div class="quick_fl">                                                                                                                                                           ')document.write('                                                                                                                                                                                 ')document.write('<script>insertFlashObject("/2007/img/main_200811/Main_QuickMenu.swf" , 81 , 269 , "xmlURL=/2007/xml/letfQuick.xml" , "leftQuick" , "always" , "transparent" ,  "false");</script>        ')document.write('<div>                                                                                                                                                                            ')document.write('</div>                                                                                                                                                                           ')// ¹Ù·Î°¡±â ¸Þ´º ³¡ ------------------------------------------------------------// ¿ìÃø ±¤°í¹è³Ê ½ÃÀÛ ----------------------------------------------------------document.write('<table border="0">')//--- ÀÌº¥Æ®document.write('<tr><td style="height:2"></td></tr>')//document.write('<tr><td><a href="http://info.korail.com/2007/cus/cus03000/w_cus03200.jsp?boardid=21263" target="_parent"><img src="http://info.korail.com/2007/img/main_200904/banner_cost.gif" alt="Ã¶µµ¿ä±Ý¿ø°¡Á¤º¸°ø°³"></a></td></tr>')//--- ¹®È­°ø¿¬, ÀÌ¿ëTipdocument.write('<tr><td><script language="javascript">flash("/2007/img/main_200811/Main_Banner.swf","85","121")</script></td></tr>')//--- ¿©Çà»óÇ°//document.write('<tr><td><iframe src="http://ads.luble.com/NetInsight/html/korail/korail/korail@mainR2" width="84" height="101" frameborder="0" scrolling="no" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"></iframe></td></tr>')//document.write('<tr><td style="height:2"></td></tr>')//document.write('<tr><td><iframe src="http://ads.luble.com/NetInsight/html/korail/korail/korail@mainR22" width="84" height="101" frameborder="0" scrolling="no" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"></iframe></td></tr>')document.write('<tr><td><a href="#" onClick=window.open("http://www.korail.com/file/ebook/ktxmagazine_1202/ktxmagazine1202.html","_blank","Fullscreen")><img src="http://info.korail.com/2007/img/main_200811/ktxmagazine2.gif" alt="KTX¸Å°ÅÁø¹Ù·Î°¡±â"></a></td></tr>')// ÄÚ·¹ÀÏ¸â¹ö½Ê-»ï¼ºÄ«µå 2011.05.06 Ãß°¡ kjh ¿ª¿î¿µÃ³ // µµ½Ã¶ô¹è³Ê Ãß°¡ 2010.07.05 ljy/* µµ½Ã¶ô¹è³ÊÁ¦°Å 2011.03.24 ljy ¿©°´¸¶ÄÉÆÃÃ³-480(11.03.22)if( (document.getElementById('hidDosirak' ) != null && document.getElementById('hidDosirak' ).value == 'Y' && dw_trim(document.form1.hidPnrNo.value).length != 0) || // ´ÜÃ¼´Â ÀÓ½ÃpnrÀÌ¹Ç·Î ½ÅÃ»ºÒ°¡	(document.getElementById('hidDosirak2') != null && document.getElementById('hidDosirak2').value == 'Y') ){	document.write('<tr><td><a href="javascript:fn_OpenDosirak()"><img src="/pa/img/banner_dosirak.gif"></a></td></tr>');}*/document.write('</table>')document.write('</div>                                                                                                                                                                           ')document.write('</div>                                                                                                                                                                           ')document.write('</div>                                                                                                                                                                           ')// ¿ìÃø ±¤°í¹è³Ê ³¡ ------------------------------------------------------------//document.write('<script LANGUAGE="JavaScript">')//document.write('if (isNS4)')//document.write('{')//document.write('var Top_Layer = document["Top_Layer"];')//document.write('Top_Layer.top = top.pageYOffset+110 ;')//document.write('Top_Layer.visibility = "visible";')//document.write('moveRightEdge();')//document.write('}')//document.write('else if (isDOM)')//document.write('{')//document.write('var Top_Layer = getRef("Top_Layer");')//document.write('Top_Layer.style.top = (isNS ? window.pageYOffset : document.body.scrollTop) + 110;')//document.write('Top_Layer.style.visibility = "visible";')//document.write('moveRightEdge();')//document.write('}')//document.write('</script>')function resizeQuick(val){	if(document.getElementById("leftQuick") != null)	{		document.getElementById("leftQuick").style.height = val;	}}////////////////////////////////////////////////////////////////////////////////function getFlashObjectString(path, width, height, flashvars, idname, saccess, wmode, fullscreen){	// Initializes the flashvars parameter.	if(flashvars == undefined){		flashvars = "";	}	// Initializes the ID and name of the Flash object.	if(idname == undefined){		idname = "";	}	// Initializes the script access control.	if(saccess != "never" && saccess != "always"){		saccess = "sameDomain";	}	// Initializes the transparency.	if(wmode != "transparent" && wmode != "opaque"){		wmode = "window";	}	// Initializes the fullscreen access control.	if(fullscreen==true || fullscreen=="true" || fullscreen==1 || fullscreen=="1" || fullscreen=="yes"){		fullscreen = "true";	}else{		fullscreen = "false";	}	var str = '';	str = '<object id="' + idname + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';	str += 'width="' + width + '" height="' + height + '">';	str += '<param name="movie" value="' + path + '" />';	str += '<!-- The following object tag is for browsers other than IE. Hide this tag with IECC, in case of IE. -->';	str += '<!--[if !IE]>-->';	str += '<object name="' + idname + '" type="application/x-shockwave-flash"';	str += ' data="' + path + '" width="' + width + '" height="' + height +'">';	str += '<!--<![endif]-->';	str += '<param name="FlashVars" value="' + flashvars + '" />';	str += '<param name="quality" value="high" />';	str += '<param name="allowFullscreen" value="' + fullscreen + '" />';	str += '<param name="wmode" value="' + wmode + '" />';	str += '<param name="allowScriptAccess" value="' + saccess + '" />';	str += '<param name="swfversion" value="10.0.2.54" />';	str += '<!--[if !IE]>-->';	str += '</object>';	str += '<!--<![endif]-->';	str += '</object>';	return str;}/** * Inserts a Flash object in the current position. * * @param path SWF Path of the Flash file. * @param width Width of the Flash object. * @param height Height of the Flash object. * @param flashvars FlalshVars parameter to be sent to the Flash object. * @param idname ID and name properties of the Flash object. * @param saccess Script access control. * @param wmode Tranparency setting. * @param fullscreen Fullscreen access control. */function insertFlashObject(path, width, height, flashvars, idname, saccess, wmode, fullscreen){	var str = getFlashObjectString(path, width, height, flashvars, idname, saccess, wmode, fullscreen);	document.write(str);}/** * Inserts a Flash object in the specified DIV layer. * * @param layerid ID of the layer in which the Flash object inserted. * @param path SWF Path of the Flash file. * @param width Width of the Flash object. * @param height Height of the Flash object. * @param flashvars FlalshVars parameter to be sent to the Flash object. * @param idname ID and name properties of the Flash object. * @param saccess Script access control. * @param wmode Tranparency setting. * @param fullscreen Fullscreen access control. */function insertFlashObjectLayer(layerid, path, width, height, flashvars, idname, saccess, wmode, fullscreen){	var str = getFlashObjectString(path, width, height, flashvars, idname, saccess, wmode, fullscreen);	var theLayer = document.getElementById(layerid);	theLayer.innerHTML = str;}/** * Inserts a Flash object after the specific time. * * @param delay Delayed time (Millisecond) * @param layerid ID of the layer in which the Flash object inserted. * @param path SWF Path of the Flash file. * @param width Width of the Flash object. * @param height Height of the Flash object. * @param flashvars FlalshVars parameter to be sent to the Flash object. * @param idname ID and name properties of the Flash object. * @param saccess Script access control. * @param wmode Tranparency setting. * @param fullscreen Fullscreen access control. */function insertFlashObjectDelay(delay, layerid, path, width, height, flashvars, idname, saccess, wmode, fullscreen){	var expression = "insertFlashObjectLayer(";	expression += "'" + layerid + "'";	expression += ", '" + path + "'";	expression += ", '" + width + "'";	expression += ", '" + height + "'";	expression += ", '" + flashvars + "'";	expression += ", '" + idname + "'";	expression += ", '" + saccess + "'";	expression += ", '" + wmode + "'";	expression += ", '" + fullscreen + "'";	expression += ");";	setTimeout(expression, delay);}
