var str_link='http://www.kepco.co.kr';
//var str_link='http://203.243.237.12';

home =str_link+"/default.html";

about =str_link+"/about/about.html"; //È¸»ç¼Ò°³
	intro =str_link+"/about/intro/vision.html"; //ÇÑÀü¼Ò°³
	ceo =str_link+"/about/ceo/brief.html";	//CEO
	manage =str_link+"/about/manage/fs.html";	//°æ¿µÁ¤º¸
	ir =str_link+"/about/ir/ir_news.html";	//IR Á¤º¸
	recruit =str_link+"/about/recruit/recruit_talent.html";	//Ã¤¿ëÁ¤º¸
	kepco_story =str_link+"/about/kepco_story/kepco_story.html";	//KEPCO Story

kepco_open =str_link+"/kepco_open/kepco_open.html"; //¿­¸°ÇÑÀü
	innovation =str_link+"/kepco_open/innovation/inno_main.html"; //°æ¿µÇõ½Å 
	social =str_link+"/kepco_open/social/social_main.html"; //»çÈ¸°øÇå 
	ethics =str_link+"/kepco_open/ethics/ethics_main.html"; //À±¸®°æ¿µ 
	clean =str_link+"/kepco_open/clean/clean.html"; //½Å¹®°í 
	info_open =str_link+"/kepco_open/info_open/info_intro01.html"; //Á¤º¸°ø°³
	environment ="http://cyber.kepco.co.kr/kepco/kepco_open/environment/environment_main.jsp"; //È¯°æ°æ¿µ

customer =str_link+"/customer/customer.html"; //°í°´¼­ºñ½º
	charter =str_link+"/customer/charter/charter01.html"; //Àü·Â¼­ºñ½º ÇåÀå
	branch =str_link+"/customer/branch/branch.html"; //»çÀÌ¹ö ÁöÁ¡
	//counsel ="http://cyber.kepco.co.kr/csagent/service/customer/counsel/qna_main_list.jsp"; //°í°´ »ó´ã½Ç
	counsel ="http://www.kepco.co.kr/customer/qna_main.html"; //°í°´ »ó´ã½Ç
	service =str_link+"/customer/service/service.html";  //±â¾÷Áö¿ø¼­ºñ½º
	comm =str_link+"/customer/comm/comm.html"; //Ä¿¹Â´ÏÆ¼ ¼­ºñ½º
	electric_info ="http://cyber.kepco.co.kr/kepco/customer/electric_info/statistical_data.jsp"; //Àü·ÂÁ¤º¸
	staff_place =str_link+"/customer/staff_place/branch_search.html"; //Á÷¿ø/ÁöÁ¡ °Ë»ö

pr =str_link+"/pr/pr.html"; //»çÀÌ¹öÈ«º¸½Ç
	notice =str_link+"/pr/notice/notice_list.html"; //°øÁö»çÇ×
	news ="http://cyber.kepco.co.kr/kepco/pr/news/kepco_news_list.jsp";//´º½º¼¾ÅÍ
	ad ="http://cyber.kepco.co.kr/kepco/pr/ad/cf_list1.jsp";//±¤°í¼¾ÅÍ
	webzine=str_link+"/pr/webzine/monthly.html"; //À¥Áø
	museum =str_link+"/pr/museum/museum.html";//Àü±â¹Ú¹°°ü
	mecenat =str_link+"/pr/mecenat/plaza.html";//±â¾÷¸Þ¼¼³ª

//Äü¸Þ´º¸µÅ©
//quick_1 =str_link+"/customer/branch/branch.html";
//quick_2 =str_link+"/kepco_open/clean/clean.html";
//function quick3() {
//		window.open('http://www.kepco.co.kr/clean/' , 'intro' , 'fullscreen=0,location=1,menubar=1,scrollbars=1,status=1,toolbar=1');
//	}
quick_41 ="http://cyber.kepco.co.kr/kepco/customer/electric_info/statistical_data.jsp";
quick_42 ="http://www.kepco.co.kr/customer/electric_info/safety01_01.html";
quick_43 ="http://www.kepco.co.kr/customer/electric_info/substation_process.html";
quick_44 ="http://cyber.kepco.co.kr/kepco/customer/electric_info/xray_qna.jsp";
quick_45 ="http://www.kepco.co.kr/customer/electric_info/kedo01.html";
quick_46 ="http://www.kepco.co.kr/customer/electric_info/saving.html";
quick_47 ="http://www.kepco.co.kr/customer/electric_info/relate_site01.html";
quick_48 ="http://www.kepco.co.kr/customer/staff_place/branch_search.html";

