<!--

var validpop=0;
var NS4;
var IE4;
if (document.all)
{
    IE4 = true;
    NS4 = false;
}
else
{
    IE4 = false;
    NS4 = true;
}
isWin = (navigator.appVersion.indexOf("Win") != -1)

var IE = false ;
if (window.navigator.appName.indexOf("Explorer") !=-1)
{
	IE = true;
}
function reSize()
{
	    var ParentFrame	    =	null;
	    if(IE){
	    	ParentFrame = SubMain.document.body;
	    }else{
	    	ParentFrame = SubMain.contentDocument.body;
	    }
	    var ContentFrame	=	document.all["SubMain"];
	    ContentFrame.style.height = ParentFrame.scrollHeight + (ParentFrame.offsetHeight - ParentFrame.clientHeight) + 18;
		//ContentFrame.style.width = ParentFrame.scrollWidth + (ParentFrame.offsetWidth - ParentFrame.clientWidth);
		
}

var hpccount;
var hpccount = 1;
////// IMAGE_ROLLOVER //////
function menuOn(imgEl)
{
	imgEl.src = imgEl.src.replace(".gif", "_on.gif");
}

function menuOut(imgEl)
{
	imgEl.src = imgEl.src.replace("_on.gif", ".gif");
}
// CONTENT TAB MENU
function mOver()
{
	this.src = this.src.replace(".gif", "_on.gif");
}
function mOut()
{
	this.src = this.src.replace("_on.gif", ".gif");
}

function initTabMenu(menuContainerID, menuTabName) {
	var tabMenu = document.getElementsByName(menuTabName);
	var i = 0;

	for(i=0; i<tabMenu.length; i++) {
		thismenu = tabMenu.item(i);
		thismenu.menuContainer = document.getElementById(menuContainerID);
		thismenu.targetEl = document.getElementById(tabMenu.item(i).href.split("#")[1]);
		thismenu.targetEl.style.display = "none";
		if (thismenu.getElementsByTagName("img").item(0)) {
			thismenu.getElementsByTagName("img").item(0).onmouseover = mOver;
			thismenu.getElementsByTagName("img").item(0).onmouseout = mOut;
		}
		thismenu.onclick = tabMenuClick;
	}

	initmenu = tabMenu.item(0);
	initmenu.targetEl.style.display = "block";
	if (initmenu.getElementsByTagName("img").item(0)) {
		initmenu.getElementsByTagName("img").item(0).onmouseover();
		initmenu.getElementsByTagName("img").item(0).onmouseover = null;
		initmenu.getElementsByTagName("img").item(0).onmouseout = null;
	}
	initmenu.menuContainer.current = initmenu;
}
function tabMenuClick() {
	currentmenu = this.menuContainer.current;
	if (currentmenu != this) {
		currentmenu.targetEl.style.display = "none";
		if (currentmenu.getElementsByTagName("img").item(0)) {
			currentmenu.getElementsByTagName("img").item(0).onmouseover = mOver;
			currentmenu.getElementsByTagName("img").item(0).onmouseout = mOut;
			currentmenu.getElementsByTagName("img").item(0).onmouseout();
		}
	
		this.targetEl.style.display = "block";
		if (this.getElementsByTagName("img").item(0)) {
			this.getElementsByTagName("img").item(0).onmouseover = null;
			this.getElementsByTagName("img").item(0).onmouseout = null;
		}
		this.menuContainer.current = this;
	}
	return false;
}
/*********************************************************
*·ÎÄÉÀÌ¼Ç °ü¸® ½ÃÀÛ 
*********************************************************/
//////  LOCATION CHECK   ////////
var depth1 = "";
var depth2 = "";
var depth3 = "";
//var depth4 = "";

function setDepthVar( firVar, secVar, thrVar ) {
        depth1 = firVar;
        depth2 = secVar;
        depth3 = thrVar;
        //depth4 = fourVar;
}

