<!--

// ÀüÃ¼Ã¢ ¶ç¿ì±â
function OpenFull(url) {
	window.open(url,'kiosk','fullscreen=yes,scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no')
}

// go_top
function GoTop() {
	window.scrollTo(0,0);
}

// ¿ø·¡ ÀÌ¹ÌÁö·Î µÇµ¹¸®±â (·Ñ¿À¹öÀÌ¹ÌÁö)
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 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_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 bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;*/

// »õÃ¢¶ç¿ì±â
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// »õÃ¢¶ç¿ì±â

function open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

// ÆË¾÷Ã¢¿¡¼­ ºÎ¸ðÃ¢¸µÅ©

function gourl(url) { 
opener.top.location=url; 
self.close(); 
} 

//·¹ÀÌ¾î ¼û±â±â

function MM_showHideLayers() { //v6.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_jumpMenu(targ,selObj,restore){ //v3.0

//targ Å¸°ÙÀÌ µÇ´Â ÇÁ·¹ÀÓ
//selObj ¼¿·ºÆ® °´Ã¼
//restore ¼¿·ºÆ® ÈÄ ´Ù½Ã "°Ë»ö¿£Áø"·Î º¹±Í¿©ºÎ

if(selObj.options[selObj.selectedIndex].value != "default"){
	  if(selObj.options[selObj.selectedIndex].target == "_blank"){
			window.open(selObj.options[selObj.selectedIndex].value,"new","");
	  }else{
	 	  //¿©±â¼­ »õÃ¢À» ¸ø ¶ç¿ö¼­.. À§¿¡ ÄÚµå Ãß°¡Çß¾î¿ä.
		  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	  }
	  if (restore) selObj.selectedIndex=0;
	}
}


//Å«ÀÌ¹ÌÁöº¸±â
function img_change(file)	{
	document.getElementById("large_img").src=file;
}
function img_over(im){
	document.getElementById("main").src=im;
	}
function img_out(){
//	document.getElementById("main").src="#.gif"
	}


//»õÃ¢¶ç¿ì±â
function openWindow2(anchor, options) {

 var args = '';

 if (typeof(options) == 'undefined') { var options = new Object(); }
 if (typeof(options.name) == 'undefined') { options.name = 'win' + Math.round(Math.random()*100000); }

 if (typeof(options.height) != 'undefined' && typeof(options.fullscreen) == 'undefined') {
  args += "height=" + options.height + ",";
 }

 if (typeof(options.width) != 'undefined' && typeof(options.fullscreen) == 'undefined') {
  args += "width=" + options.width + ",";
 }

 if (typeof(options.fullscreen) != 'undefined') {
  args += "width=" + screen.availWidth + ",";
  args += "height=" + screen.availHeight + ",";
 }

 if (typeof(options.center) == 'undefined') {
  options.x = 0;
  options.y = 0;
  args += "screenx=" + options.x + ",";
  args += "screeny=" + options.y + ",";
  args += "left=" + options.x + ",";
  args += "top=" + options.y + ",";
 }

 if (typeof(options.center) != 'undefined' && typeof(options.fullscreen) == 'undefined') {
  options.y=Math.floor((screen.availHeight-(options.height || screen.height))/2)-(screen.height-screen.availHeight);
  options.x=Math.floor((screen.availWidth-(options.width || screen.width))/2)-(screen.width-screen.availWidth);
  args += "screenx=" + options.x + ",";
  args += "screeny=" + options.y + ",";
  args += "left=" + options.x + ",";
  args += "top=" + options.y + ",";
 }

 if (typeof(options.scrollbars) != 'undefined') { args += "scrollbars=1,"; }
 if (typeof(options.menubar) != 'undefined') { args += "menubar=1,"; }
 if (typeof(options.locationbar) != 'undefined') { args += "location=1,"; }
 if (typeof(options.resizable) != 'undefined') { args += "resizable=1,"; }

 var win = window.open(anchor, options.name, args);
 return false;

}


/* »çÀÌÆ® È®´ë,Ãà¼Ò º¸±â start */

var nowZoom = 100; // ÇöÀçºñÀ² 
var maxZoom = 500; // ÃÖ´ëºñÀ²(500À¸·ÎÇÏ¸é 5¹è Ä¿Áø´Ù) 
var minZoom = 80; // ÃÖ¼ÒºñÀ² 
 
//È­¸é Å°¿î´Ù. 
function zoomIn() 
{ 
    if (nowZoom < maxZoom) 
    { 
        nowZoom += 10; //25%¾¿ Ä¿Áø´Ù. 
    } 
    else 
    { 
        return; 
    } 
    document.getElementById("wrapper").style.zoom = nowZoom + "%"; 
} 
 