function writeFlash(width,height,url)
{
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0'  width = "+width+" height = "+height+">");
	document.write("<PARAM NAME=movie VALUE='"+url+"'>"); 
	document.write("<PARAM NAME=quality VALUE=high>");
	document.write("<PARAM NAME=bgcolor VALUE=#FFFFFF>");
	document.write("<PARAM NAME=wmode VALUE=transparent>");
	document.write("<EMBED src='"+url+"' quality=high bgcolor=#FFFFFF wmode=transparent width = "+width+" height = "+height+"  TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED>");
	document.write("</OBJECT>");
}

function writeFlash2(width,height,url)
{
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0'  width = "+width+" height = "+height+">");
	document.write("<PARAM NAME=movie VALUE='"+url+"'>"); 
	document.write("<PARAM NAME=quality VALUE=high>");
	document.write("<PARAM NAME=bgcolor VALUE=#FFFFFF>");
	document.write("<PARAM NAME=wmode VALUE=transparent>");
	document.write("<EMBED src='"+url+"' quality=high bgcolor=#FFFFFF wmode=transparent width = "+width+" height = "+height+"  TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED>");
	document.write("</OBJECT>");
}


function cf_Flash(width,height,url, resultNum)
{
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0'  width = "+width+" height = "+height+">");
	document.write("<PARAM NAME=movie VALUE='"+url+"'>"); 
	document.write("<PARAM NAME=quality VALUE=high>");
	 document.writeln("<param name='flashvars' value='resultNum="+resultNum+"'>")
	document.write("<PARAM NAME=bgcolor VALUE=#FFFFFF>");
	document.write("<PARAM NAME=wmode VALUE=transparent>");
	document.write("<EMBED src='"+url+"' quality=high bgcolor=#FFFFFF wmode=transparent width = "+width+" height = "+height+"  TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED>");
	document.write("</OBJECT>");
}
function writeMovie(width,height,url)
{
	document.write("<object id='TVplayer' 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...' width='"+width+"' height='"+height+"' type='application/x-oleobject ' align='center'>");
	document.write("<param name='animationatstart' value='0'>");
	document.write("<param NAME='autostart' value='1'>");
	document.write("<param NAME='AutoSize' value='1'>");
	document.write("<param NAME='EnableContextMenu' Value='0'>");
	document.write("<param NAME='playCount' value='-1'>");
	document.write("<param NAME='ShowStatusBar' VALUE='1'>");
	document.write("<param NAME='ShowControls' VALUE='0'>");
	document.write("<param NAME='ClickToPlay' VALUE='0'>");
	document.write("<param NAME='TransparentAtStart' VALUE='0'>");
	document.write("<param name='DisplaySize' value='0'>");
	document.write("<param name='Filename' value='"+url+"");
	document.write("</object>");
}

function writeHtml(v_html){
	document.write(v_html);
}

function goUrl(name, mode) {
	if (eval(name) == '') {
		alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
		return;	
	} else {
		if (!mode) {
    		document.location.href = eval(name);
		}
	}	
}	


// Menu
function GoMenu(name, mode) {
  if (eval(name) == '' || name == null) {
		alert("Content comming soon.");
		return;
	} else {
    if (!mode) {
    		document.location.href = eval(name);
    } else {
			var values = mode.split('|');
			if(values.length == 2) {
				window.open(eval(name), '', 'width='+eval(values[0])+',height='+eval(values[1]));
			} else if(values.length > 2) {
				window.open(eval(name), '', 'width='+eval(values[0])+',height='+eval(values[1])+","+values[2]);
			} else {
    		window.open(eval(name), '');
			}
  	}
	}
}
function mother() {
document.writeln("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'")	
document.writeln(" codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'")	
document.writeln(" WIDTH='234' HEIGHT='428' id='#' ALIGN=''>")	
document.writeln(" <PARAM NAME=movie VALUE='images/mother.swf'> ")	
document.writeln(" <PARAM NAME=quality VALUE=high> ")	
document.writeln(" <PARAM NAME=bgcolor VALUE=#FFFFFF>")	
document.writeln(" <PARAM NAME=wmode VALUE=transparent>")	
document.writeln("</OBJECT>")	
}

