//Menu RollOver 
function ImgPreLoad(imgTitle, imageNum) {
		imageNum++;
		rollOver = new Array(imageNum);
		rollOut = new Array(imageNum);
    //rollOver2 = new Array(imageNum);
		for (j = 1; j <= imageNum; j++) {
			if (j <= 10) {
				retmp = "0";
			} else {
				retmp ="";
			}
			rollOver[j] = new Image();
			rollOver[j].src = imgTitle + retmp + j + "_on.gif";
			rollOut[j] = new Image();
			rollOut[j].src = imgTitle + retmp + j + "_off.gif";
    //  rollOver2[j] = new Image();
		//	rollOver2[j].src = imgTitle + retmp + j + ".gif";
		}
	}
	function imgOver(Number) {
    if (rollOver[Number] != null) {
		//	if (Number != _MCurrentOn) {
				document["L"+Number].src = rollOver[Number].src;
		//	}
		}
	}
	function imgOut(Number) {
		if (rollOver[Number] != null) {
			if (Number != _MCurrentOn) {
				document["L"+Number].src = rollOut[Number].src;
			}
      else {  
      document["L"+Number].src = rollOver[Number].src;
      }
		}
	}

  	//SubMenu 
	function PreImgLoad(Title, imgNum) {
		imgNum++;
		rollOn = new Array(imgNum);
		rollOff = new Array(imgNum);
		for (i = 1; i <= imgNum; i++) {
			if (i < 10) {
				tmp = "0";
			} else {
				tmp ="";
			}
			rollOn[i] = new Image();
			rollOn[i].src = Title + tmp + i + "_on.gif";
			rollOff[i] = new Image();
			rollOff[i].src = Title + tmp + i + "_off.gif";
		}
	}

	function imgOn(Num) {  
		if (rollOn[Num] != null) {
			 document["S"+Num].src = rollOn[Num].src;
		}
	}

	function imgOff(Num) {
		if (rollOn[Num] != null) {
			if (Num != _SCurrentOn) {
				document["S"+Num].src = rollOff[Num].src;
      }
      else {
        document["S"+Num].src = rollOn[Num].src;
      }
		}
	}
//½ºÅ©·Ñ µÇ´Â ¿À¸¥ÂÊ¸Þ´º 
<!--
var     nAdCornerMarginX                = 18;
var     nAdCornerMarginY                = 4;
var     nScrollBarWidth         = 16;
var     nScrollBarHeight        = 16;
var     isMSIE                  = 0;
var     nVersion                = 3;
var     nInterval               = 100;
var     isLoaded                = 0;

function setup (){
        nVersion        = parseInt (navigator.appVersion);
        if (navigator.appName == "Microsoft Internet Explorer")
        {
                isMSIE  = 1;
                if (navigator.userAgent.indexOf ("MSIE 5") != -1)                {
                        nVersion = 5;
								}
        }
        else
        {
                isMSIE  = 0;
                if (nVersion >= 4)
                {
                        window.captureEvents (Event.MOUSEMOVE);
                        wCur= document.layers["idAdCorner"];   
                }
        }

        if (nVersion >= 4)
        {
                window.setInterval ("AdCornerMove();", nInterval);
        }
}

function        AdCornerMove()
{
        if (isLoaded == 0)
        {
                return;
        }
        if (isMSIE)
        {
                nAdCornerOriginX        = document.body.clientWidth - idAdCorner.width - nAdCornerMarginX;
                nAdCornerOriginY        = document.body.clientHeight - idAdCorner.height - nAdCornerMarginY;

                nAdCornerOriginX        += document.body.scrollLeft;
                nAdCornerOriginY        += document.body.scrollTop;

                idAdCorner.style.pixelLeft      = nAdCornerOriginX;
                idAdCorner.style.pixelTop       = nAdCornerOriginY;
        }
        else
        {
                nAdCornerOriginX        = window.innerWidth + window.pageXOffset - wCur.clip.width - nAdCornerMarginX;
                nAdCornerOriginY        = window.innerHeight + window.pageYOffset - wCur.clip.height - nAdCornerMarginY;

                if (window.scrollbars.visible == true)
                {
                        nAdCornerOriginX        -= nScrollBarWidth;
                        nAdCornerOriginY        -= nScrollBarHeight;
                }

                wCur.left     = nAdCornerOriginX;
                wCur.top     = nAdCornerOriginY;
        }
}
//-->


//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');
}

