document.title = "*ÇÑ»ù* °¡°í½ÍÀº °÷, ¸Ó¹°°í ½ÍÀº °÷.";
document.write('<script type="text/javascript" src="/inc/js/common_url.js"></script>');

var IE = (navigator.appName.indexOf("Microsoft")>-1);
var IE6 = (navigator.appName.indexOf("Microsoft")>-1)&&(navigator.userAgent.indexOf("MSIE 6")>-1);
var IE7 = (navigator.appName.indexOf("Microsoft")>-1)&&(navigator.userAgent.indexOf("MSIE 7")>-1);

/*ActiveX ÇÃ·¡½¬*/
// id: flash id
// url: source url
// w: source width
// h: source height
// t: wmode (none/transparent/opaque)
function Flash(id,url,w,h,bg,t){
if("https:" == document.location.protocol)
	location_protocol = "https://";
else
	location_protocol = "http://";

document.write("\
<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='" + location_protocol + "fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width="+w+" height="+h+" id="+id+">\
<param name='movie' value="+url+" />\
<param name='wmode' value="+t+" />\
<param name='bgcolor' value="+bg+" />\
<param name='allowScriptAccess' value='sameDomain' />\
<param name='quality' value='high' />\
<param name='menu' value='false' />\
<embed src="+url+" wmode="+t+" width="+w+" height="+h+" name="+id+" bgcolor="+bg+" allowScriptAccess='sameDomain' quality='high' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
</object>\
");
}

//2008-02-01ÇÑ»ùÆÄÆ®³ÊÇÃ·¡½ÃÃß°¡
function FlashBase(id,url,w,h,bg,t){
document.write("\
<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width="+w+" height="+h+" id="+id+">\
<param name='movie' value="+url+" />\
<param name='wmode' value="+t+" />\
<param name='bgcolor' value="+bg+" />\
<param name='allowScriptAccess' value='sameDomain' />\
<param name='quality' value='high' />\
<param name='menu' value='false' />\
<param name='base' value='.' />\
<embed src="+url+" wmode="+t+" width="+w+" height="+h+" name="+id+" bgcolor="+bg+" allowScriptAccess='sameDomain' quality='high' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
</object>\
");
}

hn="0",sn="0",cn="0",tn="0",globalId="0",flaFarm="0";
function mnav(){ //»ó´Ü³×ºñ
try{
		var Depth = arguments.length;
		var DepthName = new Array("hn","sn","cn","tn");
		for(i=0;i<Depth;i++){
			if(i==0) hn =  arguments[i];if(i==1) sn =  arguments[i];if(i==2) cn =  arguments[i];if(i==3) tn =  arguments[i];
			if(arguments[i]!="") globalId = (i==0) ? arguments[i] : globalId+"_"+arguments[i] ;
			if(arguments[i]!="") flaFarm = (i==0) ?  DepthName[i]+"="+arguments[i] : flaFarm+"&"+DepthName[i]+"="+arguments[i] ;
		}
		var mnavHn = 1;
		if(hn>=1&&hn<=3) mnavHn = "1";
		else if(hn>=4&&hn<=9) mnavHn = "2";
		else if(hn>=30&&hn<=34||hn>=44&&hn<=48) mnavHn = "5";
		else mnavHn = hn;
		document.write("\<div style='height:100px;text-align:left;'><div id='mnavHead' class='mnavClose'>");
			Flash('top','https://www.hanssem.com/inc/fla/top'+mnavHn+'.swf?'+flaFarm+'&logCheck='+logCheck,'875','230','#ffffff','transparent');
		// ¼¼ÀÏÁî ¹®±¸
		if(hn==11) {
			document.write("<div style='position: absolute;top: 24px;left: 230px;width: 200px;height: 26px;'>");
			Flash('top','/inc/fla/top11_addl_sale.swf','210','26','#ffffff','opaque');
			document.write("</div>");
		}
		document.write("\</div></div>");
		//alert(flaFarm)
		if(hn==11){
			var shopTopNaviHtml = '<div id="shopAllView" onmouseover="shopAllList(1)" onmouseout="shopAllList(0)"><div class="allNavBtm">'
			+ '<dl id="topHowWiz">'
			+ '<dt><strong>ÇÑ»ùÇÏ¿ìÀ§Áî_</strong> ¿Â¶óÀÎÀü¿ë°¡±¸</dt>'
			+ '<dd>'
			+ '<div class="topHowWizBg">'
			+ '<ul><li>'
			+		'<dl><dt><script>name(11,1)</script></dt><dd><script>name(11,1,1);</script></dd><dd><script>name(11,1,2);</script></dd></dl>'
			+		'<dl><dt><script>name(11,2);</script></dt><dd><script>name(11,2,1);</script></dd><dd><script>name(11,2,2);</script></dd><dd><script>name(11,2,3);</script></dd></dl>'
			+		'<dl><dt><script>name(11,3);</script></dt><dd><script>name(11,3,1);</script></dd><dd><script>name(11,3,2);</script></dd><dd><script>name(11,3,3);</script></dd><dd><script>name(11,3,4);</script></dd></dl>'
			+ '</li><li>'
			+		'<dl><dt><script>name(11,4);</script></dt><dd><script>name(11,4,1);</script></dd><dd><script>name(11,4,2);</script></dd><dd><script>name(11,4,3);</script></dd><dd><script>name(11,4,4);</script></dd><dd><script>name(11,4,5);</script></dd></dl>'
			+		'<dl><dt><script>name(11,5);</script></dt><dd><script>name(11,5,1);</script></dd><dd><script>name(11,5,2);</script></dd></dl>'
			+		'<dl><dt><script>name(11,6);</script></dt><dd><script>name(11,6,1);</script></dd><dd><script>name(11,6,2);</script></dd></dl>'
			+ '</li><li>'
			+		'<dl><dt><script>name(11,7);</script></dt><dd><script>name(11,7,1);</script></dd><dd><script>name(11,7,2);</script></dd><dd><script>name(11,7,3);</script></dd><dd><script>name(11,7,4);</script></dd><dd><script>name(11,7,5);</script></dd></dl>'
			+		'<dl><dt><script>name(11,8);</script></dt><dd><script>name(11,8,1);</script></dd><dd><script>name(11,8,2);</script></dd><dd><script>name(11,8,3);</script></dd><dd><script>name(11,8,4);</script></dd><dd><script>name(11,8,5);</script></dd></dl>'
			+ '</li></ul>'
			+ '</div>'
			+ '</dd>'
			+ '</dl>'
			+ '<dl id="topInterior">'
			+ '<dt class="mgL10"><strong>ÇÑ»ùÀÎÅ×¸®¾î_</strong> ¼ÒÇ°¡¤ÆÐºê¸¯</dt>'
			+ '<dd>'
			+ '<div class="topInteriorBg">'
			+ '<ul><li>'
			+		'<dl><dt><script>name(11,9);</script></dt><dd><script>name(11,9,1);</script></dd><dd><script>name(11,9,2);</script></dd><dd><script>name(11,9,3);</script></dd><dd><script>name(11,9,4);</script></dd></dl>'
			+		'<dl><dt><script>name(11,10);</script></dt><dd><script>name(11,10,1);</script></dd><dd><script>name(11,10,2);</script></dd><dd><script>name(11,10,3);</script></dd><dd><script>name(11,10,4);</script></dd><dd><script>name(11,10,5);</script></dd><dd><script>name(11,10,6);</script></dd><dd><script>name(11,10,7);</script></dd><dd><script>name(11,10,8);</script></dd></dl>'
			+ '</li><li>'
			+		'<dl><dt><script>name(11,11);</script></dt><dd><script>name(11,11,1);</script></dd><dd><script>name(11,11,2);</script></dd><dd><script>name(11,11,3);</script></dd></dl>'
			+		'<dl><dt><script>name(11,12);</script></dt><dd><script>name(11,12,1);</script></dd><dd><script>name(11,12,2);</script></dd></dl>'
			+		'<dl><dt><script>name(11,13);</script></dt><dd><script>name(11,13,1);</script></dd><dd><script>name(11,13,2);</script></dd><dd><script>name(11,13,3);</script></dd><dd><script>name(11,13,4);</script></dd><dd><script>name(11,13,5);</script></dd></dl>'
			+ '</li><li>'
			+		'<dl><dt><script>name(11,14);</script></dt><dd><script>name(11,14,1);</script></dd><dd><script>name(11,14,2);</script></dd><dd><script>name(11,14,3);</script></dd><dd><script>name(11,14,4);</script></dd></dl>'
			+ '</li></ul>'
			+ '</div>'
			+ '</dd>'
			+ '</dl>'
			+ '<dl id="topIK">'
			+ '<dt class="mgL10"><!--<strong>¾ÆÀÌÄÉÀÌ_</strong> ºÎ¾ý°¡±¸--></dt>'
			+ '<dd>'
			+ '<ul><li>'
			+		'<dl class="mgL-10"><!--<dt><script>name(11,16);</script></dt><dd><script>name(11,16,1);</script></dd><dd><script>name(11,16,2);</script></dd>--></dl>'
			+ '</li></ul>'
			+ '</dd>'
			+ '</dl>'
			+ '<div class="shopBanner" style="margin-left:-108px !important;">'
			+ '<iframe width="100%" height="152" src="/jsp/shop/banner.jsp" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>'
			+ '</div>'
			+ '<div id="shopAllClose"><img src="/img/shop/img_topnavclose.gif" onclick="shopAllList(0)" alt="" /><img src="/img/ico/ico_close2.gif" class="close" onclick="shopAllList(0)" alt="" /></div></div></div>';
			document.write(shopTopNaviHtml);
		}
	}catch(e){}
}
function shopAllList(view){ //¼îÇÎ¸ô ÀüÃ¼º¸±â
	document.getElementById("shopAllView").style.display=(view)?"block":"none";
}
function mnavResize(view){
	document.getElementById("mnavHead").className = (view==0)?"mnavOpen":"mnavClose";
}
function productAllList(view){ //¸ÞÀÎ Á¦Ç° ÀüÃ¼º¸±â
	document.getElementById("productAllList").style.display=(view)?"block":"none";
}


function snav(code){ //LeftMenu
	var flaNum = (hn==10||hn==40||hn==99||sn==56)?hn+"_"+sn:hn;
	flaNum = (flaNum==45||flaNum==46)?45:flaNum;
	// ÇÏ´Ü ÃßÃµ¹è³Ê¿µ¿ª ÄÚµå
	var flaFarmAdd = "";
	if(code!=""){
		if(flaFarm!="") flaFarmAdd= "&cd="+code;
		else flaFarmAdd= "cd="+code;
	}
	if (hn) Flash('snav','/inc/fla/snav'+flaNum+'.swf?'+flaFarm+flaFarmAdd,'140','800','#ffffff','transparent')
	else if (hn==31) Flash('snav','/inc/fla/snav30.swf?'+flaFarm+flaFarmAdd,'140','800','#ffffff','transparent')
}


function snavcopy(code, adminCheck){ //LeftMenu  adminCheck´Â ÄíÅ°°ª¿¡¼­ '1'ÀÎÁö '0'ÀÎÁö ¹Þ¾Æ¿À´Â °ª
	var flaNum = (hn==10||hn==40||hn==99||sn==56)?hn+"_"+sn:hn;
	flaNum = (flaNum==45||flaNum==46)?45:flaNum;
	// ÇÏ´Ü ÃßÃµ¹è³Ê¿µ¿ª ÄÚµå
	var flaFarmAdd = "";
	if(code!=""){
		if(flaFarm!="") flaFarmAdd= "&cd="+code + "&adminCheck="+adminCheck;
		else flaFarmAdd= "cd="+code +"&adminCheck="+adminCheck;
	}
	//alert(flaFarmAdd);
	if (hn) Flash('snavcopy','/inc/fla/snav'+flaNum+'.swf?'+flaFarm+flaFarmAdd,'140','800','#ffffff','transparent')
	else if (hn==31) Flash('snavcopy','/inc/fla/snav30.swf?'+flaFarm+flaFarmAdd,'140','800','#ffffff','transparent')
}


function name(){
	var PageVar = "u";
	for(i=0;i<arguments.length;i++) PageVar += (i!=arguments.length-1)?arguments[i]+"_":arguments[i];
	document.write('<a href="'+eval(PageVar)[0]+'">'+eval(PageVar)[1]+'</a>')
}

function setString(node){
	var spStr = "" , last="";
	try{
		var url  = eval(node+"[0]");
		var name = eval(node+"[1]");
	}
	catch(e){
		document.write("¾ÆÀÌµð°¡ Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù : " + node);
	}
	var nodeId  = node;
	var spStr = " > ";
	if(node.lastIndexOf('_') != -1) setString(node.substring(0,node.lastIndexOf('_')));
	else lineMapStr += "<a href='"+eval("u0[0]")+"'><span class='home'>"+ eval("u0[1]")+"</span></a>" + spStr;
	if(currentPath != nodeId){
		lineMapStr += "<a href='"+url+"'>"+ name+"</a>" + spStr;
	}else{
		if(currentPath=="u11") lineMapStr += "<a href='"+url+"'>"+ name+"</a>";
		else lineMapStr += name;
	}
}

function path(){ //ÆÄÀÏÆÐ½º
	try{
		lineMapStr = "";
		index = 0;
		if(hn==11&&(sn<=49&&sn>=1)) globalId = 11; //¼îÇÎ¸ôÀÇ °æ¿ì ¸®½ºÆ®ÆäÀÌÁö´Â 2Depth ¾È³ªÅ¸³².
		currentPath="u"+globalId;
		setString("u"+globalId);
		document.write(""+lineMapStr);
	}catch(e){
		document.write("¿¹¿ÜÃ³¸® ¹ß»ý : " +  e);
	}
}

function link(){
	var url = "";
	var depth = arguments.length;
	try {
		if(depth==0) return;
		else if(depth==1) url = ("u"+arguments[0]+"[0]");
		else if(depth==2) url = ("u"+arguments[0]+"_"+arguments[1]+"[0]");
		else if(depth==3) url = ("u"+arguments[0]+"_"+arguments[1]+"_"+arguments[2]+"[0]");
		else if(depth==4) url = ("u"+arguments[0]+"_"+arguments[1]+"_"+arguments[2]+"_"+arguments[3]+"[0]");
		else if(depth==5) url = ("u"+arguments[0]+"_"+arguments[1]+"_"+arguments[2]+"_"+arguments[3]+"_"+arguments[4]+"[0]");
//		alert(url);
		for (i=0;i<=url.length;i++) url = url.replace("_0","");
		url = eval(url)
//		if(arguments[0] == 11)
//			for(i=0 ; i<depth ; i++)
//				url += "&cc" + i + "=" + arguments[i];

		if(url=="") alert("ÁØºñÁßÀÔ´Ï´Ù");
		else location.href = url;
	}catch(e) { alert("ÁØºñÁßÀÔ´Ï´Ù.." + e); }
}

function newLink(){
	var url = "";
	var depth = arguments.length;
	try {
		if(depth==0) return;
		else if(depth==1) url = ("u"+arguments[0]+"[0]");
		else if(depth==2) url = ("u"+arguments[0]+"_"+arguments[1]+"[0]");
		else if(depth==3) url = ("u"+arguments[0]+"_"+arguments[1]+"_"+arguments[2]+"[0]");
		else if(depth==4) url = ("u"+arguments[0]+"_"+arguments[1]+"_"+arguments[2]+"_"+arguments[3]+"[0]");
		else if(depth==5) url = ("u"+arguments[0]+"_"+arguments[1]+"_"+arguments[2]+"_"+arguments[3]+"_"+arguments[4]+"[0]");
		for (i=0;i<=url.length;i++) url = url.replace("_0","");
		url = eval(url)
		if(url=="") alert("ÁØºñÁßÀÔ´Ï´Ù");
		else window.open(url);
	}catch(e) { alert("ÁØºñÁßÀÔ´Ï´Ù.." + e); }
}

function WidgetClose(view){
	document.getElementById("wishBox").className = "close";
	if(IE6) rightBeat();
}

/* 2009-03-02
var whishHig=257;
function WidgetOpen(){
try{
	whishHig = (arguments.length>0) ? 457 : 257 ;
	document.getElementById("wishBox").className = (arguments.length>0) ? "max" : "open" ;
	if(IE6) rightBeat();
}catch(e){alert(1)}
}
*/
var whishHig=265; // 2009-02-25 ¼öÁ¤
function WidgetOpen(view){
try{
	whishHig = (arguments.length>0) ? 457 : 265 ;
	document.getElementById("wishBox").className = (arguments.length>0) ? "max" : "open" ;
	if(IE6) rightBeat();
}catch(e){alert(1)}

}
// 2009-02-25 ¼öÁ¤ //-->



function WidgetFla(view){
	var EIid=document.getElementById("wishList");
	if(view==0) EIid.SetVariable("wishFla",0);
	else EIid.SetVariable("wishFla",1);
	EIid.SetVariable("chNum",1);	
}

// ÇªÅÍ ÆîÄ¡±â
var old='';
function showFamily(num) {
	if(old!= num) {
		if(old!='') {
			eval("document.getElementById('FamilyBtn"+old+"').style.display='none';");
		}
		eval("document.getElementById('FamilyBtn"+num+"').style.display='block';");
		old=num;
	}
}

function go_check()
{ //¿¡½ºÅ©·Î ÆË¾÷ È£Ãâ
	var status  = "width=500 height=450 menubar=no,scrollbars=no,resizable=no,status=no";
	var obj     = window.open('', 'kcp_pop', status);
	
	document.shop_check.method = "post";
	document.shop_check.target = "kcp_pop";
	document.shop_check.action = "http://admin.kcp.co.kr/Modules/escrow/kcp_pop.jsp";

	document.shop_check.submit();
}

function copyRight(){ //ÇÏ´Ü ÇªÅÍ¿µ¿ª + TOP ¹öÆ°
	document.write('\<div class="Fsize"><address><img src="/img/common/footer.gif" class="Footer" usemap="#Footer" /></address>');
	var FooterCoppy = '<map name="Footer">'
	+ '<area shape="rect" coords="116,3,169,22" href="javascript:link(40,1);">'
	+ '<area shape="rect" coords="182,3,245,22" href="javascript:link(40,2);">'
	+ '<area shape="rect" coords="258,3,311,22" href="javascript:link(40,3);">'
	+ '<area shape="rect" coords="324,3,387,22" href="javascript:link(40,4);">'
	+ '<area shape="rect" coords="398,3,471,22" href="javascript:link(40,5);">'
	+ '<area shape="rect" coords="482,3,545,22" href="javascript:link(40,6);">'
	+ '<area shape="rect" coords="558,3,611,22" href="javascript:link(40,7);">'
	+ '<area shape="rect" coords="620,0,693,22" href="javascript:link(40,8);">'
	+ '<area shape="rect" coords="120,39,181,55" href="javascript:pop(\'/jsp/common/pop_auditor.jsp\',\'auditor\',509,625)">'
  	+ '<area shape="rect" coords="184,39,232,55" href="javascript:link(45,1);">'
	+ '<area shape="rect" coords="234,39,316,55" href="javascript:link(45,2);">'
	+ '<area shape="rect" coords="319,39,409,55" href="javascript:pop(\'/html/global/pop_email.html\',\'email\',439,316)">'
	+ '<area shape="rect" coords="411,39,461,55" href="javascript:popSSL(\'/jsp/common/pop_help.jsp\',\'help\',510,655)">'
	+ '<area shape="rect" coords="328,89,388,104" href="http://www.hanssem.com/cscenter/shopping_qna.asp?HSCODE=shop_2_7">'//2009-08-19 Ãß°¡
//	+ '<area shape="rect" coords="465,39,536,55" href="/mallinmall/mallinmall.asp">'
	+ '<area shape="rect" coords="465,39,536,55" href="javascript:link(41);">'
	//+ '<area shape="rect" coords="728,63,872,82" href="http://www.kitchenbach.com/" target="_blank">'
	+ '</map>'
	+ '<div id="businessInfo"><a href="/pop_businessInfo.jsp" onclick="window.open(this.href, \'pop_business\', \'width=585,height=410\'); return false;"><img src="/img/common/btn_businessInfo.gif" class="hand" alt="" ></a></div>'
	+ '<div id="FamilyBtn1" style="display:;"><img src="/img/common/footer_familysite.gif" onclick="showFamily(2);" class="hand" alt="" /></div>'
	+ '<div id="FamilyBtn2" style="display:none;">'
	+ '<img src="/img/common/footer_familysite_.gif" onclick="showFamily(1);" class="hand" alt="" style="vertical-align: top;" />'
	+ '<ul>'
	+ '<li><a href="http://www.serviceonemoving.co.kr/" target="_blank" onclick="showFamily(1);">ÇÑ»ù ¼­ºñ½º¿ø ¹«ºù</a></li>'
	+ '<li><a href="http://www.domus.co.kr/" target="_blank" onclick="showFamily(1);">µµ¹«½º</a></li>'
	+ '</ul>'
	+ '</div></div>'
	//+ '<div id="wishBox" class="close"><div id="wishF"><div id="wishE" onmouseover="WidgetFla(1)"><div class="wishCenter"><a href="javascript:WidgetOpen();">open</a><a href="javascript:WidgetOpen(1);">maxopen</a></div></div></div></div>'
	//+ '<div id="wishBox" class="close"><div id="wishF"><div id="wishE" onmouseover="WidgetFla(1)"><div class="wishCenter"><script>Flash("wishList","/inc/fla/wishlist.swf",970,457,"","transparent")</script></div></div></div></div>' // 2009-02-26 seungjin bae.: RIA ¿Ï·áÈÄ º¹¿ø ÇÊ¿ä
	+ '<div id="wishBox" class="close"><div id="wishF"><div id="wishE" onmouseover="WidgetFla(1)"><div class="wishCenter"><script>Flash("wishList","/inc_mall/fla/wishlist_new.swf",882,266,"","transparent")</script></div></div></div></div>'
	+ '<div id="divIfrmWnd" style="position:absolute; width:537px; height:353px; display:none;"><iframe id="ifrmWnd" frameborder="0" src="/common/blank.jsp" style="width:537px; height:353px;" scrolling="no"></iframe></div>'
	+ '<div style="padding:0 0 50px 15px;">'
	+ '<form name="shop_check" method="post" action="http://admin.kcp.co.kr/Modules/escrow/kcp_pop.jsp">'
	+ '<input type="hidden" name="site_cd" value="P7953">'
	+ '<img src="/img/common/footer_escrow.gif" usemap="#footer_escrow" alt="" /><br />'
	+ '<map name="footer_escrow">'
	+ '<area shape="rect" coords="576,20,679,35" href="javascript:go_check();" alt="¼­ºñ½º °¡ÀÔ»ç½Ç È®ÀÎ" onfocus="blur();" />'
	+ '</map>'
	+ '</form>'
	+ '</div>'
	document.write(FooterCoppy);
	document.getElementById("Wrap").onmouseover=function () {  WidgetFla(0); }
	if(IE6){
		window.onload = rightBeat;
		window.onresize = rightBeat;
		window.onscroll = rightBeat;
	}
}

function copyRightNo(){ //ÇÏ´Ü ÇªÅÍ¿µ¿ª + TOP ¹öÆ°
	document.write('\<div class="Fsize"><address><img src="/img/common/footer.gif" class="Footer" usemap="#Footer" /></address>');
	var FooterCoppy = '<map name="Footer">'
	+ '<area shape="rect" coords="116,3,169,22" href="javascript:link(40,1);">'
	+ '<area shape="rect" coords="182,3,245,22" href="javascript:link(40,2);">'
	+ '<area shape="rect" coords="258,3,311,22" href="javascript:link(40,3);">'
	+ '<area shape="rect" coords="324,3,387,22" href="javascript:link(40,4);">'
	+ '<area shape="rect" coords="398,3,471,22" href="javascript:link(40,5);">'
	+ '<area shape="rect" coords="482,3,545,22" href="javascript:link(40,6);">'
	+ '<area shape="rect" coords="558,3,611,22" href="javascript:link(40,7);">'
	+ '<area shape="rect" coords="620,0,693,22" href="javascript:link(40,8);">'
	+ '<area shape="rect" coords="120,39,181,55" href="javascript:pop(\'/jsp/common/pop_auditor.jsp\',\'auditor\',509,625)">'
  	+ '<area shape="rect" coords="184,39,232,55" href="javascript:link(45,1);">'
	+ '<area shape="rect" coords="234,39,316,55" href="javascript:link(45,2);">'
	+ '<area shape="rect" coords="319,39,409,55" href="javascript:pop(\'/html/global/pop_email.html\',\'email\',439,316)">'
	+ '<area shape="rect" coords="411,39,461,55" href="javascript:popSSL(\'/jsp/common/pop_help.jsp\',\'help\',510,655)">'
	+ '<area shape="rect" coords="463,39,513,55" href="javascript:link(41);">'
	+ '<area shape="rect" coords="728,63,872,82" href="http://www.kitchenbach.com/" target="_blank">'
	+ '</map>'
	+ '<div id="FamilyBtn1" style="display:;"><img src="/img/common/footer_familysite.gif" onclick="showFamily(2);" class="hand" alt="" /></div>'
	+ '<div id="FamilyBtn2" style="display:none;">'
	+ '<img src="/img/common/footer_familysite_.gif" onclick="showFamily(1);" class="hand" alt="" />'
	+ '<ul style="border:1px solid #EBEBEB;padding:0 5px;">'
	+ '<li><a href="http://www.serviceonemoving.co.kr" target="_blank"><img src="/img/common/img_family01.gif" onclick="showFamily(1);" alt="" /></a></li></ul>'
	+ '</div></div>'
	//+ '<div id="wishBox" class="close"><div id="wishF"><div id="wishE" onmouseover="WidgetFla(1)"><div class="wishCenter"><a href="javascript:WidgetOpen();">open</a><a href="javascript:WidgetOpen(1);">maxopen</a></div></div></div></div>'
	//+ '<div id="wishBox" ><div ><div id="wishE" ><div ><script>Flash("wishList","/inc/fla/wishlist.swf",0,0,"","transparent")</script></div></div></div></div>'
	+ '<div id="divIfrmWnd" style="position:absolute; width:537px; height:353px; display:none;"><iframe id="ifrmWnd" frameborder="0" src="/common/blank.jsp" style="width:537px; height:353px;" scrolling="no"></iframe></div>'
	+ '<div style="padding:0 0 50px 15px;">'
	+ '<form name="shop_check" method="post" action="http://admin.kcp.co.kr/Modules/escrow/kcp_pop.jsp">'
	+ '<input type="hidden" name="site_cd" value="P7953">'
	+ '<img src="/img/common/footer_escrow.gif" usemap="#footer_escrow" alt="" /><br />'
	+ '<map name="footer_escrow">'
	+ '<area shape="rect" coords="576,20,679,35" href="javascript:go_check();" alt="¼­ºñ½º °¡ÀÔ»ç½Ç È®ÀÎ" onfocus="blur();" />'
	+ '</map>'
	+ '</form>'
	+ '</div>'
	document.write(FooterCoppy);
	
}

function copyRightEng(){ //ÇÏ´Ü ÇªÅÍ¿µ¿ª_¿µ¹® + TOP ¹öÆ°
	document.write('\<div class="Fsize_eng"><address><img src="/img/common/footer_eng.gif" class="Footer" usemap="#Footer" /></address>');
	var FooterCoppy = '<map name="Footer">'
	+ '<area shape="rect" coords="731,43,871,62" href="http://www.kitchenbach.com/" target="_blank">'
	+ '</map>'
	+'<div id="FamilyBtn1" style="display:;"><img src="/img/common/footer_familysite.gif" onclick="showFamily(2);" class="hand" alt="" /></div>'
	+ '<div id="FamilyBtn2" style="display:none;">'
	+ '<img src="/img/common/footer_familysite_.gif" onclick="showFamily(1);" class="hand" alt="" />'
	+ '<ul style="border:1px solid #EBEBEB;padding:0 5px;">'
	+ '<li><a href="http://www.serviceonemoving.co.kr" target="_blank"><img src="/img/common/img_family01.gif" onclick="showFamily(1);" alt="" /></a></li></ul>'
	+ '</div></div>'
	//+ '<div id="wishBox" class="close"><div id="wishF"><div id="wishE" onmouseover="WidgetFla(1)"><div class="wishCenter"><script>Flash("wishList","/inc/fla/wishlist.swf",970,457,"","transparent")</script></div></div></div></div>'// 2009-02-26 seungjin bae.: RIA ¿Ï·á ÈÄ º¹¿ø ÇÊ¿ä
	
	document.write(FooterCoppy);
	/*document.getElementById("Wrap").onmouseover=function () {  WidgetFla(0); }
	if(IE6){
		window.onload = rightBeat;
		window.onresize = rightBeat;
		window.onscroll = rightBeat;
	}*/
}


/*
function rightBeat(){
	try{
		obj = document.getElementById("wishBox");
		var height = (obj.className=="open")?257:24;
		height = ( obj.className=="max" ) ? 457 : height;
		diffY = document.documentElement.clientHeight+document.documentElement.scrollTop-height+"px";
		obj.style.top = diffY;
	}catch(e){alert(e.message)}
} // Top ½ºÅ©·Ñ
*/

function rightBeat(){
	try{
		obj = document.getElementById("wishBox");
		var height = (obj.className=="open")?265:40;
		height = ( obj.className=="max" ) ? 265 : height;
		diffY = document.documentElement.clientHeight+document.documentElement.scrollTop-height+"px";
		obj.style.top = diffY;
	}catch(e){alert(e.message)}
} // Top ½ºÅ©·Ñ
//2009-02-25 ¼öÁ¤ */


function blankImg(obj){	obj.src="/img/common/img_blank.gif"; } //ÀÌ¹ÌÁö ¸øºÒ·¯¿Ã°æ¿ì °ø¹éÀÌ¹ÌÁö·Î ´ëÃ¼
function pop(url,name,w,h){ window.open(url,name,'width='+w+',height='+h+',scrollbars=no') } //Popup(½ºÅ©·Ñ¹Ù¾øÀ½)
function pop_02(url,name,w,h,t,l){ window.open(url,name,'height='+screen.height+',width='+screen.width+',top=0,left=0,scrollbars=no') } //Popup(½ºÅ©·Ñ¹Ù¾øÀ½,top,left Ãß°¡ 2009-10-23 wp Á¤»óÇö)
function popSSL(url,name,w,h){ window.open("https://www.hanssem.com" + url,name,'width='+w+',height='+h+',scrollbars=no') } //Popup(½ºÅ©·Ñ¹Ù¾øÀ½)
function pops(url,name,w,h){ window.open(url,name,'width='+w+',height='+h+',scrollbars=yes') } //Popup(½ºÅ©·Ñ¹ÙÀÖÀ½)
function popsSSL(url,name,w,h){ window.open("https://www.hanssem.com" + url,name,'width='+w+',height='+h+',scrollbars=yes') } //Popup(½ºÅ©·Ñ¹ÙÀÖÀ½)
function newpop(url){ window.open(url) } //Popup(½ºÅ©·Ñ¹ÙÀÖÀ½)
function imgpop(url,name,w,h){ window.open('/common/image_view.jsp?image_url=' + url, name,'width='+(w)+',height='+(h)+',, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, copyhistory=no, resizable=yes') } //Popup(½ºÅ©·Ñ¹ÙÀÖÀ½)

/* Board List */
function ListOn(obj){
obj.className = "over"
}
function ListOff(obj){
obj.className = ""
}

/* Media > Img & Txt List */
function ShowImg(file_name)
{
	var file_name;
	img_layer.style.visibility = "visible";
	img_layer.innerHTML="<img src=" + file_name + ">";
}
function HideImg()
{
	img_layer.style.visibility = "hidden";
}

function layerView(obj){ document.getElementById(obj).style.display = "block"; } /* ·¹ÀÌ¾î ¿­±â */
function layerClose(obj){ document.getElementById(obj).style.display = "none"; } /* ·¹ÀÌ¾î ´Ý±â */
function imgOver(obj){ obj.src = (obj.src.indexOf("_.gif")>-1)?obj.src.replace("_.gif",".gif"):obj.src.replace(".gif","_.gif"); } //ÀÌ¹ÌÁö ·Ñ¿À¹ö


/*¸»Ç³¼±*/
function getposOffset(overlay, offsettype){
var totaloffset=(offsettype=="right")? overlay.offsetLeft : overlay.offsetTop;
var parentEl=overlay.offsetParent;
while (parentEl!=null){
	totaloffset=(offsettype=="right")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
	parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function overlay(curobj, subobjstr, opt_position , name){
	if (document.getElementById){

	var subobj=document.getElementById(subobjstr)
		subobj.style.display=(subobj.style.display!="block")? "block" : "none"
	var xpos=getposOffset(curobj, "right")+((typeof opt_position!="undefined" && opt_position.indexOf("right")!=-1)? -(subobj.offsetWidth-curobj.offsetWidth) : 0)
	var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)? curobj.offsetHeight : 0)
		subobj.style.left=(xpos-200)+"px"
		subobj.style.top=(ypos-157)+"px"
		subobj.innerHTML='<img src="'+name+'" alt="" />';
	return false
	}
	else
return true
}

function overlayclose(subobj){
	document.getElementById(subobj).style.display="none"
}


/*¸»Ç³¼± text*/
function getposOffset(overtext, offsettype){
var totaloffset=(offsettype=="right")? overtext.offsetLeft : overtext.offsetTop;
var parentEl=overtext.offsetParent;
while (parentEl!=null){
	totaloffset=(offsettype=="right")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
	parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function overtext(curobj, subobjstr, opt_position , name, bgimg){
	if (document.getElementById){
	var subobj=document.getElementById(subobjstr)
		subobj.style.display=(subobj.style.display!="block")? "block" : "none"
	var xpos=getposOffset(curobj, "right")+((typeof opt_position!="undefined" && opt_position.indexOf("right")!=-1)? -(subobj.offsetWidth-curobj.offsetWidth) : 0)
	var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)? curobj.offsetHeight : 0)
		var marginxPos = (document.documentElement.clientWidth<965)?0:(document.documentElement.clientWidth-969)/2;
		subobj.style.left=(xpos-160-marginxPos)+"px";
		subobj.style.top=(ypos-165)+"px"
		subobj.innerHTML=''+name+'Æò'
		subobj.style.backgroundImage="url('/img/community/bg_overtext.gif')";
	return false
	}
	else
return true
}

function overtextclose(subobj){
	document.getElementById(subobj).style.display="none"
}

function overlayopen(subobj){
	document.getElementById(subobj).style.display="block"
}

/*ÇÁ·ÎÇÊº¸±â*/
function prolay(curobj, subobjstr, opt_position){
	if (document.getElementById){
	var subobj=document.getElementById(subobjstr)
	var xpos=getposOffset(curobj, "right")+((typeof opt_position!="undefined" && opt_position.indexOf("left")!=-1)? -(subobj.offsetWidth-curobj.offsetWidth) : 0)
	var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)? curobj.offsetHeight : 0)
	subobj.style.left=xpos+"px"
	subobj.style.top=ypos+"px"
	subobj.style.display='block';
	return false
	}
	else
return true
}