function locationCheck( depth1, depth2, depth3 ){

        var returnPram = ""
        var oneDepthName = new Array();
        var twoDepthName = new Array();
        var threeDepthName = new Array();
        var home = "<a href='/index.asp'>HOME</a>";
        
        oneDepthName['1'] = "<a href='/01_Introduce/index.asp'>È¸»ç¼Ò°³</a>";
        oneDepthName['2'] = "<a href='/02_product/index.asp'>Á¦Ç°°ú ¼­ºñ½º</a>";
        oneDepthName['3'] = "<a href='/03_invest/index.asp'>ÅõÀÚÁ¤º¸</a>";
        oneDepthName['4'] = "<a href='/04_rnd/index.asp'>R&amp;D</a>";
        oneDepthName['5'] = "<a href='/05_safety/index.asp'>È¯°æ¾ÈÀü</a>";
        oneDepthName['6'] = "<a href='/06_prcenter/index.asp'>PR¼¾ÅÍ</a>";
        oneDepthName['7'] = "<a href='/07_ccenter/index.asp'>°í°´¼¾ÅÍ</a>";
        oneDepthName['8'] = "»çÀÌÆ®¸Ê";
        oneDepthName['9'] = "³ªÀÇÁ¤º¸";
        oneDepthName['10'] = "·Î±×ÀÎ";
        oneDepthName['11'] = "ID/ºñ¹Ð¹øÈ£ Ã£±â";
        oneDepthName['12'] = "ÀÌ¿ë¾à°ü";
        oneDepthName['13'] = "°³ÀÎÁ¤º¸º¸È£Á¤Ã¥";
        oneDepthName['14'] = "»çÀÌÆ®¸Ê";
        
        returnPram = home + " <span>/</span> " + oneDepthName[depth1];
        
        if(depth1 =="1"){
                twoDepthName[1] = "°³¿ä";
                twoDepthName[2] = "CEO ¸Þ½ÃÁö";
                twoDepthName[3] = "°æ¿µÀÌ³ä";
                twoDepthName[4] = "¿¬Çõ";
                twoDepthName[5] = "ÇÑ´«À¸·Î º¸´Â HPC";
                twoDepthName[6] = "<a href='/01_Introduce/recruit.asp'>Ã¤¿ë</a>";
                twoDepthName[7] = "<a href='/01_Introduce/welfare.asp'>À±¸®°æ¿µ</a>";
                twoDepthName[8] = "»ç¾÷Àå";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2];
        }else if(depth1 =="2"){
                twoDepthName[1] = "<a href='/02_Product/product_info.asp'>Á¦Ç°°¡ÀÌµå</a>";
                twoDepthName[2] = "<a href='/02_Product/pe_01.asp'>¼öÁöÁ¦Ç°</a>";
                twoDepthName[3] = "<a href='/02_Product/eo_01.asp'>È­¼ºÁ¦Ç°</a>";
                twoDepthName[4] = "<a href='/02_Product/btx01.asp'>±âÃÊÀ¯ºÐ</a>";
                twoDepthName[5] = "<a href='/02_Product/sachul.asp'>±â¼úÀÚ·á</a>";
                twoDepthName[6] = "<a href='/02_Product/seminar.asp'>±â¼úÁö¿ø</a>";
                twoDepthName[7] = "Á¦Ç°°Ë»ö";

                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2];
         }else if(depth1 =="3"){
                twoDepthName[1] = "<a href='/03_Invest/management.asp'>°æ¿µÀÏ¹Ý</a>";
                twoDepthName[2] = "°ø½ÃÁ¤º¸";
                twoDepthName[3] = "<a href='/03_Invest/financial.asp'>Àç¹«Á¤º¸</a>";
                twoDepthName[4] = "<a href='/03_Invest/report.asp'>IRÈ°µ¿</a>";
        
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2];
        }else if(depth1 =="4"){
                twoDepthName[1] = "<a href='/04_Rnd/info.asp'>¿¬±¸¼Ò ¼Ò°³</a>";
                twoDepthName[2] = "<a href='/04_Rnd/field.asp'>¿¬±¸ºÐ¾ß</a>";
                twoDepthName[3] = "<a href='/04_Rnd/know.asp'>¼®À¯È­ÇÐ¹Ù·Î¾Ë±â</a>";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2];        
        }else if(depth1 =="5"){
                twoDepthName[1] = "<a href='/05_Safety/nature.asp'>È¯°æ°æ¿µ</a>";
                twoDepthName[2] = "<a href='/05_Safety/biz.asp'>¾ÈÀüº¸°Ç°æ¿µ</a>";
                twoDepthName[3] = "<a href='/05_Safety/rc.asp'>RC</a>";
                twoDepthName[4] = "HPCÇª¸£¹Ì";
				twoDepthName[5] = "Áö¼Ó°¡´É¼ºº¸°í¼­";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2];
                
        }else if(depth1 =="6"){
                twoDepthName[1] = "<a href='/06_Prcenter/hnews_list.asp'>HPC´º½º</a>";
                twoDepthName[2] = "<a href='/06_Prcenter/movie.asp'>¹Ìµð¾î·ë</a>";
                twoDepthName[3] = "CI";
                twoDepthName[4] = "»çÀÌ¹öÅõ¾î";
                twoDepthName[5] = "HPCÆäÀÌÆÛ";
                twoDepthName[6] = "¿Â¶óÀÎ Poll";
                twoDepthName[7] = "TIP";
                twoDepthName[8] = "»çÁøÀÚ·á½Ç";
              
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2];
        }else if(depth1 =="7"){
                twoDepthName[1] = "<a href='/07_Ccenter/faq.asp'>°í°´¹®ÀÇ</a>";
                twoDepthName[2] = "±¸¸Å¹®ÀÇ";
                twoDepthName[3] = "<a href='/07_Ccenter/observe.asp'>°øÀå°ßÇÐ</a>";

                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2];

        }
          // COMPANY //
        if((depth1=="1") && (depth2=="6")){
                threeDepthName[1] = "ÀÎÀç»ó";
                threeDepthName[2] = "º¹¸®ÈÄ»ý";
                threeDepthName[3] = "Ã¤¿ë¾È³»";                
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="1") && (depth2=="7")){
                threeDepthName[1] = "ÀÌÇØ";
                threeDepthName[2] = "±Ô¹ü";
                threeDepthName[3] = "Áø´ÜÇ¥";                
                threeDepthName[4] = "½Å¹®°í";                
                  
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
          // PRODUCT //
        }else if((depth1=="2") && (depth2=="1")){
                threeDepthName[1] = "Á¦Ç°¼Ò°³";
                threeDepthName[2] = "Á¦Ç° Ä«´Ù·Î±×";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="2") && (depth2=="2")){
                threeDepthName[1] = "PE";
                threeDepthName[2] = "PP";
                threeDepthName[3] = "±â´É¼º¼öÁö";
                threeDepthName[4] = "PET";
				threeDepthName[5] = "PC";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="2") && (depth2=="3")){
                threeDepthName[1] = "EO/G";
                threeDepthName[2] = "MMA";
                threeDepthName[3] = "EOA";
				threeDepthName[4] = "BD";
				threeDepthName[5] = "SM";
				threeDepthName[6] = "TBA";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="2") && (depth2=="4")){
                threeDepthName[1] = "BTX";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="2") && (depth2=="5")){
                threeDepthName[1] = "°¡°ø±â¼ú";
                threeDepthName[2] = "¹®Á¦ÇØ°á";
                threeDepthName[3] = "ÀÚ·á½Ç";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="2") && (depth2=="6")){
                threeDepthName[1] = "±â¼ú ¼¼¹Ì³ª";
                threeDepthName[2] = "¼­ºñ½º";
                threeDepthName[3] = "ºÐ¼® ¼­ºñ½º";
                threeDepthName[4] = "ÀÎÁõ¼­ ¹ß±Þ/½ÅÃ»";
                threeDepthName[5] = "°í°´ºÒ¸¸Á¢¼ö";
                threeDepthName[6] = "»ùÇÃÁ¦°øÀÇ·Ú";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
          // INVEST //
        }else if((depth1=="3") && (depth2=="1")){
                threeDepthName[1] = "CEOÀÎ»ç¸»";
                threeDepthName[2] = "°æ¿µÀü·«";
                threeDepthName[3] = "°æ¿µÁø";
                threeDepthName[4] = "Áö¹è±¸Á¶";
                threeDepthName[5] = "ÁÖÁÖÇöÈ²";
                threeDepthName[6] = "°ü°è»çÇöÈ²";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="3") && (depth2=="3")){
                threeDepthName[1] = "¿ä¾àÀç¹«";
                threeDepthName[2] = "Àç¹«ÀÏ¹Ý";
                threeDepthName[3] = "Àç¹«ÁöÇ¥";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="3") && (depth2=="4")){                
                threeDepthName[1] = "¾Ö³Î¸®½ºÆ®º¸°í¼­";
                threeDepthName[2] = "ÀÏÁ¤Ç¥";
                threeDepthName[3] = "ÇÁ¸®Á¨Å×ÀÌ¼Ç";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
          // RND //
        }else if((depth1=="4") && (depth2=="1")){
                threeDepthName[1] = "¼Ò°³";
                threeDepthName[2] = "°³¹ß½ÇÀû";
                threeDepthName[3] = "ºñÀü";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="4") && (depth2=="2")){
                threeDepthName[1] = "´ë´ö¿¬±¸¼Ò";
                threeDepthName[2] = "»ý»ê±â¼ú¿¬±¸¼Ò";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="4") && (depth2=="3")){
                threeDepthName[1] = "°³¿ä";
                threeDepthName[2] = "Á¦Ç°°èÅëµµ";
                threeDepthName[3] = "¿ë¾î»çÀü";
                threeDepthName[4] = "°ü·Ã»çÀÌÆ®";
                threeDepthName[5] = "¼®À¯È­ÇÐ´º½º";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
          // SAFETY //
        }else if((depth1=="5") && (depth2=="1")){
                threeDepthName[1] = "°³¿ä";
                threeDepthName[2] = "´ë±â°ü¸®ÇöÈ²";
                threeDepthName[3] = "¼öÁú°ü¸®ÇöÈ²";
                threeDepthName[4] = "Æó±â¹°°ü¸®ÇöÈ²";
                threeDepthName[5] = "Áö¿ª°ü¸®ÇöÈ²";
                threeDepthName[6] = "¿Â½Å°¡½º°ü¸®ÇöÈ²";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="5") && (depth2=="2")){
                threeDepthName[1] = "¾ÈÀüº¸°Ç¹æÄ§";
                threeDepthName[2] = "Á¶Á÷±¸¼º.¸ñÇ¥";
                threeDepthName[3] = "Á¾ÇÕ¹æÀç½Ã½ºÅÛ ¿î¿µ";
                threeDepthName[4] = "¾ÈÀü.º¸°Ç ´É·ÂÇâ»óÈ°µ¿";
                threeDepthName[5] = "ÀÚÀ²Á¡°Ë";
                threeDepthName[6] = "º¸°ÇÈ°µ¿";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="5") && (depth2=="3")){
                threeDepthName[1] = "°³¿ä";
                threeDepthName[2] = "»ç³»È°µ¿";
                threeDepthName[3] = "»ç¿ÜÈ°µ¿";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
          // PR //
        }else if((depth1=="6") && (depth2=="1")){
                threeDepthName[1] = "´º½º¿Í °øÁö»çÇ×";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="6") && (depth2=="2")){
                threeDepthName[1] = "È«º¸¿µÈ­";
                threeDepthName[2] = "ºê·Î½´¾î";
                threeDepthName[3] = "±¤°í";
                threeDepthName[4] = "Àü½Ã";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="6") && (depth2=="5")){
                threeDepthName[1] = "ÄªÂù¸±·¹ÀÌ";
                threeDepthName[2] = "µðÄ«¿ùµå";
                threeDepthName[3] = "»ç¶û³ª´®ÅÍ";
                threeDepthName[4] = "¹®È­¸¶´ç";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        // CCENTER //
        }else if((depth1=="7") && (depth2=="1")){
                threeDepthName[1] = "FAQ";
                threeDepthName[2] = "Q&amp;A";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }else if((depth1=="7") && (depth2=="3")){
                threeDepthName[1] = "°ßÇÐ¾È³»";
                threeDepthName[2] = "°ßÇÐ½ÅÃ»";
                
                returnPram = home + " <span>/</span> " + oneDepthName[depth1] + " <span>/</span> " + twoDepthName[depth2] + " <span>/</span> " + threeDepthName[depth3];
        }        
        //if(depth4!='') returnPram=returnPram+ " <span>/</span> " + depth4;
        return returnPram ;

}
///////  VIEW ///////
function currentPage(){

        var zoneFront ="";
        var zoneBack ="";
        zoneFront="";
        zoneBack="";

        document.write(zoneFront + locationCheck( depth1, depth2, depth3 ) + zoneBack);
}