// Combo Box 
function go_link2(form) {
 var myindex=form.cmbSel.selectedIndex 
	  if (myindex != null) {
			document.location.href = form.cmbSel.options[myindex].value;
    } 
}
//»çÁøÆË¾÷
function photowin(url, winname, wi, hi)
{
  mini = window.open(url, winname, 'width='+wi+',height='+hi+',marginwidth=0, marginheight=0, menubar=no, scrollbars=no, resizable=no');
  mini.focus();
}


//¿À¸¥ÂÊ À¯Æ¿¸®Æ¼
function Utility() {	
	dynamic.src = "/inc/js/loginchk.asp";

}


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function Utility_in() {
	var innerHTML; 
        innerHTML = "<p style='margin:0;'><img src='/img/common/qmenu_01.gif' width='75' height='25' border=0></P>"+
                    "<p style='margin:0;'><a href='/front/pds/list_1.asp?noti_idx=25' onMouseOver=\"MM_swapImage('Image11','','/img/common/qmenu_02_on.gif',1);\" onMouseOut=\"MM_swapImgRestore();\"><img src='/img/common/qmenu_02_off.gif' name='Image11' width='75' height='47' border='0' id='Image11'></a></p>"+
                    "<p style='margin:0;'><a href='/front/pds/list_2.asp' onMouseOver=\"MM_swapImage('Image12','','/img/common/qmenu_03_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_03_off.gif' name='Image12' width='75' height='49' border='0' id='Image12'></a></P>"+
                    "<p style='margin:0;'><a href='/front/pds/price_info.asp' onMouseOver=\"MM_swapImage('Image13','','/img/common/qmenu_04_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_04_off.gif' name='Image13' width='75' height='48' border='0' id='Image13'></a></p>"+
                    "<p style='margin:0;'><a href='/front/pds/replenish.asp' onMouseOver=\"MM_swapImage('Image14','','/img/common/qmenu_05_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_05_off.gif' name='Image14' width='75' height='50' border='0' id='Image14'></a></p>"+
					"<p style='margin:0;'><a href='/front/lpgcar/about/lpgcar03.html' onMouseOver=\"MM_swapImage('Image15','','/img/common/qmenu_05-1_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_05-1_off.gif' name='Image15' width='75' height='50' border='0' id='Image15'></a></p>"+
                    "<p style='margin:0;'><a href='/front/member/agree.html' onMouseOver=\"MM_swapImage('Image16','','/img/common/qmenu_06_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_06_off.gif' name='Image16' width='75' height='59' border='0' id='Image16'></a></p>";
    

	document.all.leftMenuL.style.top  = 77;
	document.all.leftMenuL.style.left = 852;	
	document.all.leftMenuL.innerHTML = innerHTML;

	initialize();
/*
document.writeln("<div style='position:absolute;top:77;left:852;visibility:visible'>");
document.writeln("<img src='/img/common/utility.gif' width='100' height='506' alt='' border='0' usemap='#util'>");
document.writeln("<map name='util'>");
document.writeln("<area alt='' coords='4,15,78,29' href=javascript:GoUrl('home')>");
document.writeln("<area alt='' coords='3,30,77,44' href=javascript:GoUrl('eng')>");
document.writeln("<area alt='' coords='4,45,78,59' href=javascript:GoUrl('login')>");
document.writeln("<area alt='' coords='3,60,78,72' href=javascript:GoUrl('sitemap')>");
document.writeln("<area alt='' coords='4,74,79,87' href=javascript:GoUrl('contact')>");
document.writeln("<area alt='' coords='4,89,79,102' href=javascript:GoUrl('intranet')>");
document.writeln("</map>");
document.writeln("</div>");
*/
}