// faq ÆîÄ¡±â
var old='';
function faqList(num) {
	if(old!= num) {
		if(old!='') {
			eval("document.getElementById('reply"+old+"').style.display='none';");
			eval("document.getElementById('reply"+old+"').className='bnone';");
			eval("document.getElementById('faqtitle"+old+"').className='';");
		}
		eval("document.getElementById('reply"+num+"').style.display='block';");
		eval("document.getElementById('faqtitle"+num+"').className='faqtitle';");
		old=num;
	}
	else {
		eval("document.getElementById('reply"+old+"').style.display='none';");
		eval("document.getElementById('reply"+old+"').className='bnone';");
		eval("document.getElementById('faqtitle"+old+"').className='';");
		old='';
	}
}

//community right img list
function viewimglist(num) {
    for(var i=1;i<=2;i++) {
        if (num==i) {
            eval("document.all.imglist_"+i).style.display="block";
        } else {
            eval("document.all.imglist_"+i).style.display="none";
        }
    }
}

//thumnail Option
function optiontoggle(obj,over){
	var layerObj = (obj.nodeName=="IMG")?obj.nextSibling:obj;
	if(layerObj.nodeType==3) layerObj = layerObj.nextSibling;
	layerObj.style.display = (over)?"block":"none";
}

function showToolTip(id,text,pNum){
	var layerDiv = document.getElementById(id);
		layerDiv.innerHTML='<img src="'+text+'" alt="" />';
		layerDiv.style.pixelRight=pNum;
		layerDiv.style.display="block";
}
function hideToolTip(){
		img_layer.style.display="hidden";
}

