
function right(e){
	if( navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
		return false;
	} else if( navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3 )){
		alert("¿À¸¥ÂÊ ¸¶¿ì½º ¹öÆ°Àº »ç¿ë ¸øÇÕ´Ï´Ù");
		return false;
	}
	
		return true;
	}
	document.onmousedown = right;
	
	if( document.layers){
		window.captureEvents(Event.MOUSEDOWN);
		window.onmousedown = right;
	}

// title
document.title=" :: Çö´ëÇØ¿î ::";

// Àý´ë°æ·Î 
var pub = "/";	

//  ÇÃ·¡½Ã xml°æ·Î
var XMLpath = "/img/flash/";

// openwindow ½ºÅ©·ÑÀÌ ¾øÀ» ¶§
function OpenWindow(url,intWidth,intHeight) { 
 l = (screen.width) ?	(screen.width-intWidth)	/ 2	: 0;
 t = (screen.height) ?	(screen.height-intHeight)  / 2	: 0;
      window.open(url, "_blank", "width="+intWidth+",height="+intHeight+",top="+t+",left="+l+",resizable=0,scrollbars=0") ;
}

// openwindow ½ºÅ©·ÑÀÌ ÀÖÀ» ¶§
function OpenWindow_s(url,intWidth,intHeight) { 
 l = (screen.width) ?	(screen.width-intWidth)	/ 2	: 0;
 t = (screen.height) ?	(screen.height-intHeight)  / 2	: 0;
      window.open(url, "_blank", "width="+intWidth+",height="+intHeight+",top="+t+",left="+l+",resizable=0,scrollbars=1") ;
}