//È­¸é ÁÙÀÎ´Ù. 
function zoomOut() 
{ 
    if (nowZoom > minZoom) 
    { 
        nowZoom -= 10; //25%¾¿ ÀÛ¾ÆÁø´Ù. 
    } 
    else 
    { 
        return; 
    } 
    document.getElementById("wrapper").style.zoom = nowZoom + "%"; 
} 
 
//È­¸é ¿ø·¡´ë·Î 
function zoomDefault() 
{ 
    nowZoom = 100; 
    document.getElementById("wrapper").style.zoom = nowZoom + "%"; 
} 

/* »çÀÌÆ® È®´ë,Ãà¼Ò º¸±â End */


// ¾ÆÀÌÇÁ·¹ÀÓ Ã¢Á¶Àý  
function reSize() {
    try {
        var objBody = auto_iframe.document.body;
        var objFrame = document.all["auto_iframe"];
        ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight);
        objFrame.style.height = ifrmHeight;
    }
        catch(e) {}
}

function init_iframe() {
    reSize();
    setTimeout('init_iframe()',1)
}

init_iframe();


// png ÀÌ¹ÌÁö Ã³¸®

function setPng24(obj) { 
    obj.width=obj.height=1; 
    obj.className=obj.className.replace(/\bpng24\b/i,''); 
    obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" 
    obj.src='';  
    return ''; 
}


//¿À¹ö½Ã ³ªÅ¸³ª´Â ·¹ÀÌ¾î ¼³¸í±Û
function itemMouseMove(e, width, height, html)
{
	var obj_outline = document.getElementById("itemoutline");
	var obj_back = document.getElementById("itemback");
	var obj_content = document.getElementById("itemcontent");
	
	obj_outline.style.left = event.clientX + document.body.scrollLeft;
	obj_outline.style.top = event.clientY + document.body.scrollTop;
	obj_outline.style.width = width+"px";
	obj_outline.style.height = height+"px";

	obj_back.style.filter = "alpha(opacity=75)";
		
	obj_content.style.left = event.clientX + document.body.scrollLeft;
	obj_content.style.top = event.clientY + document.body.scrollTop;
	obj_content.style.width = width+"px";
	obj_content.style.height = height+"px";	
	obj_content.innerHTML = html;	

	obj_outline.style.display = "block";
	obj_content.style.display = "block";
}

function itemMouseOut()
{
	document.getElementById("itemcontent").style.display = "none";
	document.getElementById("itemoutline").style.display = "none";
	document.getElementById("itemcontent").innerHTML = "";
}


//ÇÃ·¡½¬ÆÄÀÏ
function FlashMainbody(Ftrans,wid,hei) {
	mainbody = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+ wid +"' height='"+ hei +"'>";
	mainbody += "<param name='movie' value='"+ Ftrans +"'>";
	mainbody += "<param name='quality' value='high'>";
	mainbody += "<param name='wmode' value='transparent'>";
	mainbody += "<param name='menu' value='false'>";
	mainbody += "<embed src='"+ Ftrans +"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+ wid +"' height='"+ hei +"' wmode='transparent'></embed>"
	mainbody += "</object>";

	//document.body.innerHTML = mainbody;
	document.write(mainbody);
	return;
}


// Select ¹Ú½º URL °É±â
function namosw_goto_byselect(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
     if (targetstr == 'blank') {
       window.open(sel.options[index].value, 'win1');
     } else {
       var frameobj;
       if (targetstr == '') targetstr = 'self';
       if ((frameobj = eval(targetstr)) != null)
         frameobj.location = sel.options[index].value;
     }
  }
}


//ÇÃ·¡½¬ÆÄÀÏ
function flash_contents(file,width,height){
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='"+width+"' HEIGHT='"+height+"' >");
document.writeln("<PARAM NAME=movie value='"+file+"' />");
document.writeln("<PARAM NAME=quality VALUE=high>");
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>");
document.writeln("<PARAM NAME=wmode VALUE=transparent> ");
document.writeln("<embed src='"+file+"' quality='high' bgcolor='#FFFFFF' width='"+width+"' height='"+height+"' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' wmode='transparent' />");
document.writeln("</OBJECT>");
}