// ÇÃ·¡½Ã ÅëÇÕ°Ë»ö
function GNFSearch(sword)
{
	location.href = "/jsp/search/searchTotal.jsp?HSCODE=shop_2_8&kwd=" + sword;
}

// ÇÃ·¡½Ã ¼îÇÎ¸ô°Ë»ö
function GNFSearch_shop(sword)
{
	//location.href = "/jsp/search/searchShopping.jsp?HSCODE=shop_2_8&kwd=" + sword;
	window.open('/jsp/search/searchShopping.jsp?HSCODE=shop_2_8&category=Shopping&kwd='+ sword,'_blank');
}

// ÇÃ·¡½Ã ·Î±×ÀÎ
function TP_FL_LOGIN(id, pwd)
{
	document.FlashAutoLoginForm.userid.value = id;
	document.FlashAutoLoginForm.passwd.value = pwd;
	document.FlashAutoLoginForm.submit();
}

// ÇÃ·¡½Ã ·Î±×¾Æ¿ô
function TP_FL_LOGOUT()
{

}

// ÇÃ·¡½Ã ÇÏ´Ü Àå¹Ù±¸´Ï/À§½Ã¸®½ºÆ® ¿Ã¶ó¿À°Ô ÇÏ´Â ½ºÅ©¸³Æ® 2008-03-05  ±Ç¿µ¸¸
function callJavascript(num)
{
	window.document.wishList.SetVariable("tabNum",num);
	window.document.wishList.SetVariable("chkTab",1);
}