//Popup 		
function popup(Fn,Name, X, Y, Scroll) {
 NewWindow=window.open(Fn,Name,'width='+X+',height='+Y+',top=10,left=10,scrollbars='+Scroll+',toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

//¿Â¶óÀÎÃ¤¿ë 
function RecruitPop() {
 NewWindow=window.open('/company/recruit_online_pop01.html','recruit','width=815,height=700,top=10,left=10,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

//¿ë¾î¼³¸í
function dic() {
 NewWindow=window.open('/support/dictionary.jsp','dic','width=630,height=675,top=10,left=10,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}

//±¹°¡º°Á¤º¸
function nation() {
 NewWindow=window.open('/nation/nation.html','nation','width=920,height=695,top=10,left=10,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,resizable=yes,menubar=no');
}

//ºê·Î½´¾î
function brochurePop() {
 NewWindow=window.open('/support/pop_brochure.html','brochure','width=915,height=735,top=0,left=0,scrollbars=no,toolbar=no,location=no,directories=no,status=no,resizable=yes,menubar=no');
}

//Á¦¾È¼­
function proposalPop() {
 NewWindow=window.open('/support/pop_proposal.html','proposal','width=915,height=735,top=0,left=0,scrollbars=no,toolbar=no,location=no,directories=no,status=no,resizable=yes,menubar=no');
}

// Æ÷ÀåÀÌ»ç½Ã¹Ä·¹ÀÌ¼Ç
function PackWin() { 
intWidth = 835;
intHeight = 560;
 l = (screen.width) ?	(screen.width-intWidth)	/ 2	: 0;
 t = (screen.height) ?	(screen.height-intHeight)  / 2	: 0;
      window.open("/common/p_simulation.html", "_blank", "width="+intWidth+",height="+intHeight+",top="+t+",left="+l+",resizable=0,scrollbars=0") ;
}

// Çì¿ÜÀÌ»ç½Ã¹Ä·¹ÀÌ¼Ç
function WorldWin() { 
intWidth = 835;
intHeight = 560;
 l = (screen.width) ?	(screen.width-intWidth)	/ 2	: 0;
 t = (screen.height) ?	(screen.height-intHeight)  / 2	: 0;
      window.open("/common/o_simulation.html", "_blank", "width="+intWidth+",height="+intHeight+",top="+t+",left="+l+",resizable=0,scrollbars=0") ;
}

//¿Â¶óÀÎ°¡»ó°ßÀû
function Online_estimate() { 
intWidth = 1006;
intHeight = 710;
 l = (screen.width) ?	(screen.width-intWidth)	/ 2	: 0;
 t = (screen.height) ?	(screen.height-intHeight)  / 2	: 0;
      window.open("/common/estimate.html", "_blank", "width="+intWidth+",height="+intHeight+",top="+t+",left="+l+",resizable=0,scrollbars=0") ;
}



//Ã¤¿ë ¿­¸®°í ´ÝÈû
	var curr_s1 = "plus";

	function toggle(a)
	{ 
		if (curr_s1 == "plus")
		{	
			curr_s1 = "minus";
			document.getElementById("icon"+a).src = "/img/common/bult_minus.gif";
			document.getElementById("aa"+a).style.display = "block";
			
		} else 	{
			curr_s1 = "plus";
			document.getElementById("icon"+a).src = "/img/common/bult_plus.gif";
			document.getElementById("aa"+a).style.display = "none";
		}
	}

function cshowImg(imgName,imgSrcOv,imgSrcOff) {
    var imgch = imgName.getElementsByTagName('img')[0];

    if (imgch.getAttribute('src') == "/img/common/"+imgSrcOv+".gif") {
        imgch.setAttribute('src', "/img/common/"+imgSrcOff+'.gif');
    } else{
        imgch.setAttribute('src', "/img/common/"+imgSrcOv+'.gif');
    }
}

function cshow(imgName,imgSrcOv,imgSrcOff,idName) {
    var menu = eval("document.all."+idName+".style");
	var imgch = imgName.getElementsByTagName('img')[0];
    if (menu.display=="block") {
        menu.display="none";
		imgch.setAttribute('src', "/img/common/bult_plus.gif");
    } else {
        menu.display="block";
		imgch.setAttribute('src', "/img/common/bult_minus.gif");
    }
}


//1Depth Menu rollOn 
function ImgPreLoad(imgTitle, imageNum) {
		imageNum++;
		rollOn = new Array(imageNum);
		rollOff = new Array(imageNum);
		for (j = 1; j <= imageNum; j++) {
			if (j < 10) {
				tmp = "0";
			} else {
				tmp ="";
			}
			rollOn[j] = new Image();
			rollOn[j].src = imgTitle + tmp + j + "_on.gif";
			rollOff[j] = new Image();
			rollOff[j].src = imgTitle + tmp + j + ".gif";
		}
	}
	function imgOn(Num) {
    if (rollOn[Num] != null) {	
				document["T"+Num].src = rollOn[Num].src;
		}
	}
	function imgOff(Num) {
		if (rollOn[Num] != null) {
			if (Num != _MCurrentOn) {
				document["T"+Num].src = rollOff[Num].src;
			}
      else {  
      document["T"+Num].src = rollOn[Num].src;
      }
	}
}

//iframe ±æÀÌ ´Ã¾î³ª±â
function resizeHeight(fr) {
  fr = typeof fr == 'string' ? document.getElementById(fr) : fr;
  fr.setExpression('height',detail.document.body.scrollHeight);
}
function resizeHeight2(fr) {
  fr = typeof fr == 'string' ? document.getElementById(fr) : fr;
  fr.setExpression('height',clearance.document.body.scrollHeight);
}

//¼¿·ºÆ® Á¡ÇÁ¸Þ´©(Å¬¶óÀÌ¾ðÆ®¸®½ºÆ®)
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
detail.location.href = URL;
}

// [Á¡¼± ¾ø¾Ö±â] ½ÃÀÛ ###########################################################################-->
function allblur() {
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
}
document.onfocusin = allblur;
// [Á¡¼± ¾ø¾Ö±â] ³¡   ###########################################################################-->
	
	
	

function Top()	{//»ó´Ü³×ºñ
document.write('<div id="top">');
document.write('<script language="JavaScript">Top_navi();</script>');
document.write('</div>');
document.write('<div id="wrapper"><!--wrapper--><div id="outer1"><!--outer1--><div  id="outer0"><!--outer0-->');
document.write('<div id="center"><!--center-->');
document.write(' 	<div id="incenter"><!--incenter -->');
document.write('		<div id="head-title"><img src="/img/common/title_bult_'+SectionName+'.gif" width="18" height="18" alt="" border="0"><img src="/img/title/h1_'+SectionName+'_0'+depth2+'0'+depth3+'.gif" hspace="8"><br><img src="/img/title/copy_'+SectionName+'_0'+depth2+'0'+depth3+'.gif" height="10" hspace="26" vspace="4"></div>');
}

function Bottom(){//¼­ºêÇÏ´Ü
document.write('</div><!--//incenter -->');
document.write('<script lanauage="javascript">Footer();</script>');
document.write('</div><!--center-->');
document.write('<div id="left">');
if ( SectionName == "support" ){
	document.write('<script language="JavaScript">Left_flash_support();</script>');
}
else {
	document.write('<script language="JavaScript">Left_flash();</script>');
}
document.write('</div>');
document.write('</div><!--//outer0--></div><!--//outer1--></div><!--//wrapper-->');
//¿À¸¥ÂÊ¹è³Ê+ÇØ¿ÜÀÌ»ç°øÅëÁ¤º¸
if ( SectionName == 'main' ) {
document.write('<div style="position:absolute; top:90px; left:895px; z-index:10;">');
} else {
document.write('<div style="position:absolute; top:324px; left:895px; z-index:10;">');
document.write('<a href="javascript:nation();"><img src="/img/common/right_banner.gif" border="0" style="margin-bottom:5px;"></a><br>');
}
document.write('<a href="http://www.lottedfs.com/handler/EventHyundaishippingAlliance-Start">');
document.write('<img src="/img/common/layer1_20110720.jpg" alt="" border="0" style="margin-bottom:18px;"></a><br/>');
document.write('<a href=javascript:GoUrl("lcl01")><img src="/img/common/layer_dreamback.jpg" alt="" border="0" style="margin-top:-13px;">');
document.write('</a><br/><a href=javascript:GoUrl("car")><img src="/img/common/right_banner_car.gif" alt="" border="0" style="margin-top:5px;">');
document.write('</a></div>');
callCPCGUARD();
callNaverScript();
}

function Footer(){
//ÇÏ´Ü¸ð¾ç
if ( SectionName == 'popup' ) {
	document.write("<div id='bottom-pop'><div id='inbottom-pop'><!--footer-->");
}	
else if ( SectionName == 'main' ) {
	document.write("<div id='bottom-main'><div id='inbottom-main'><!--footer-->");
}	
else{
	document.write("<div id='bottom'><div id='inbottom'><!--footer-->");
	document.write("<div style='position:relative;'><div style='position:absolute;left:692px;top:-50px;'><a href='#top'><img src='/img/common/top.gif' width='9' height='33' border='0'></a></div></div>");
}

document.write("<table cellpadding='0' cellspacing='0'><tr><td height='12'></td></tr></table>");
document.write("	<div class='content-box' width='100%'>");
document.write("		<div class='round-c-t' style='height:15px'><img src='/img/common/round_15_tr.gif'></div>");
if ( SectionName == 'main' ) {
document.write("		<div class='round-c-side' style='width:100%'>");
} else {
document.write("		<div class='round-c-side'>");
}
document.write('			<table cellpadding="0" cellspacing="0" width="100%" align="center">');
document.write('			<tr>');
document.write("				<td width='85' style='padding-left:9px;'><img src='/img/common/footer_ci.gif' width='74' height='52' border='0'></td>");
document.write('				<td width="345"><img src="/img/common/footer.gif" width="425" height="52" alt="" border="0" usemap="#f_menu"></td>');
document.write("				<td align='right' valign='top' style='padding-right:13px;'>");
document.write("				<table cellpadding='0' cellspacing='0'>");
document.write("						<tr><td><script language='JavaScript'>footer_banner();</script></td></tr>");
//document.write("						<td><a href='http://www.cyhds.com/pr/press.jsp?nm_BbsId=press&pk_num=91' onmouseover=document.C1.src='/img/common/footer_ci01_on.gif' onmouseout=document.C1.src='/img/common/footer_ci01.gif' ><img src='/img/common/footer_ci01.gif' width='63' height='43' border='0' name='C1'></a></td>")
//document.write("						<td><a href='http://www.cyhds.com/pr/press.jsp?nm_BbsId=press&pk_num=574' onmouseover=document.C2.src='/img/common/footer_ci02_on.gif' onmouseout=document.C2.src='/img/common/footer_ci02.gif' ><img src='/img/common/footer_ci02.gif' width='65' height='43' border='0' name='C2'></a></td>")
//document.write("						<td><a href='http://www.cyhds.com/pr/press.jsp?nm_BbsId=press&pk_num=562' onmouseover=document.C3.src='/img/common/footer_ci03_on.gif' onmouseout=document.C3.src='/img/common/footer_ci03.gif' ><img src='/img/common/footer_ci03.gif' width='44' height='43' border='0' name='C3'></a></td>")
document.write("				</table>");
document.write("				</td>");
document.write("			</tr>");
//document.write("			<tr><td height=5></td></tr>")
document.write("			</table>");
document.write('	<map name="f_menu">');
document.write('	<area alt="°³ÀÎÁ¤º¸ Ãë±Þ¹æÄ§" coords="0,0,66,12" href=javascript:GoUrl("hds_private") onfocus="blur()">');
document.write('	<area alt="¿î¼Û¾à°ü" coords="65,0,108,12" href=javascript:GoUrl("agree") onfocus="blur()">');
document.write('	<area alt="¹®ÀÇ¾È³»" coords="105,0,150,12" href=javascript:GoUrl("coop") onfocus="blur()">');
document.write('	<area alt="ÀÌ¸ÞÀÏ¹«´Ü¼öÁý°ÅºÎ" coords="156,0,230,12" href=javascript:OpenWindow("/etc/popup_email.html","430","220") onfocus="blur()">');
document.write('	<area alt="¸ÞÀÏ" coords="150,16,240,23" href="mailto:hyundal@cyhds.com" onfocus="blur()">');
document.write('	</map>');
document.write("		</div><!-- //round-c-side -->");
document.write("		<div class='round-c-b'><img src='/img/common/round_10_br.gif'></div>");
document.write("	</div><!-- //content-box -->");
document.write("</div></div><!--//footer-->");
document.write("<table cellpadding='0' cellspacing='0'><tr><td height='10'></td></tr></table>");
document.write('<script type="text/javascript" language="javascript">var HTTP_MSN_MEMBER_NAME = "";</script>');//È¸¿ø¸í (·Î±×ÀÎ ¼¼¼Ç)
document.write('<script type="text/javascript" src="http://asp7.http.or.kr/HTTP_MSN/UsrConfig/hds8000/js/ASP_Conf.js" defer="defer"></script>');
document.write('<noscript><img src="http://asp7.http.or.kr/HTTP_MSN/Messenger/Noscript.asp?key=hds8000" border="0" width="0" height="0" style="display:none;"/></noscript>');
callCPCGUARD();
callNaverScript();
}

function client(){
document.write('<table border="0" cellpadding="0" cellspacing="0">');
document.write('			<tr>');
document.write('				<td><img src="../img/client/copy.gif" width="374" height="51" alt="" border="0"></td>');
document.write('			</tr>');
document.write('			<tr>');
document.write('				<td height="10"></td>');
document.write('			</tr>');
document.write('			<tr>');
document.write('				<td><img src="../img/client/client_menu.gif" width="639" height="123" alt="" border="0" usemap="#client_mu"></td>');
document.write('			</tr>');
document.write('			<tr>');
document.write('				<td height="20"></td>');
document.write('			</tr>');
document.write('			</table>');
document.write('			<map name="client_mu">');
document.write('<area alt="" coords="30,18,138,34" href="/common/client_list01.html#list01" onfocus="blur();">');
document.write('<area alt="" coords="162,18,264,34" href="/common/client_list01.html#list02" onfocus="blur();">');
document.write('<area alt="" coords="280,18,379,34" href="/common/client_list01.html#list03" onfocus="blur();">');
document.write('<area alt="" coords="398,18,498,34" href="/common/client_list01.html#list04" onfocus="blur();">');
document.write('<area alt="" coords="518,18,620,34" href="/common/client_list02.html#list01" onfocus="blur();">');

document.write('<area alt="" coords="30,36,138,50" href="/common/client_list02.html#list02" onfocus="blur();">');
document.write('<area alt="" coords="162,36,264,50" href="/common/client_list02.html#list03" onfocus="blur();">');
document.write('<area alt="" coords="280,36,379,50" href="/common/client_list02.html#list04" onfocus="blur();">');
document.write('<area alt="" coords="398,36,498,50" href="/common/client_list02.html#list05" onfocus="blur();">');
document.write('<area alt="" coords="518,36,620,50" href="/common/client_list03.html#list01" onfocus="blur();">');

document.write('<area alt="" coords="30,54,138,70" href="/common/client_list03.html#list02" onfocus="blur();">');
document.write('<area alt="" coords="162,54,264,70" href="/common/client_list03.html#list03" onfocus="blur();">');
document.write('<area alt="" coords="280,54,379,70" href="/common/client_list03.html#list04" onfocus="blur();">');
document.write('<area alt="" coords="398,54,498,70" href="/common/client_list03.html#list05" onfocus="blur();">');
document.write('<area alt="" coords="518,54,620,70" href="/common/client_list03.html#list06" onfocus="blur();">');

document.write('<area alt="" coords="30,71,138,90" href="/common/client_list03.html#list07" onfocus="blur();">');
document.write('<area alt="" coords="162,71,264,90" href="/common/client_list04.html#list01" onfocus="blur();">');
document.write('<area alt="" coords="280,71,379,90" href="/common/client_list04.html#list02" onfocus="blur();">');
document.write('<area alt="" coords="398,71,498,90" href="/common/client_list04.html#list03" onfocus="blur();">');
document.write('<area alt="" coords="518,71,620,90" href="/common/client_list04.html#list04" onfocus="blur();">');

document.write('<area alt="" coords="30,89,138,105" href="/common/client_list04.html#list05" onfocus="blur();">');
document.write('<area alt="" coords="162,89,264,105" href="/common/client_list04.html#list06" onfocus="blur();">');
document.write('<area alt="" coords="280,89,379,105" href="/common/client_list04.html#list07" onfocus="blur();">');
document.write('<area alt="" coords="398,89,498,105" href="/common/client_list04.html#list08" onfocus="blur();">');
document.write('<area alt="" coords="518,89,620,105" href="/common/client_list05.html" onfocus="blur();">');
document.write('</map>');
}

// Tab Content
function initTabMenu(tabContainerID) {
	var tabContainer = document.getElementById(tabContainerID);
	var tabAnchor = tabContainer.getElementsByTagName("a");
	var i = 0;

	for(i=0; i<tabAnchor.length; i++) {
		if (tabAnchor.item(i).className == "tab")
			thismenu = tabAnchor.item(i);
		else
			continue;

		thismenu.container = tabContainer;
		thismenu.targetEl = document.getElementById(tabAnchor.item(i).href.split("#")[1]);
		thismenu.targetEl.style.display = "none";
		thismenu.imgEl = thismenu.getElementsByTagName("img").item(0);
		thismenu.onclick = function tabMenuClick() {
			currentmenu = this.container.current;
			if (currentmenu == this)
				return false;

			if (currentmenu) {
				currentmenu.targetEl.style.display = "none";
				if (currentmenu.imgEl) {
					currentmenu.imgEl.src = currentmenu.imgEl.src.replace("_on.gif", ".gif");
				} else {
					currentmenu.className = currentmenu.className.replace("on", "");
				}
			}
			this.targetEl.style.display = "";
			if (this.imgEl) {
				this.imgEl.src = this.imgEl.src.replace(".gif", "_on.gif");
			} else {
				this.className += " on";
			}
			this.container.current = this;

			return false;
		};

		if (!thismenu.container.first)
			thismenu.container.first = thismenu;
	}
	if (tabContainer.first)
		tabContainer.first.onclick();
}

function openCommonPopup(url) {
	window.open(url,"","menubar=no,toolbar=no");
}

// CPCGUARD ½ºÅ©¸³Æ®1
var cpc_protocol="";
var cpc_script_host="";
var cpc_script_image="";
function callCPCGUARD() {
	cpc_protocol = document.location.protocol || "http:";
	cpc_script_host = ["//nsc1.cpcguard.com","//vsc1.cpcguard.com"];
	cpc_script_image = cpc_protocol + cpc_script_host[0] + "/cpcguard.gif?cache=" + (new Date()).getTime();
	if(!document.getElementById("include_cpc_script")){document.write("<img src='" + cpc_script_image + "' style='width:1px;height:1px;position:absolute;' onload='cpcguard_script_bind(0)' onerror='cpcguard_script_bind(1)' />");}
}

// CPCGUARD ½ºÅ©¸³Æ®2
function cpcguard_script_bind(i){
	try{
		var _head = document.getElementsByTagName("head")[0] || document.documentElement;
		if(_head){
		var _script = document.createElement("script"); _script.id = "include_cpc_script"; _script.type = "text/javascript"; _script.charset = "utf-8"; _script.async = true; _script.src = (cpc_protocol + cpc_script_host[i] + "/new/cpc_script.js"); 
		_head.appendChild(_script);
		} else{
			window.setTimeout(arguments.callee(i),500);
		}
	} catch(e){ alert(e); }
}

function callNaverScript() {
	if( typeof _TGCD == 'undefined'){
	var _TGCD = 'AB4A363927103390'; var _JV="AMZ2008090201"; var _TGUL = 'cts11.acecounter.com';var _TGPT='80';
	var _bn=navigator.appName; var _UD='undefined';var _UN='unknown'; var _TDC = document.cookie ;
	function _TIDV(a){return (typeof a!=_UD)?1:0}; function _TIX(s,t){return s.indexOf(t)};function _TGV(b,a,c,d){ var f = b.split(c);for(var i=0;i<f.length; i++){ if( _TIX(f[i],(a+d))==0) return f[i].substring(_TIX(f[i],(a+d))+(a.length+d.length),f[i].length); }	return ''; };function _XV(b,a,c,d,e){ var f = b.split(c);var g='';for(var i=0;i<f.length; i++){ if( _TIX(f[i],(a+d))==0){ try{eval(e+"=f[i].substring(_TIX(f[i],(a+d))+(a.length+d.length),f[i].length);");}catch(_e){}; continue;}else{ if(g) g+= '&'; g+= f[i];}; } return g;};
	function _TNOB(a){return (a!=_UD&&a>0)?new Object(a):new Object()}; function _TNIM(){return new Image()}; function _TIL(a){return a!=_UD?a.length:0};function _TILF(a){ var b = 0; try{eval("b = a.length");}catch(_e){b=0;}; return b; };
	 function _LST(a,b){if(_TIX(a,b)) a=a.substring(0,_TIL(a));return a}; function _CST(a,b){if(_TIX(a,b)>0) a=a.substring(_TIX(a,b)+_TIL(b),_TIL(a));return a}; function _UL(a){a=_LST(a,'#');a=_CST(a,'://');return a}; function _AA(a){return new Array(a?a:0)}; 
	function _TAGC(nm) { var cn = nm + "="; var nl = cn.length; var cl = _TDC.length; var i = 0; while ( i < cl ) { var j = i + nl; if ( _TDC.substring( i, j ) == cn ){ var val = _TDC.indexOf(";", j ); if ( val == -1 ) val = _TDC.length; return unescape(_TDC.substring(j, val)); }; i = _TDC.indexOf(" ", i ) + 1; if ( i == 0 ) break; } return ''; }; function _TASC( nm, val, exp ,dm ){var expd = new Date(); if ( exp ){ expd.setTime( expd.getTime() + ( exp * 1000 )); document.cookie = nm+"="+ escape(val) + "; expires="+ expd.toGMTString() +"; path=/; domain="+dm+"; "; }else{ document.cookie = nm + "=" + escape(val)+"; path=/; domain="+dm+"; ";};}; function SetUID() {     var newid = ''; var d = new Date(); var t = Math.floor(d.getTime()/1000); newid = 'UID-' + t.toString(16).toUpperCase(); for ( var i = 0; i < 16; i++ ){ var n = Math.floor(Math.random() * 16).toString(16).toUpperCase(); newid += n; }       return newid; }; 
	var _TFCV = _TAGC("CTSFCID"); if ( !_TFCV ) { _TFCV = SetUID(); _TASC( "CTSFCID", _TFCV , 86400 * 30 * 12 , _CDM ); _TFCV=_TAGC("CTSFCID");}
	var _NIU = _TNIM(); var _d=_rf=_fwd=_arg=_bv=_rl=_Tak=_xrl=_rft='',_je='n',_bR='blockedReferrer';
	if( !_TIDV(_CDM)) var _CDM = document.domain; if( _CDM == '' ) var _CDM = document.domain; if( !_TIDV(_RFL)) var _RFL = ''; if( !_TIDV(_CNM)) var _CNM = ''; if( !_TIDV(_CNV)) var _CNV = ''; if( typeof _CNV == 'string' ) _CNV = _CNV.replace(/[^0-9]/g,'');
	function _S_TAG(s){ var o = new RegExp(); o= /[<][^>]*[>]/gi; return s.replace(o,""); }
	function _G_TAG(n,a,d){ var b=document.getElementsByTagName(n);if( b.length <= 0 ) return ''; for(var c=0;c<b.length; c++ ){ if( typeof b[c].innerHTML != _UD && _TIX(b[c].innerHTML.toString().replace(/ /g,''),a) >= 0 ){ if( typeof b[c+d].innerHTML != _UD ){ return b[c+d].innerHTML; };};}; return '';};
	if( typeof _CNM == _UD || _CNM == '' ){ if( _CNV == '' && document.URL.indexOf('orderend') > 0){ /* for Makeshop */ try{ _CNV=document.getElementById('mk_totalprice').innerHTML;}catch(_e){}; if(_CNV.replace(/[^0-9]/g,'')=='') _CNV = _G_TAG('b','°áÁ¦±Ý¾×',1); _CNV = _S_TAG(_CNV); _CNV = _CNV.replace(/[^0-9]/g,''); }; if( _CNV == '' && document.URL.indexOf('cart_result') > 0){ /* Whois */ var _CNVT = _G_TAG('td','°áÁ¦±Ý¾×',0); _CNVT = _CNVT.toLowerCase(); _CNV = _CNVT.substring(_CNVT.indexOf('°áÁ¦±Ý¾×')+1,_CNVT.indexOf('</td>',_CNVT.indexOf('°áÁ¦±Ý¾×')+5)); _CNV = _S_TAG(_CNV); _CNV = _CNV.replace(/[^0-9]/g,''); }; if( _CNV == '' && document.URL.indexOf('order_result') > 0){ /* Cafe24 */ var _CNVT = _G_TAG('td','ÃÑ±¸¸Å¾×',0); _CNVT = _CNVT.toLowerCase(); _CNV = _CNVT.substring(_CNVT.indexOf('ÃÑ±¸¸Å¾×'),_CNVT.indexOf('</b>',_CNVT.indexOf('ÃÑ±¸¸Å¾×'))); _CNV = _S_TAG(_CNV); _CNV = _CNV.replace(/[^0-9]/g,''); }; if(document.URL.indexOf('url=Orderresult') > 0){ /* Cafe24 II*/ _CNV=(function(){var obj = document.getElementsByTagName('td');var innerTextLen = -1;var targetK;for(var k in obj){try{if(innerTextLen<0) {innerTextLen=obj[k].innerHTML.length;targetK=k;};if(obj[k].innerHTML.indexOf('ÃÑ ÁÖ¹®ÇÕ°è ±Ý¾×')<0) continue;if(innerTextLen>obj[k].innerHTML.length) {innerTextLen = obj[k].innerHTML.length;targetK=k;};}catch(_e){};};return(obj[++targetK].innerHTML.replace(/[^0-9]/g,''));})();};	if(document.URL.indexOf('order_end.php') > 0){ /* Godomall */ var _CNV= _S_TAG('b','¿ø',0);_CNV = _CNV.replace(/[^0-9]/g,'');}; if(typeof EL_amt != _UD) { if(EL_amt>0) { var _CNV= EL_amt; _CNV = _CNV.replace(/[^0-9]/g,''); }; }; if( typeof ovt_amount != _UD && ovt_amount != ''){ _CNV = ovt_amount ;}; if( _CNV != '' ){ _CNM = "±¸¸Å¿Ï·á"; }; };
	_je = (navigator.javaEnabled()==true)?'1':'0';_bn=navigator.appName; if(_bn.substring(0,9)=="Microsoft") _bn="MSIE";
	_bN=(_bn=="Netscape"),_bI=(_bn=="MSIE"),_bO=(_TIX(navigator.userAgent,"Opera")>-1);if(_bO)_bI=''; if((_bn=="MSIE")&&(parseInt(_bv)==2)) _bv=3.01;_rf=document.referrer;var _prl='';var _frm=false;
	function _TPT(){return location.protocol=="https:"?"https://"+_TGUL:"http://"+_TGUL+":"+_TGPT}; function _NA(a){return new Array(a?a:0)}; 
	function CTS_PL(a){if(!_TIL(a))a=_UL(document.URL); _arg = _TPT()+'/?ouid='+_TGCD+'&sv='+_JV+"&FCV="+_TFCV; _NIU.src = _arg+"&url="+escape(a)+"&ref="+escape(_rf)+"&je="+_je+"&ad_key="+escape(_Tak)+"&dm="+_CDM+"&dvt="+_DVT+"&cnm="+escape(_CNM)+"&cnv="+_CNV+"&rft="+escape(_rft)+"&RID="+Math.random()+"&"; setTimeout("",300); };
	if( top && typeof top == 'object' &&_TILF(top.frames)){eval("try{_rl=top.document.URL;}catch(_e){_rl='';};"); if( _rl != document.URL ) _frm = true;};
	if(_frm){ eval("try{_prl = top.document.URL;}catch(_e){_prl=_bR;};"); if(_prl == '') eval("try{_prl=parent.document.URL;}catch(_e){_prl='';};"); 
	if( _TIX(_prl,'#') > 0 ) _prl=_prl.substring(0,_TIX(_prl,'#')); _prl=_LST(_prl,'#'); if( _TIX(_rf,'#') > 0 ) _rf=_rf.substring(0,_TIX(_rf,'#')); _prl=_LST(_prl,'/');_rf=_LST(_rf,'/');
	if( _rf == '' ) eval("try{_rf=parent.document.URL;}catch(_e){_rf=_bR;}"); if(_rf==_bR||_prl==_bR){ _rf='',_prl='';}; if( _rf == _prl ){ eval("try{_rf=top.document.referrer;}catch(_e){_rf='';}"); 
	if( _rf == ''){ _rf = 'bookmark';};if( _TIX(document.cookie,'CTSN_CK='+escape(_rf)) > -1 ){ _rf = _prl;} else{ if(_TIX(_prl,'?') > 0){ _prl = _prl.substring(_TIX(_prl,'?')+1,_prl.length); }; 
	if( _TIX(_prl,'NVAR=') >= 0 ){ _Tak = 'NVAR='+_TGV(_prl,'NVAR','&','=')+'&NVKWD='+_TGV(_prl,'NVKWD','&','=')+'&NVADKWD='+_TGV(_prl,'NVADKWD','&','=')+'&NVADID='+_TGV(_prl,'NVADID','&','='); }; 
	document.cookie='CTSN_CK='+escape(_rf)+';path=/;'; };};} else{ _rf=_LST(_rf,'#'); };
	if(document.URL.indexOf('NVAR=')>0 && ( _TIX(_Tak,'NVAR=') < 0 ) ){ _prl =document.URL.substring(document.URL.indexOf('?')+1,document.URL.length); _Tak = 'NVAR='+_TGV(_prl,'NVAR','&','=')+'&NVKWD='+_TGV(_prl,'NVKWD','&','=')+'&NVADKWD='+_TGV(_prl,'NVADKWD','&','=')+'&NVADID='+_TGV(_prl,'NVADID','&','='); }; _rl=document.URL; var _trl = _rl.split('?'); if(_trl.length>1){ _trl[1] = _XV(_trl[1],'FWDRL','&','=','_rf'); _rf = unescape(_rf); _fwd = _TGV(_trl[1],'FWDIDX','&','='); _rl=_trl.join('?'); }; if( _RFL != '' ) _rf = _RFL; _rl = _UL(_rl); _rf = _UL(_rf); if( _rl.length > 1023 ) _rl = _rl.substring(0,1023);if( _rf.length > 512 ) _rf = _rf.substring(0,512); _CKURL = _TAGC("CTSCKURL"); _CKURLC = _TAGC("CTSCKURLC"); var _DVT = '1'; _rf_dm = _rf.split('/'); 
	if( _CKURL != _Tak && _Tak != '' && (_rf_dm.length > 0 && _rf_dm[0].indexOf(_CDM) < 0) ) _TASC( "CTSCKURL", _Tak , 86400 * 15 , _CDM ); 
	var _CKDVT = _TAGC("CTSCKDVT"); if( _CKDVT == '' ){ if( _CKURL != '' && ( _CKURLC =='' || _TGV(_CKURLC,'CTSREF','&','=') == '' ) ){ _DVT = '2';}; if( _Tak != '' && (_rf_dm.length > 0 && _rf_dm[0].length > 0 && _rf_dm[0].indexOf(_CDM) < 0) ) _DVT = '1' ; _TASC( "CTSCKDVT", _DVT , 0 , _CDM ); }else{ _DVT = _CKDVT; }; if( _Tak == '' ) _Tak = _CKURL; if( _CKURLC == '' && _Tak != '' && (_rf_dm.length > 0 && _rf_dm[0].indexOf(_CDM) < 0) ){	_Tak += '&CTSREF='+_rf; _TASC( "CTSCKURLC", _Tak , 0 , _CDM ); };
	if( _CNM != '' ){ _rft = _TGV(_CKURLC,'CTSREF','&','='); }; if( typeof _rf==_UD||( _rf == '' )) _rf = 'bookmark' ;
	if(_CDM=='none'){CTS_PL(_rl);}else{ if( _Tak != '' ) CTS_PL(_rl); };
	}
}