function Utility_out() {
	var innerHTML; 
        innerHTML = "<p style='margin:0;'><img src='/img/common/qmenu_01.gif' width='75' height='25' border=0></P>"+
                    "<p style='margin:0;'><a href='/front/pds/list_1.asp?noti_idx=25' onMouseOver=\"MM_swapImage('Image11','','/img/common/qmenu_02_on.gif',1);\" onMouseOut=\"MM_swapImgRestore();\"><img src='/img/common/qmenu_02_off.gif' name='Image11' width='75' height='47' border='0' id='Image11'></a></p>"+
                    "<p style='margin:0;'><a href='/front/pds/list_2.asp' onMouseOver=\"MM_swapImage('Image12','','/img/common/qmenu_03_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_03_off.gif' name='Image12' width='75' height='49' border='0' id='Image12'></a></P>"+
                    "<p style='margin:0;'><a href='/front/pds/price_info.asp' onMouseOver=\"MM_swapImage('Image13','','/img/common/qmenu_04_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_04_off.gif' name='Image13' width='75' height='48' border='0' id='Image13'></a></p>"+
                    "<p style='margin:0;'><a href='/front/pds/replenish.asp' onMouseOver=\"MM_swapImage('Image14','','/img/common/qmenu_05_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_05_off.gif' name='Image14' width='75' height='50' border='0' id='Image14'></a></p>"+
                    "<p style='margin:0;'><a href='/front/lpgcar/about/lpgcar03.html' onMouseOver=\"MM_swapImage('Image15','','/img/common/qmenu_05-1_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_05-1_off.gif' name='Image15' width='75' height='50' border='0' id='Image15'></a></p>"+
					"<p style='margin:0;'><a href='/front/member/mem_info_edit.asp' onMouseOver=\"MM_swapImage('Image16','','/img/common/qmenu_06_log_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/img/common/qmenu_06_log_off.gif' name='Image16' width='75' height='59' border='0' id='Image16'></a></p>";
    
	document.all.leftMenuL.style.top  = 77;
	document.all.leftMenuL.style.left = 852;	
	document.all.leftMenuL.innerHTML = innerHTML;

	initialize();

}

//Top  Menu 
function Top() {
   dynamic.src = "/inc/js/loginchk_swf.asp";
document.writeln("<table border='0' cellpadding='0' cellspacing='0' height='78'>");
document.writeln("<tr>");
document.writeln("		<td></td>");
document.writeln("</tr>");
document.writeln("</table>");
}