// µ¿¿µ»óº¸±â
function MediaObject(URL, width, height) { 
	document.write(""
	+ "<OBJECT ID='VodPlayer' Name='VodPlayer' 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...' type='application/x-oleobject ' bgcolor='DarkBlue' width='"+width+"' height='"+height+"'  VIEWASTEXT>"
	+ "<PARAM NAME='Filename' VALUE='"+URL+"'>"
	+ "<PARAM NAME='AutoStart' VALUE='1'>"
	+ "<PARAM NAME='AutoSize' VALUE='0'>"
	+ "<PARAM NAME='AnimationAtStart' VALUE='0'>"
	+ "<PARAM NAME='DisplayMode' VALUE='4'>"
	+ "<PARAM NAME='Enabled' VALUE='1'>"
	+ "<PARAM NAME='ShowControls' VALUE='0'>"
	+ "<PARAM NAME='ShowAudioControls' VALUE='0'>"
	+ "<PARAM NAME='ShowDisplay' VALUE='0'>"
	+ "<PARAM NAME='ShowGotoBar' VALUE='0'>"
	+ "<PARAM NAME='ShowPositionControls' VALUE='0'>"
	+ "<PARAM NAME='ShowStatusBar' VALUE='0'>"
	+ "<PARAM NAME='enableContextMenu' VALUE='0'>"
	+ "<PARAM NAME='Volume' VALUE='0'>"
	+ "<PARAM NAME='ShowCaptioning' VALUE='0'>"
	+ "<PARAM NAME='TransparentAtStart' value='1'>"
	+ "<EMBED invokeURLs='false' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/VodPlayer/' id='VodPlayer' Name='VodPlayer' DisplaySize='4' AutoSize='0' ShowControls='0' ShowDisplay='0' ShowStatusBar='1' autostart='1' enablecontextmenu='0'>"
	+ "</EMBED>"
	+ "</OBJECT>");
}
	function VodPlayer_Stop() {document.VodPlayer.stop();}
	function VodPlayer_Pause() {document.VodPlayer.pause();}
	function VodPlayer_Play() {document.VodPlayer.play();}


//* ¸Þ´º ·Ñ¿À¹ö *//   
function overRoll( obj, depth2, depth3, level) {
    	obj.src = obj.src.replace( '.jpg', '_on.jpg' );   
}
function outRoll( obj, depth2, depth3, level) {
    obj.src = obj.src.replace( '_on.jpg', '.jpg' );   
}

//* image rollover_Äü *//   
function overRollQ( obj ) {   
    obj.src = obj.src.replace( '.gif', '_on.gif' );   
}
function outRollQ( obj ) {   
    obj.src = obj.src.replace( '_on.gif', '.gif' );   
}

	
//FAQ
function void_List_OnClick(nListNO)
	    {
	        var oTbody = document.getElementById("faqList");
	        var nLength = oTbody.rows.length / 2;
	        
		    for (i = 0; i < nLength + 12; i++)
		    {
			    if(i == nListNO)
			    {
			        if (document.getElementById('eview' + nListNO).style.display == "none") {
			            document.getElementById('eview' + nListNO).style.display = 'block';
			        } else {
			            document.getElementById('eview' + nListNO).style.display = 'none';
			        }
			    }
			    else
			    {
			        if(document.getElementById('eview' + i) != null)
			        {
			            document.getElementById('eview' + i).style.display='none';
			        }
			    }
		    }
	    }
			

//index_°Ô½ÃÆÇ
function indexLayer(j){
	   
		 for (i=1;i<3;i++){
			 menuimg = document.getElementById("tab"+i);
			 menutab = document.getElementById("s"+i);
		 if (i == j){
				  menuimg.src = "/images/main/main_tab0"+i+"_on.gif";
					menutab.style.display = 'block';
			 } else {
				  menuimg.src = "/images/main/main_tab0"+i+".gif";
					menutab.style.display = 'none';
			 }
	   }
	}
	
//company_¿¬Çõ
function historyLayer(j){//javerscript¸í°ú ÅëÀÏ
	   
		 for (i=1;i<4;i++){//Ãâ·ÂTab+1
			 menuimg = document.getElementById("tab"+i);
			 menutab = document.getElementById("his"+i);
		 if (i == j){
				  menuimg.src = "/images/company/sub03-tab0"+i+"_on.jpg";
					menutab.style.display = 'block';
			 } else {
				  menuimg.src = "/images/company/sub03-tab0"+i+".jpg";
					menutab.style.display = 'none';
			 }
	   }
	}