function Top(){
document.writeln("<a name='top'></a>")	
document.writeln("<script language='JavaScript'>Top_menu();</script>")	
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%'>")
document.writeln("<tr>")
document.writeln("	<td valign='bottom' width='44' background='"+str_link+"/img/img_left.jpg'><img src='"+str_link+"/img/img_left_b.gif' width='44' height='22' alt='' border='0'></td>")
document.writeln("	<td valign='top' bgcolor='#FFFFFF' width='100%'>")
document.writeln("		<table border='0' cellpadding='0' cellspacing='0' width='100%'>")
document.writeln("		<tr>")
document.writeln("			<td class='bg' colspan='2'><img src='"+str_link+"/img/img_top.jpg' width='934' height='45' alt='' border='0'></td>")
document.writeln("		</tr>")
document.writeln("		<tr>")
document.writeln("			<td width='190' valign='top'>")
document.writeln("				<table border='0' cellpadding='0' cellspacing='0' width='190'>")
document.writeln("				<tr>")
document.writeln("					<td><img src='"+str_link+"/img/round_t.gif' width='20' height='20' alt='' border='0'></td>")
document.writeln("				</tr>")
document.writeln("				<tr>")
document.writeln("					<td height='66' align='center'><a href=javascript:goUrl('home')><img src='"+str_link+"/img/logo.gif' width='145' height='25' alt='' border='0'></a></td>")
document.writeln("				</tr>")
document.writeln("				</table>")
document.writeln("			</td>")
document.writeln("			<td height='93'></td>")
document.writeln("		</tr>")
document.writeln("		</table>")
document.writeln("		<table border='0' cellpadding='0' cellspacing='0' width='856' height='400'>")
document.writeln("		<tr>")
document.writeln("			<td width='190' valign='top'>")
document.writeln("				<!--Left S.-->")				
document.writeln("				<script language='JavaScript'>Left_menu();</script>")		
document.writeln("				<!--Left E.-->")	
document.writeln("			</td>")
document.writeln("			<td width='666'  valign='top'>")
document.writeln("			<!-- Body S.-->")
}
function Top2(){
document.writeln("<a name='top'></a>")	
document.writeln("<script language='JavaScript'>Top_menu();</script>")	
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%'>")
document.writeln("<tr>")
document.writeln("	<td valign='bottom' width='44' background='"+str_link+"/img/img_left.jpg'><img src='"+str_link+"/img/img_left_b.gif' width='44' height='22' alt='' border='0'></td>")
document.writeln("	<td valign='top' bgcolor='#FFFFFF' width='100%'>")
document.writeln("		<table border='0' cellpadding='0' cellspacing='0' width='100%'>")
document.writeln("		<tr>")
document.writeln("			<td class='bg' colspan='2'><img src='"+str_link+"/img/img_top.jpg' width='934' height='45' alt='' border='0'></td>")
document.writeln("		</tr>")
document.writeln("		<tr>")
document.writeln("			<td width='190' valign='top'>")
document.writeln("				<table border='0' cellpadding='0' cellspacing='0' width='190'>")
document.writeln("				<tr>")
document.writeln("					<td><img src='"+str_link+"/img/round_t.gif' width='20' height='20' alt='' border='0'></td>")
document.writeln("				</tr>")
document.writeln("				<tr>")
document.writeln("					<td height='66' align='center'><a href=javascript:goUrl('home')><img src='"+str_link+"/img/logo.gif' width='145' height='25' alt='' border='0'></a></td>")
document.writeln("				</tr>")
document.writeln("				</table>")
document.writeln("			</td>")
document.writeln("			<td height='93'></td>")
document.writeln("		</tr>")
document.writeln("		</table>")
document.writeln("		<table border='0' cellpadding='0' cellspacing='0' width='856' height='400'>")
document.writeln("		<tr>")
document.writeln("			<td width='190' valign='top'>")
document.writeln("				<!--Left S.-->")				
document.writeln("				<script language='JavaScript'>Left_menu2();</script>")		
document.writeln("				<!--Left E.-->")	
document.writeln("			</td>")
document.writeln("			<td width='666'  valign='top'>")
document.writeln("			<!-- Body S.-->")
}
function space(){
document.writeln("<tr><td height='60'></td></tr>")
}