//ÇÃ·¡½Ã ¸µÅ©
function fla_go_url (url)
{
		//document.getElementById('mainFrame').src = url;
		location.href=url;

}

//ÇÃ·¡½Ã ¹Ù·Îº¸±â
function fla_prod_preview (idx) {
	var url = "/jsp/shop/index_shop_preview.jsp?idx=" + idx;
	document.getElementById('ifrmWnd').src = url;

	// À©µµ¿ì À§Ä¡ ¸ÂÃç ¶ç¿ì±â
	var objIfrmWnd = document.getElementById('divIfrmWnd');
	objIfrmWnd.style.top = (document.documentElement.offsetHeight / 2) - (objIfrmWnd.style.height.replace("px","") / 2);
	objIfrmWnd.style.left = (document.documentElement.offsetWidth / 2) - (objIfrmWnd.style.width.replace("px","") / 2);

	var optionPos = document.documentElement.scrollTop+(document.documentElement.offsetHeight/2)-312;
	objIfrmWnd.style.top = optionPos+"px";

	//return;
	objIfrmWnd.style.display = "block";
}

//°øÁö»çÇ×¿ë ÂÊÁöº¸³»±â ÆË¾÷
function sendPostInNotice(width,height,userid,nickname) { 
	if(parent) parent.commonPop_center(width, height, "/common/inner/inner_paper.jsp?userid="+userid+"&nickname="+nickname); 
}