function Menu_in() {

document.writeln("<div id='Layer1' style='position:absolute; width:850px; height:78px; z-index:1; left: 0px; top: 0px;'>");
document.writeln("<table border='0' cellpadding='0' cellspacing='0'>");
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='850' HEIGHT='78' id='index02' ALIGN=''>");
document.writeln("		       <PARAM NAME=movie VALUE='/inc/flash/tmenu_login.swf'><PARAM NAME=quality VALUE=high>");
document.writeln("				 	<param name='menu' value='false'>");
document.writeln("		       <EMBED src='/inc/flash/tmenu_login.swf' quality=high menu=false  bgcolor=#FFFFFF  WIDTH='850' HEIGHT='78' NAME='index' ALIGN=''     TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED>");
document.writeln("				 </OBJECT></td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("</div>");
}	

function Menu_out() {
document.writeln("<div id='Layer1' style='position:absolute; width:850px; height:78px; z-index:1; left: 0px; top: 0px;'>");
document.writeln("<table border='0' cellpadding='0' cellspacing='0'>");
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='850' HEIGHT='78' id='index02' ALIGN=''>");
document.writeln("		       <PARAM NAME=movie VALUE='/inc/flash/tmenu_logout.swf'><PARAM NAME=quality VALUE=high>");
document.writeln("				 	<param name='menu' value='false'>");
document.writeln("		       <EMBED src='/inc/flash/tmenu_logout.swf' quality=high menu=false  bgcolor=#FFFFFF  WIDTH='850' HEIGHT='78' NAME='index' ALIGN=''     TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED>");
document.writeln("				 </OBJECT></td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("</div>");
}	


//Footer
function Footer(fkey) {		
if (fkey==null) {
document.writeln(" <table width='807' border='0' cellspacing='0' cellpadding='0' style='MARGIN-LEFT: 42px'> ");
document.writeln(" <tr>");
document.writeln("   <td Height=4></td>");
document.writeln(" </tr>");
document.writeln("   <tr>");
document.writeln("     <td colspan='2'><img src='/new_img/footer_1_sub.gif' width='807' height='32' border='0' usemap='#Map'></td>");
document.writeln("   </tr>");
document.writeln("   <form>");
document.writeln("   <tr>");
document.writeln("     <td width='469'><img src='/new_img/footer_2_sub.gif' width='469' height='51' border='0' usemap='#Map2'></td>");
document.writeln("     <td width='338' align='right' bgcolor='FFFFFF' style='padding:0 6 0 0;'><img src='/img/common/txt_familysite.gif' width='56' height='18' alt='' border='0' align='absmiddle'>");
document.writeln("       <select name='select' style='width:150' class='form01' onChange='window.open(this.options[this.selectedIndex].value); select.selectedIndex = 0;'>");
document.writeln("         <option>--- Select Site ---");
document.writeln(" 	    <option value='http://www.me.go.kr'>È¯°æºÎ");
document.writeln(" 	    <option value='http://www.e1.co.kr'>E1");
document.writeln(" 	    <option value='http://www.skgas.co.kr'>SK°¡½º");
document.writeln("     </select></td>");
document.writeln("   </tr>");
document.writeln(" </form>");
document.writeln(" </table>");
document.writeln(" <map name='Map'>");
document.writeln("   <area shape='rect' coords='6,10,41,27' href=javascript:GoUrl('home')>");
document.writeln("   <area shape='rect' coords='50,12,118,26' href=javascript:GoUrl('intro06')>");
document.writeln("   <area shape='rect' coords='127,12,174,26' href=javascript:GoUrl('eng')>");
document.writeln("   <area shape='rect' coords='539,9,619,27' href=javascript:GoUrl('newsletter')>");
document.writeln("   <area shape='rect' coords='624,10,665,27' href=javascript:GoUrl('useinfo') >");
document.writeln("   <area shape='rect' coords='677,9,715,28' href=javascript:GoUrl('sitemap')>");
document.writeln("   <area shape='rect' coords='727,11,767,28' href=javascript:GoUrl('intranet')>");
document.writeln("    <area shape='rect' coords='778,3,802,30' href='#top'>");
document.writeln(" </map>");
document.writeln(" <map name='Map2'>");
document.writeln("   <area shape='rect' coords='286,10,354,27' href='mailto:klpg@klpg.or.kr'>");
document.writeln(" </map>");
}
else if (fkey==1) {
document.writeln(" <table width='807' border='0' cellspacing='0' cellpadding='0' style='MARGIN-LEFT: 42px'> ");
document.writeln("   <tr>");
document.writeln("     <td colspan='2'><img src='/new_img/footer_1.gif' width='807' height='32' border='0' usemap='#Map'></td>");
document.writeln("   </tr>");
document.writeln("   <form>");
document.writeln("   <tr>");
document.writeln("     <td width='469'><img src='/new_img/footer_2.gif' width='469' height='51' border='0' usemap='#Map2'></td>");
document.writeln("     <td width='338' align='right' bgcolor='EFEFEF' style='padding:0 6 0 0;'><img src='/img/common/txt_familysite.gif' width='56' height='18' alt='' border='0' align='absmiddle'>");
document.writeln("       <select name='select' style='width:150' class='form01' onChange='window.open(this.options[this.selectedIndex].value); select.selectedIndex = 0;'>");
document.writeln("         <option>--- Select Site ---");
document.writeln(" 	    <option value='http://www.me.go.kr'>È¯°æºÎ");
document.writeln(" 	    <option value='http://www.e1.co.kr'>E1");
document.writeln(" 	    <option value='http://www.skgas.co.kr'>SK°¡½º");
document.writeln("     </select></td>");
document.writeln("   </tr>");
document.writeln(" </form>");
document.writeln(" </table>");
document.writeln(" <map name='Map'>");
document.writeln("   <area shape='rect' coords='6,10,41,27' href=javascript:GoUrl('home')>");
document.writeln("   <area shape='rect' coords='50,12,118,26' href=javascript:GoUrl('intro06')>");
document.writeln("   <area shape='rect' coords='127,12,174,26' href=javascript:GoUrl('eng')>");
document.writeln("   <area shape='rect' coords='558,9,638,27' href=javascript:GoUrl('newsletter_m')>");
document.writeln("   <area shape='rect' coords='654,10,695,27' href=javascript:GoUrl('useinfo') >");
document.writeln("   <area shape='rect' coords='706,9,744,28' href=javascript:GoUrl('sitemap')>");
document.writeln("   <area shape='rect' coords='760,9,800,26' href=javascript:GoUrl('intranet')>");
document.writeln(" </map>");
document.writeln(" <map name='Map2'>");
document.writeln("   <area shape='rect' coords='286,10,354,27' href='mailto:klpg@klpg.or.kr'>");
document.writeln(" </map>");
}
}

var combowidth=''
var comboheight=''

function initialize(){
if (document.all){
combowidth=leftMenuL.offsetWidth
comboheight=leftMenuL.offsetHeight
setInterval("staticit_ie()",50)
leftMenuL.style.visibility="visible"
}
else if (document.layers){
combowidth=leftMenuL.style.top
comboheight=leftMenuL.style.left
setInterval("staticit_ns()",50)
document.leftMenuL.visibility="show"
}
}

function staticit_ie(){
leftMenuL.style.pixelLeft = leftMenuL.style.pixelLeft
leftMenuL.style.pixelTop = document.body.scrollTop+78
}

function staticit_ns(){
document.leftMenuL.left=pageXOffset+window.innerWidth-combowidth-30
document.leftMenuL.top=pageYOffset+window.innerHeight-comboheight
}