function section_icon_pr(){
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%' >")
document.writeln("<tr>")
document.writeln("<td><img src='"+str_link+"/img/blank.gif' alt='' border='0' width='1' height='59'></td>")
document.writeln("</tr>")
document.writeln("</table>")
}

function section_icon_about(){
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%' >")
document.writeln("<tr>")
document.writeln("<td><img src='"+str_link+"/img/blank.gif' alt='' border='0' width='1' height='59'></td>")
document.writeln("</tr>")
document.writeln("</table>")
}

function section_icon_customer(){
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%' >")
document.writeln("<tr>")
document.writeln("<td><img src='"+str_link+"/img/blank.gif' alt='' border='0' width='1' height='59'></td>")
document.writeln("</tr>")
document.writeln("</table>")
}

function section_icon_open(){
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%' >")
document.writeln("<tr>")
document.writeln("<td><img src='"+str_link+"/img/blank.gif' alt='' border='0' width='1' height='59'></td>")
document.writeln("</tr>")
document.writeln("</table>")
}

function Footer(){
document.writeln("<DIV style='position:relative; visibility:show; left:0px; top:-59px; z-index:1;'>")
document.writeln("<a href='#top'><img src='"+str_link+"/img/top.gif' width='14' height='11' alt='' border='0' style='position:absolute; visibility:show; left:900px; top:0px;'></a><img src='"+str_link+"/img/blank.gif' width='10' height='48' alt='' border='0' style='position:absolute; visibility:show; left:892px; top:11px;'>")
document.writeln("</DIV>")
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%'>")
document.writeln("<tr>")
document.writeln("	<td width='44'><img src='"+str_link+"/img/spacer.gif' width='41' height='1' alt='' border='0'></td>")
document.writeln("	<td width='100%' background='"+str_link+"/img/bg_footer.gif'><table border='0' cellpadding='0' cellspacing='0' width='860'><tr><td><img src='"+str_link+"/img/copyright_2007_10_21.gif' height='48' alt='' border='0' usemap='#map_copy'><map name='map_copy'><area name='1' shape='rect' coords='469,10,537,25' href='"+str_link+"/sitemap/private00.html'><area shape='rect' name='2' coords='469,25,537,38' href=\"javascript:winopen('http://cyber.kepco.co.kr/kepco/common/p_popup.jsp','width=445,height=450')\"></map><img src='"+str_link+"/img/footer_banner070927.gif' alt='' border='0' usemap='#map_copy2'><map name='map_copy2'><area shape='rect' coords='33,8,70,44'  href=\"javascript:winopen('http://www.kepco.co.kr/popup/push_070706.html','width=402,height=570')\"><area shape='rect' coords='74,8,112,43'  href=\"javascript:winopen('http://www.kepco.co.kr//popup/push_070706_2.html','width=402,height=570')\"><area shape='rect' coords='129,7,183,41' href=\"javascript:winopen('http://cyber.kepco.co.kr/cyber/01_personal/01_payment/payment_calculate/payment_calculate.jsp','width=1280,height=1024')\"><area shape='rect' coords='192,5,247,43' href=\"javascript:winopen('http://www.kepco.co.kr/popup/push_050927.html','width=445,height=450')\"><area shape='rect' coords='252,5,315,43' href=\"javascript:winopen('http://www.4energy.co.kr','width=1280,height=1024')\"></map></td><td align='right' valign='top'></td></tr></table></td>")
//document.writeln("	<td width='100%' background='"+str_link+"/img/bg_footer.gif'><table border='0' cellpadding='0' cellspacing='0' width='860'><tr><td><img src='"+str_link+"/img/copyright_2007_07_05.gif' width='538' height='48' alt='' border='0' usemap='#map_copy'><map name='map_copy'><area name='1' shape='rect' coords='469,10,537,25' href='"+str_link+"/sitemap/private00.html'><area shape='rect' name='2' coords='469,25,537,38' href=\"javascript:winopen('http://cyber.kepco.co.kr/kepco/common/p_popup.jsp','width=445,height=450')\"></map></td><td align='right' valign='top'></td></tr></table></td>")
document.writeln("</tr>")
document.writeln("</table>")
}