/*********************************************************
*  ·ÎÄÉÀÌ¼Ç °ü¸® ³¡
*********************************************************/
// ÆäÀÌÁö focus blur
function bluring(){ 
	if (event.srcElement!=null) {
		if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
	}	
} 
document.onfocusin=bluring; 

// top¹öÆ° 
function gotop() {
	document.body.scrollTop=0;
}

//OPENER url ¹Ù²Ù±â
function opener_url(url)
{
	opener.location=url;
}

//INTRO¿ë ÀÓ½Ã ÆË¾÷
function Win_intro(newwin,w,h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=yes,scrollbars=yes,toolbars=no,status=no,menu=no';
win = window.open(newwin, "intro", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}	 
//ÆË¾÷ È­¸é Áß¾Ó¿¡ ¶ç¿ì±â
function Win_pop(newwin,w,h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=no,scrollbars=no,toolbars=no,status=no,menu=no';
win = window.open(newwin, "pop1", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}	 

//ÆË¾÷ È­¸é Áß¾Ó¿¡ ¶ç¿ì±â
function Win_popsub(newwin,w,h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=no,scrollbars=no,toolbars=no,status=no,menu=no';
var winsub = window.open(newwin, "pop1sub", winprops)
if (parseInt(navigator.appVersion) >= 4) { winsub.window.focus(); }
}

function Win_pop2(newwin,w,h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=no,scrollbars=yes,toolbars=no,status=no,menu=no';
win = window.open(newwin, "new2", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}	 

//ÆË¾÷ È­¸é Áß¾Ó¿¡ ¶ç¿ì±â-06³â6¿ù12ÀÏ Ãß°¡
function Win_pop3(newwin,w,h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=no,scrollbars=yes,toolbars=no,status=no,menu=no';
win = window.open(newwin, "pop1", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}	
 
//ÆË¾÷ ÀÎÁõ¼­¿ë
function Win_doc(newwin,w,h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=no,scrollbars=yes,toolbars=no,status=no,menu=no';
win = window.open(newwin, "doc", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}	 
//tab
function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}


function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

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_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 goMenu(Val,Sel)
{
	Sel.value = '';
	if (Val) location=Val;
	
}
 
 //ÀÌ¹ÌÁöÆË¾÷
function view(what) { 
var imgwin = window.open("",'WIN','scrollbars=no,status=no,toolbar=no,resizable=0,location=no,menu=no,width=10,height=10'); 
imgwin.focus(); 
imgwin.document.open(); 
imgwin.document.write("<html>\n"); 
imgwin.document.write("<head>\n"); 
imgwin.document.write("<title>ÀÌ¹ÌÁö Å©°Ôº¸±â</title>\n"); 

imgwin.document.write("<sc"+"ript>\n"); 
imgwin.document.write("function resize() {\n"); 
imgwin.document.write("pic = document.il;\n"); 
//imgwin.document.write("alert(eval(pic).height);\n"); 
imgwin.document.write("if (eval(pic).height) { var name = navigator.appName\n"); 
imgwin.document.write("  if (name == 'Microsoft Internet Explorer') { myHeight = eval(pic).height + 40; myWidth = eval(pic).width + 12;\n"); 
imgwin.document.write("  } else { myHeight = eval(pic).height + 9; myWidth = eval(pic).width; }\n"); 
imgwin.document.write("  clearTimeout();\n"); 
imgwin.document.write("  var height = screen.height;\n"); 
imgwin.document.write("  var width = screen.width;\n"); 
imgwin.document.write("  var leftpos = width / 2 - myWidth / 2;\n"); 
imgwin.document.write("  var toppos = height / 2 - myHeight / 2; \n"); 
imgwin.document.write("  self.moveTo(leftpos, toppos);\n"); 
imgwin.document.write("  self.resizeTo(myWidth, myHeight-12);\n"); 
imgwin.document.write("}else setTimeOut(resize(), 100);}\n"); 
imgwin.document.write("</sc"+"ript>\n"); 

imgwin.document.write("</head>\n"); 
imgwin.document.write('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF">\n'); 

imgwin.document.write("<img border=0 src="+what+" xwidth=100 xheight=9 name=il onload='resize();' style='cursor:hand' onclick='window.close();'>\n"); 
imgwin.document.write("</body>\n");
imgwin.document.close(); 
}

//toggle ÇÔ¼ö
function toggle(e) {
  if (e.style.display == "none") {     
     e.style.display = "";  
  } else {
     e.style.display = "none";
  }
}

// PR - HPC(pop)
function setScrollColor(objFrame) 
 {  
    try 
    { 
      self[objFrame.name].document.body.style.scrollbarFaceColor = "#efe9da";
      self[objFrame.name].document.body.style.scrollbarHighlightColor = "#D9D9D9";
      self[objFrame.name].document.body.style.scrollbarShadowColor = "#FFFFFF";
      self[objFrame.name].document.body.style.scrollbar3dLightColor = "#b1a45b";
      self[objFrame.name].document.body.style.scrollbarArrowColor = "#7a552b";
      self[objFrame.name].document.body.style.scrollbarTrackColor = "#f7f2e5";
      self[objFrame.name].document.body.style.scrollbarDarkshadowColor = "#f7f2e5";
    } 
    catch(oException) 
    { 
      // Á¢±Ùº¸¾ÈÀÏ¶§ ¾Æ¹«·± ÀÏµµ ÇÏÁö ¾Ê´Â´Ù. 
    } 

 } 
 
 //media player
 var nVolLeftPosition = 0;							// º¼·ý ¹Ù ¹è°æ ½ÃÀÛÁ¡
		var nVolStartPosition = 0;							// º¼·ý ¹Ù ½ÃÀÛ Á¡
		var nVolEndPosition = 40;							// º¼·ý ¹Ù ³¡ Á¡
		var nVolume = 30;									// º¼·ý ÃÊ±â °ª
		var nPrevVol;										// º¼·ýÀÌ º¯°æµÇ±â ÀüÀÇ °ª
		var bIsVolumeSet		= false;						// º¼·ý¹Ù µå·¡±× ¿©ºÎ
		var nZoomed			= 0;							// ±âº»°ª 1 : ÁÜµÊ,   0 : Ãà¼ÒµÊ

		function killErr(){return true;}

		function setVolumeBar(){
			nPrevVol = event.clientX;
			nVolLeftPosition = sound.style.pixelLeft;

			bIsVolumeSet = true;
			document.onmousemove=drag_dropie;
			if (document.all){document.onmouseup=endVolume;}
		}

		function drag_dropie(){
			if (bIsVolumeSet==true){
				var mov = nVolLeftPosition+event.clientX-nPrevVol;
				if ((mov >= nVolStartPosition)  && (mov < nVolEndPosition)){
					cutpoint=nVolEndPosition-sound.style.pixelLeft;
					document.all.soundbg.style.pixelWidth=39-cutpoint;
					//document.all.sbg.width = 58-cutpoint;
					sound.style.pixelLeft=nVolLeftPosition+event.clientX-nPrevVol;
					mplayer.Volume = -2500*(cutpoint/37);
					nVolume=sound.style.pixelLeft
					nVolume1=document.all.sbg.width;
					mplayer.Mute=false;
				}
				return false;
			}
		}

		function endVolume(){
			bIsVolumeSet=false;
		}

		function ris(name, nsdoc)
		{
			var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
			if (name == '') return;
			if (img && img.altsrc) {
				img.src    = img.altsrc;
				img.altsrc = null;
			}
		}

		function cis(name, nsdoc, rpath, preload)
		{ 
			var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
			if (name == '')	return;
			if (img) {
				img.altsrc = img.src;
				img.src    = rpath;
			}
		}		
    
    function mutecheck(){
      if(document.all.mplayer.mute==0) document.all.mplayer.mute=1;
      else document.all.mplayer.mute=0;
    }


   

   // ÇÃ·¡½Ã Ã³¸®
function embededFlash(i,s,w,h,b,vars) {
	var flashStr='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+w+'" height="'+h+'" id="'+i+'" align="middle">'+
   	'<param name="allowScriptAccess" value="always" />'+
	'<param name="movie" value="'+s+'" />'+
	'<param name="flashVars" value="'+vars+'" />'+
	'<param name="wmode" value="" />'+
	"<param name='menu' value='false' />"+
	'<param name="quality" value="high" />'+
	'<param name="bgColor" value="'+b+'" />'+
	'<embed src='+s+' quality="high" bgcolor="'+b+'" width="'+w+'" height="'+h+'" name="'+i+'"   align=middle  type=application/x-shockwave-flash pluginspage=http://www.macromedia.com/go/getflashplayer allowScriptAccess="always" />'+
	'</object>';

	document.write(flashStr);

}
//-->