function Toggle(tabContainerID,triggers,action,self,img,show) {
	this.tabContainerID = tabContainerID;
	this.trigger = triggers;
	this.action = action;
	this.selfClose = self;
	this.imgEnhance = img;
	this.show = show;
}
Toggle.prototype.init = function() {
	var tabContainer = document.getElementById(this.tabContainerID);
	var tabAnchor = tabContainer.getElementsByTagName("a");
	var selfClose = new Boolean(this.selfClose);
	var tabAnchorArr = new Array();
	var i,j;

	for(i=0; i<tabAnchor.length; i++) {
		if (tabAnchor.item(i).className.indexOf(this.trigger) > -1) {
			thismenu = tabAnchor.item(i);
			tabAnchorArr.push(thismenu);
		} else {
			continue;
		}

		thismenu.container = tabContainer;
		thismenu.targetEl = document.getElementById(tabAnchor.item(i).href.split("#")[1]);
		thismenu.targetEl.style.display = "none";
		

		if(this.imgEnhance && this.imgEnhance == 1)
			thismenu.imgEl = thismenu.getElementsByTagName("img").item(0);

		var proc = function() {
			currentmenu = this.container.current;

			if (currentmenu == this) {
				if(selfClose && (selfClose.toString() == "true")) {
					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.container.current = null;
				} else {
					return false;
				}
			} else {
				if (currentmenu) {
					currentmenu.targetEl.style.display = "none";
					if (currentmenu.imgEl) {
						currentmenu.imgEl.src = currentmenu.imgEl.src.replace("_on.gif", ".gif");
						currentmenu.className = currentmenu.className.replace(" on", "");
					} else {
						currentmenu.className = currentmenu.className.replace(" on", "");
					}
				}
				this.targetEl.style.display = "block";
				if (this.imgEl) {
					this.imgEl.src = this.imgEl.src.replace(".gif", "_on.gif");
					this.className += " on";
				} else {
					this.className += " on";
				}

				this.targetEl.closer = this.targetEl.getElementsByTagName("a");

				for(j=0; j<this.targetEl.closer.length; j++) {
					if (this.targetEl.closer.item(j).className == "close")
						thisclose = this.targetEl.closer.item(j);
					else
						continue;

					thisclose.trigger = document.getElementById(thisclose.href.split("#")[1]);
					thisclose.onclick = function() {
						thisclose.trigger.onclick();
						return false;
					};
				}
				
				this.container.current = this;
			}
			return false;
		};

		switch(this.action) {
			case "over" :
				thismenu.onmouseover = proc;
				thismenu.onclick = function() {return false};
				break;
			default : thismenu.onclick = proc;
		}
		thismenu.onfocus = function() {
			this.blur();
		};

		if (!thismenu.container.first)
			thismenu.container.first = thismenu;
	}
	if(this.show == "random") {
		var showBase = Math.random()*10;
		var showCount = Math.floor(showBase)%tabAnchorArr.length;

		switch(this.action) {
			case "over" :
				tabAnchorArr[showCount].onmouseover();
				break;
			default : tabAnchorArr[showCount].onclick();
		}
	} else {
		var show = new Boolean(this.show);
		if (show.toString() == "true") {
			if(tabContainer.first) {
				switch(this.action) {
					case "over" : tabContainer.first.onmouseover();break;
					default : tabContainer.first.onclick();
				}
			}
		}
	}
};