function Footer2(){
document.writeln("<DIV style='position:relative; visibility:show; left:0px; top:-59px; z-index:1;'>")
document.writeln("<a href='#top'><img src='"+str_link+"/img/top.gif' width='14' height='11' alt='' border='0' style='position:absolute; visibility:show; left:900px; top:0px;'></a><img src='"+str_link+"/img/blank.gif' width='10' height='48' alt='' border='0' style='position:absolute; visibility:show; left:892px; top:11px;'>")
document.writeln("</DIV>")
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%'>")
document.writeln("<tr>")
document.writeln("	<td width='44'><img src='"+str_link+"/img/spacer.gif' width='41' height='1' alt='' border='0'></td>")
document.writeln("	<td width='100%' background='"+str_link+"/img/bg_footer.gif'><table border='0' cellpadding='0' cellspacing='0' width='860'><tr><td><img src='"+str_link+"/img/copyright_2007_07_05.gif' width='538' height='48' alt='' border='0' usemap='#map_copy'><map name='map_copy'><area name='1' shape='rect' coords='469,10,537,25' href='"+str_link+"/sitemap/private00.html'><area shape='rect' name='2' coords='469,25,537,38' href=\"javascript:winopen('http://cyber.kepco.co.kr/kepco/common/p_popup.jsp','width=445,height=450')\"></map><img src='"+str_link+"/img/footer_banner070927.gif'  alt='' border='0' usemap='#map_copy2'><map name='map_copy2'><area shape='rect' coords='3,7,37,40'  href=\"javascript:winopen('http://www.kepco.co.kr/popup/push_070706.html','width=402,height=570')\"><area shape='rect' coords='40,7,74,40'  href=\"javascript:winopen('http://www.kepco.co.kr//popup/push_070706_2.html','width=402,height=570')\"><area shape='rect' coords='91,3,138,42' href=\"javascript:winopen('http://cyber.kepco.co.kr/cyber/01_personal/01_payment/payment_calculate/payment_calculate.jsp','width=1280,height=1024')\"><area shape='rect' coords='149,5,196,41' href=\"javascript:winopen('http://www.kepco.co.kr/popup/push_050927.html','width=445,height=450')\"><area shape='rect' coords='203,4,256,42' href=\"javascript:winopen('http://www.4energy.co.kr','width=1280,height=1024')\"><area shape='rect' coords='265,4,316,41' href=\"javascript:winopen('http://www.energybaro.com/san/main.jsp','width=1280,height=1024')\"></map></td><td align='right' valign='top'></td></tr></table></td>")
document.writeln("</tr>")
document.writeln("</table>")
}


//Äü¸Þ´º
var mover = null
var object = "qmenu"
var v_scrollHeight = "";


function check() {
		if(""==v_scrollHeight) {
			v_scrollHeight = document.body.scrollHeight;
		}
//		document.test.test2.value=(v_scrollHeight < (document.body.scrollTop+375+190))+","+document.body.scrollHeight+","+v_scrollHeight+","+(v_scrollHeight-375+190)+","+document.body.height;
		if (navigator.appName.indexOf("Netscape") != -1) {
				var mover = "document.qmenu.top = window.pageYOffset"
		}
		else {
				var mover = "qmenu.style.pixelTop = document.body.scrollTop+293";
				if(v_scrollHeight < (document.body.scrollTop+375+285)) {
					mover = "qmenu.style.pixelTop = "+(v_scrollHeight-(375));
				}else {
					mover = "qmenu.style.pixelTop = document.body.scrollTop+293";
				}
		}

        object = "qmenu"
        eval(mover)
        setTimeout("check()", 100)		
        setTimeout("check_kevy()", 100)
}

