document.domain = "joins.com";

function Top_menu(){
	//alert(ir);
document.writeln("<DIV style='position:absolute; visibility:show; left:232px; top:45px; z-index:2'>	")
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%'>")
document.writeln("<tr>")
document.writeln("	<td>")
document.writeln("		<table border='0' cellpadding='0' cellspacing='0' width='682'>")
document.writeln("		<tr>")
document.writeln("			<td align='right' style='border:0;'><img src='"+str_link+"/img/mu_top.gif' width='331' height='16' alt='' border='0' usemap='#util'></td>")
document.writeln("		</tr>")
document.writeln("		</table>")
document.writeln("	</td>")
document.writeln("</tr>")
document.writeln("<tr>")
document.writeln("	<td><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='100%' HEIGHT='78' id='#' ALIGN=''>")
document.writeln("<param name='allowScriptAccess' value='sameDomain' />")
document.writeln("<param name='movie' value='"+str_link+"/img/flash/navi.swf?depth01="+Depth_One+"&amp;depth02="+Depth_Two+"' />")
document.writeln("<param name='quality' value='high' />")
document.writeln("<param name='bgcolor' value='#ffffff' />")
document.writeln("</OBJECT></td>")
document.writeln("</tr>")
document.writeln("</table>")
document.writeln("</DIV>")
document.writeln("<map name='util'>")
document.writeln("<area alt='ÇÑÀü ½Ã°¢Àå¾ÖÀÎ¿ë »çÀÌÆ®·Î ÀÌµ¿ÇÕ´Ï´Ù' coords='53,1,99,15' href='http://www.kepco.co.kr/textmode/' target='_blank' id='f1'>")
document.writeln("<area alt='±â¾÷Áö¿ø' coords='101,0,145,15' href='"+str_link+"/customer/service/service.html' onfocus='blur()'>")
document.writeln("<area alt='ÇÑÀüÅ°Áî' coords='150,0,189,15' href='http://www.kepco.co.kr/kid/' target='_blank' onfocus='blur()'>")
document.writeln("<area alt='eng' coords='196,0,236,15' href='http://www.kepco.co.kr/eng/' onfocus='blur()' target='_blank'>")
document.writeln("<area alt='sitemap' coords='241,0,276,15' href='"+str_link+"/sitemap/sitemap.html' onfocus='blur()'>")
document.writeln("<area alt='contactus' coords='281,0,331,15' href='"+str_link+"/sitemap/contactus.html' onfocus='blur()'>")
document.writeln("<area alt='ÇÑÀü »çÀÌ¹öÁöÁ¡' coords='0,1,49,15' href='http://www.kepco.co.kr/cyber/' target='_blank' onfocus='blur()'>")
document.writeln("</map>")
}

function Left_menu(){	
if (Depth_One==0){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi0.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==1){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi1.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==2){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi2.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==3){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi3.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==4){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi4.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==5){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi4.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
}
	
function Left_menu2(){	
if (Depth_One==0){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi0.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==1){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi1.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==2){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi2.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==3){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi3_test.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==4){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi4.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
if (Depth_One==5){
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='188' height='100%' id='left_navi0' align='middle'>")
document.writeln("<param name=allowScriptAccess value=sameDomain>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/left_navi4.swf?depth02="+Depth_Two+"&amp;depth03="+Depth_Three+"&amp;depth04="+Depth_Four+"' />")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<embed src='/img/flash/left_navi0.swf' quality='high' bgcolor='#ffffff' width='188' height='100%' name='left_navi0' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.writeln("</OBJECT>")
}
}