//±ÛÀÚ Å©±â Å©°Ô/ÀÛ°Ô
defsize = 73;
var TF = 12;
function zoom_it(n) {
	defsize += n*10;
	var mFont = TF ;
	n=parseInt(n);
	mFont+=n;
		
	if(defsize >= 43 &&  defsize <= 103){
	
		objs = document.getElementsByTagName("body").item(0);
	
		//objs.style.fontSize = defsize + "%";
		objs.style.fontSize = mFont+'px';
		
		objs=document.getElementsByTagName("td");
		
		for (i=0;i<objs.length;i++) {
			try {
				objs[i].style.fontSize=mFont+'px';
			} catch(e) {}
		}
		
		objs=document.getElementsByTagName("a");
		
		for (i=0;i<objs.length;i++) {
			try {
				objs[i].style.fontSize=mFont+'px';
			} catch(e) {}
		}
		
		objs=document.getElementsByTagName("th");
		
		for (i=0;i<objs.length;i++) {
			try {
				objs[i].style.fontSize=mFont+'px';
			} catch(e) {}
		} 
		
		objs=document.getElementsByTagName("span");
		
		for (i=0;i<objs.length;i++) {
			try {
				objs[i].style.fontSize=mFont+'px';
			} catch(e) {}
		}
	}
	TF = mFont;

	
} 

//±ÛÀÚ Å©±â ¿ø·¡´ë·Î
function zoom_default() {
		mFont=12;
		objs = document.getElementsByTagName("body").item(0);
	
		//objs.style.fontSize = defsize + "%";
		objs.style.fontSize = mFont+'px';
		
		objs=document.getElementsByTagName("td");
		
		for (i=0;i<objs.length;i++) {
			try {
				objs[i].style.fontSize=mFont+'px';
			} catch(e) {}
		}
		
		objs=document.getElementsByTagName("a");
		
		for (i=0;i<objs.length;i++) {
			try {
				objs[i].style.fontSize=mFont+'px';
			} catch(e) {}
		}
		
		objs=document.getElementsByTagName("th");
		
		for (i=0;i<objs.length;i++) {
			try {
				objs[i].style.fontSize=mFont+'px';
			} catch(e) {}
		} 
		
		objs=document.getElementsByTagName("span");
		
		for (i=0;i<objs.length;i++) {
			try {
				objs[i].style.fontSize=mFont+'px';
			} catch(e) {}
		}

} 


function printArea(){
		/*
		printIframe.document.body.style.zoom = 1.5;
		var area = document.getElementById("center_area").innerHTML;
		printIframe.document.getElementById("center_area").innerHTML = area;
		printIframe.focus(); //ÀÎ¼âÇÒ ¿µ¿ªÀ¸·Î Æ÷Ä¿½º¸¦ ¸ÂÃá µÚ
		printIframe.printIframeArea();
		/*
		window.print();
		*/
		window.print();
		
	}



//¸ðµç ·¹ÀÌ¾î Open
function allLayerOpen(){
	document.getElementById('popupWrapper').style.visibility = 'visible';
	document.getElementById('sitePopup').style.visibility = 'visible';
}

//¸ðµç ·¹ÀÌ¾î Close
function allLayerClose(){
	document.getElementById('popupWrapper').style.visibility = 'hidden';
	document.getElementById('sitePopup').style.visibility = 'hidden';
}


//TAB °øÁö±Û
function show_img_sub(obj,num,total){
	var max = document.getElementsByName(total);
	for(var i=1; i<=max.length; i++){
		var txt=max[i-1].src;
		var lastIndex=txt.lastIndexOf("_");
		if(i == num){
			if(txt.substring(lastIndex+1) != '.jpg'){
				document.getElementById(obj+i).style.display = 'block';
				max[i-1].src = max[i-1].src.replace(".jpg","_on.jpg");
				max[i-1].parentNode.className='on';
			}
		}else{
			document.getElementById(obj+i).style.display = 'none';
			max[i-1].src = max[i-1].src.replace("_on.jpg",".jpg");
			max[i-1].parentNode.className='';
		}
	}
}

//¸ðµç ·¹ÀÌ¾î Open : SDAProsess
function sdaLayerOpen01(){
	document.getElementById('sdapopup_01').style.visibility = 'visible';
}
function sdaLayerOpen02(){
	document.getElementById('sdapopup_02').style.visibility = 'visible';	
}
function sdaLayerOpen03(){
	document.getElementById('sdapopup_03').style.visibility = 'visible';
}
function sdaLayerOpen04(){
	document.getElementById('sdapopup_04').style.visibility = 'visible';
	
}

//¸ðµç ·¹ÀÌ¾î Close
function sdaLayerClose(){
	document.getElementById('sdapopup_01').style.visibility = 'hidden';
	document.getElementById('sdapopup_02').style.visibility = 'hidden';
	document.getElementById('sdapopup_03').style.visibility = 'hidden';
	document.getElementById('sdapopup_04').style.visibility = 'hidden';
	document.getElementById('sdapopup_05').style.visibility = 'hidden';
}



-->