//iframe resize

var iframeids=["detail"] 
var iframehide="yes" 

var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1] 
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 

function resizeCaller() { 
var dyniframe=new Array() 

for (i=0; i<iframeids.length; i++) { 
if (document.getElementById) 
resizeIframe(iframeids[i]) 

if ((document.all || document.getElementById) && iframehide=="no") { 
var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i]) 
tempobj.style.display="block" 
} 
} 
} 

function resizeIframe(frameid) { 
var currentfr=document.getElementById(frameid) 

if (currentfr && !window.opera){ 
currentfr.style.display="block" 

if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) 
currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight; 
else if (currentfr.Document && currentfr.Document.body.scrollHeight) 
currentfr.height = currentfr.Document.body.scrollHeight; 

if (currentfr.addEventListener) 
currentfr.addEventListener("load", readjustIframe, false) 
else if (currentfr.attachEvent){ 
currentfr.detachEvent("onload", readjustIframe) 
currentfr.attachEvent("onload", readjustIframe) 
} 
} 
} 

function readjustIframe(loadevt) { 
var crossevt=(window.event)? event : loadevt 
var iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElement 

if (iframeroot) 
resizeIframe(iframeroot.id); 
} 

function loadintoIframe(iframeid, url) { 
if (document.getElementById) 
document.getElementById(iframeid).src=url 
} 

if (window.addEventListener) 
window.addEventListener("load", resizeCaller, false) 
else if (window.attachEvent) 
window.attachEvent("onload", resizeCaller) 
else 
window.onload=resizeCaller 