function check_kevy() {
		if(""==v_scrollHeight) {
			v_scrollHeight = document.body.scrollHeight;
		}
//		document.test.test2.value=(v_scrollHeight < (document.body.scrollTop+375+190))+","+document.body.scrollHeight+","+v_scrollHeight+","+(v_scrollHeight-375+190)+","+document.body.height;
		if (navigator.appName.indexOf("Netscape") != -1) {
				var mover = "document.qmenu_kevy.top = window.pageYOffset"
		}
		else {
				var mover = "qmenu_kevy.style.pixelTop = document.body.scrollTop+198";
				if(v_scrollHeight < (document.body.scrollTop+375+190)) {
					mover = "qmenu_kevy.style.pixelTop = "+(v_scrollHeight-(375));
				}else {
					mover = "qmenu_kevy.style.pixelTop = document.body.scrollTop+198";
				}
		}

        object = "qmenu_kevy"
        eval(mover)
}
function Quick_menu(){	
document.writeln("	<!-- Body E.-->	")
document.writeln("			</td>")
document.writeln("			<td width='1' background='"+str_link+"/img/dot_v.gif' valign='top'><img src='"+str_link+"/img/blank.gif' width='1' height='40' alt='' border='0'>")
document.writeln("		</tr>")
document.writeln("		</table>")
document.writeln("	</td>")
document.writeln("</tr>")
document.writeln("</table>")
document.writeln("<DIV id='qmenu_kevy' style='position:absolute; visibility:show; left:896px; top:198px; z-index:2'>")	
document.writeln("<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='103' HEIGHT='91' id='#' ALIGN=''>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/kevy.swf'>")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<PARAM NAME=wmode VALUE=transparent> ")
document.writeln("</OBJECT>")
document.writeln("</DIV>")
document.writeln("<DIV id='qmenu' style='position:absolute; visibility:show; left:896px; top:293px; z-index:2'>")	
document.writeln("<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='103' HEIGHT='375' id='#' ALIGN=''>")
document.writeln("<PARAM NAME=movie value='"+str_link+"/img/flash/quick.swf'>")
document.writeln("<PARAM NAME=quality VALUE=high>")
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>")
document.writeln("<PARAM NAME=wmode VALUE=transparent> ")
document.writeln("</OBJECT>")
document.writeln("</DIV>")
}



//Popup 		
function popup(Fn,Win, X, Y, Scroll){
l = (screen.width) ?	(screen.width- X) / 2	: 0;
t = (screen.height) ?	(screen.height- Y) / 2 : 0;	
	NewWindow=window.open(Fn,Win,'width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars='+Scroll+',toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

// ½ºÅ©·ÑÀÌ ¾ø´Â popupÀ» À§ÇÑ ÇÔ¼ö
function winopen(theUrl,winSize){
  window.open(theUrl,"",winSize + "status=no, resizable=no, scrollbars=no");
}

// ½ºÅ©·ÑÀÌ ÀÖ´Â popupÀ» À§ÇÑ ÇÔ¼ö
function sc_winopen(theUrl,winSize){
  window.open(theUrl,"",winSize + ",height=500, status=no, resizable=no, scrollbars=yes");
}
// ½ºÅ©·ÑÀÌ ÀÖ´Â popupÀ» À§ÇÑ ÇÔ¼ö
function sc_winopen2(theUrl,winSize){
  window.open(theUrl,"", "width=660,height=500, status=no, resizable=no, scrollbars=yes");
}

function Open_TV(theURL) {
  var height = screen.height; //Ç×»óÈ­¸éÁß¾Ó¿¡ ÆË¾÷Ã¢ ¶ç¿ì±â
  var width = screen.width; 
  var leftpos = width / 2 - 300; //300=Ã¢ÀÇ ³ÐÀÌÀÇ ¹Ý
  var toppos = height / 2 - 225; //225=Ã¢ÀÇ ³ôÀÌÀÇ ¹Ý
  pop_info = window.open(theURL,'TV','width=390,height=550,left='+leftpos+',top='+toppos+'');
  pop_info.focus();
}

//select form
function move_site(frm) {
    var myindex=frm.selectedIndex
    if (frm.options[myindex].value != null) {
				 document.location.href(frm.options[myindex].value);
    }
}

//ÇÑÀüÀ¥Áø ÀÌºÏÁ¤º¸ºÒ·¯¿À±â
function Open_Webzine(theURL) {

	if(parseInt(theURL) < 195){
		OpenEBook.OpenBook(theURL,'ebook');
		 //alert('ÇöÀç e-book¼­¹ö ±ä±Þ Á¡°ËÁßÀÔ´Ï´Ù.\nºü¸¥ ½ÃÀÏ³»¿¡ ¼­ºñ½º¸¦ Àç°³Åä·Ï ÃÖ¼±À» ´ÙÇÏ°Ú½À´Ï´Ù.');
	}
	else
		if (parseInt(theURL) < 200000){
		OpenEBook.OpenBook(theURL);
	}else{
	  pop_info = window.open('http://davadb1.kepco.co.kr/news/webzine/'+theURL+'/webzine.html','webzine','navigation toolbar=yes,location=yes,status bar=yes,scrollbars=yes,resizable=yes,width=800,height=600,left=0,top=0');
	  pop_info.focus();
	}
}

//¿ù°£ÇÑÀü
function monthly(){
 // alert('ÇöÀç e-book¼­¹ö ±ä±Þ Á¡°ËÁßÀÔ´Ï´Ù.\nºü¸¥ ½ÃÀÏ³»¿¡ ¼­ºñ½º¸¦ Àç°³Åä·Ï ÃÖ¼±À» ´ÙÇÏ°Ú½À´Ï´Ù.');
  OpenEBook.OpenBook(777);
}
//Àü·Â¹®È­
function culture(){
	Open_Select('http://www.kepco.co.kr/pr/down/culture/2008_1112/webbook.html');
}

//¶óÀÌÇÁ¸Þ°ÅÁø
function magazine(){
	win_life();
}

//¾ÈÀüÁ¤º¸Áö
function safe(){

	Open_Cyber('http://www.kepco.co.kr/ele_safe/cyber_ele/2008_11/init.htm');
}

//±¹Á¤ ºê¸®ÇÎ ¼Óº¸
function open_brief(){
/*
	 window.open('http://news.go.kr/warp/webapp/news/list?category_id=p_mini_news', '', 'scrollbars=yes,resizable=yes,toolbar=yes,menubar=yes,location=no,top=0,left=0');
	if ( notice_getCookie( "pop_0520" ) != "done" ) 
	{
		  window.open('/brief/popup_0520.html', '', 'scrollbars=no,resizable=no,toolbar=no,menubar=no,location=no,width=341,height=490,top=0,left=0');
	}	 
*/
	window.open("http://korea.kr/newsWeb/appmanager/portal/news");
}

//¹Ú¹°°ü
function Gomuseum() {
		window.open('/img/flash/museum/main.html' , 'intro' , 'width=760,height=400,left=200,top=200,fullscreen=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0');
	}

//765kv¼Ûº¯Àü¼³ºñÀü½Ã°ü
function Go765kv() {
		window.open('http://www.kepco.co.kr/765k/' , '765kv' , '');
}

//Ä¸ÄÚ½ºÅä¸®
function Gokepcostory() {
		window.open('/img/flash/kepco_story/2007_03/movie.htm' , 'intro' , 'width=700,height=437,left=200,top=100,fullscreen=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0');
}
function Gokepcostory_2007_03() {
		window.open('/img/flash/kepco_story/2006_05/movie.htm' , 'intro' , 'width=640,height=517,left=200,top=100,fullscreen=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0');
}
function Gokepcostory_2006_05() {
		window.open('/img/flash/kepco_story/main.html' , 'intro' , 'width=700,height=400,left=200,top=200,fullscreen=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0');
}

function pop_20060513() {
		read.src="http://cyber.kepco.co.kr/kepco/pr/notice/notice_read.jsp?sn=75";
		window.open('http://cis.kepco.co.kr/csagent/cyber_spot_new/jubu/jubu_lot_search.html' , 'intro' , 'width=550,height=380,left=200,top=200,fullscreen=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0');
}



//µ¿¿µ»ó±¤°í
function Open_Movie(theURL) {
  var height = screen.height;
  var width = screen.width; 
  var leftpos = width / 2 - 175;
  var toppos = height / 2 - 200;
  pop_info = window.open('/pr/down/cf/d4_03_pop_'+theURL+'.html','TV','width=390,height=450,left='+leftpos+',top='+toppos+'');
  pop_info.focus();
}


//2004-06-25 ÇÕ¸®ÀûÀÎ ¿¡³ÊÁö¼Òºñ
function public_wisdom(){
	 window.open('http://www.kemco.or.kr/e-saving/event/event_01.asp?left_menu_num=07&line_map=01&b_eventcode=event1', 'aaa');
}

//2005-03-15 ³×Æ¼ÁðÅä·ÐÈ¸
function banner_net(){
	 window.open('http://event.media.daum.net/mocie/500.html', 'ddd', 'scrollbars=no,resizable=no,toolbar=no,menubar=no,location=no,width=330,height=335,top=0,left=0');
}

// ÁöÁ¡°Ë»ö ÆË¾÷Ã¢
function openMap()
{
	SimpleCenterWindowScroll('http://cyber.kepco.co.kr/cyber/03_common/06_findBranch/find_branch.jsp', '_map', 770, 700, 0);
}

function SimpleCenterWindow(url,name,width,height,top,left)
{
	if (top == null ) top		= (screen.height - height) / 2;
	if (left == null) left	= (screen.width - width) / 2;

	var centerWindow = window.open(url, name, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+width+',height='+height+',top='+top+',left='+left);

centerWindow.focus();
}
function SimpleCenterWindowScroll(url,name,width,height,top,left)
{
	if (top == null ) top		= (screen.height - height) / 2;
	if (left == null) left	= (screen.width - width) / 2;

	var centerWindow = window.open(url, name, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width='+width+',height='+height+',top='+top+',left='+left);

centerWindow.focus();
}
function pop_20060622(){
	SimpleCenterWindow('http://www.kepco.co.kr/popup/20060622_main.htm', '20060622_main', 550,490,0,0);
}
//width=1016,height=710
function Open_Cyber(theURL) {
  //pop_info = window.open(theURL,'Cyber','navigation toolbar=yes,location=yes,status bar=yes,scrollbars=yes,resizable=yes,width=1016,height=710,left=0,top=0');
  //pop_info = window.open(theURL,'Cyber','navigation toolbar=yes,location=yes,status bar=yes,scrollbars=no,resizable=no,width=752,height=660,left=0,top=0');
  pop_info = window.open(theURL,'Cyber','');
  pop_info.focus();
}



function Top_TEST(){
document.writeln("<a name='top'></a>")	
document.writeln("<script language='JavaScript'>Top_menu_TEST();</script>")	
document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%'>")
document.writeln("<tr>")
document.writeln("	<td valign='bottom' width='44' background='"+str_link+"/img/img_left.jpg'><img src='"+str_link+"/img/img_left_b.gif' width='44' height='22' alt='' border='0'></td>")
document.writeln("	<td valign='top' bgcolor='#FFFFFF' width='100%'>")
document.writeln("		<table border='0' cellpadding='0' cellspacing='0' width='100%'>")
document.writeln("		<tr>")
document.writeln("			<td class='bg' colspan='2'><img src='"+str_link+"/img/img_top.jpg' width='934' height='45' alt='' border='0'></td>")
document.writeln("		</tr>")
document.writeln("		<tr>")
document.writeln("			<td width='190' valign='top'>")
document.writeln("				<table border='0' cellpadding='0' cellspacing='0' width='190'>")
document.writeln("				<tr>")
document.writeln("					<td><img src='"+str_link+"/img/round_t.gif' width='20' height='20' alt='' border='0'></td>")
document.writeln("				</tr>")
document.writeln("				<tr>")
document.writeln("					<td height='66' align='center'><a href=javascript:goUrl('home')><img src='"+str_link+"/img/logo.gif' width='145' height='25' alt='' border='0'></a></td>")
document.writeln("				</tr>")
document.writeln("				</table>")
document.writeln("			</td>")
document.writeln("			<td height='93'></td>")
document.writeln("		</tr>")
document.writeln("		</table>")
document.writeln("		<table border='0' cellpadding='0' cellspacing='0' width='856' height='400'>")
document.writeln("		<tr>")
document.writeln("			<td width='190' valign='top'>")
document.writeln("				<!--Left S.-->")				
document.writeln("				<script language='JavaScript'>Left_menu_TEST();</script>")		
document.writeln("				<!--Left E.-->")	
document.writeln("			</td>")
document.writeln("			<td width='666'  valign='top'>")
document.writeln("			<!-- Body S.-->")
}