document.writeln("<div id='LogLayer' style='position:absolute'></div>");

var Iam, IamLink, IsFlash, IamHan;

function HeaderGetCookie(name)
{
    var nameOfCookie = name + "=";
    var x = 0;
    while (x <= document.cookie.length)
    {
        var y = (x+nameOfCookie.length);
        if(document.cookie.substring(x, y) == nameOfCookie)
        {
                if((endOfCookie=document.cookie.indexOf(";", y)) == -1) endOfCookie = document.cookie.length;
                return unescape(document.cookie.substring(y, endOfCookie));
        }
        x = document.cookie.indexOf( " ", x ) + 1;
        if (x == 0)
        break;
    }
    return "";
}

function SetIamImage(iam,link,isUseFlash,svcHanName,svcBrandName,BgNum){ 
	IamLink = link;
	IsFlash = isUseFlash;
	Iam = iam;
	IamHan = svcHanName;
}

function GetHeader(name, svc, wid, bgCol,fCol, adTop, adSS, salign,loginUrl,logoutUrl) {
	var logout_newUrl = "https://login.chol.com/logout_url.jsp";
	var UrlInfo = (!loginUrl)?this.location.href : loginUrl;
	var IsTarget = (adTop)? "1" : "0";
	var ISLOGIN=(HeaderGetCookie('ssid') && HeaderGetCookie('sskey')) ? 1:0;
	var LOGNAME=HeaderGetCookie("LogName");
	var IMG = "http://cimgs1.chol.com/chol2/header/img/";
	var SVCIMG = "http://cimgs1.chol.com/chol2/header/"+svc;
	
	wid = (wid)?wid:'960px';
	bgCol = (bgCol)?bgCol:'#FFFFFF';
	fCol = (fCol)?fCol:'#5B5B5B';
	salign = (salign)? salign : "center";
	loginUrl = (!loginUrl)? UrlInfo:loginUrl;
//	logoutUrl = (!logoutUrl)? UrlInfo:logoutUrl;
	logoutUrl = logout_newUrl;

	var txt = '<style>';	
	txt += '#header_wh { width:'+wid+'; height:57px; background-color:'+bgCol+'};';
	txt += '#header_wh a {selector-dummy : expression(this.hideFocus=true);}';
	//txt += '.gnb {color:#5B5B5B; font-family:±¼¸², µ¸¿ò; font-size:12px;}';
	txt += '#header_wh .gnb {color:'+fCol+'; font-family:±¼¸², µ¸¿ò; font-size:12px;}';
	txt += '#header_wh .gnb A:visited {color:'+fCol+'; text-decoration:none; }';
	txt += '#header_wh .gnb A:hover {color:'+fCol+'; text-decoration:underline;}';
	txt += '#header_wh .gnb A:link {color:'+fCol+'; text-decoration:none;}';
	txt += '#header_wh .gnb_blue {color:#008BC6; font-family:±¼¸², µ¸¿ò; font-size:12px;}';
	txt += '#header_wh .gnb_blue A:visited {color:#008BC6; text-decoration:none; }';
	txt += '#header_wh .gnb_blue A:hover {color:#008BC6; text-decoration:underline;}';
	txt += '#header_wh .gnb_blue A:link {color:#008BC6; text-decoration:none;}';
	txt += '#header_wh .gnb_gap { padding-right:8px}';	
	txt += '#header_wh .gnb_id {color:#222222; font-family:µ¸¿ò, ±¼¸²; font-size:11px;}';
	txt += '#header_wh .gnb_id A:visited {color:#222222; text-decoration:none;}';
	txt += '#header_wh .gnb_id A:hover {color:#222222;text-decoration:underline;}';
	txt += '#header_wh .gnb_id A:link {color:#222222;text-decoration:none;}';
	txt += '</style>';


	txt += '<div style="width:100%">';
	txt += '<table id="header_wh" border="0" align="'+salign+'" cellpadding="0" cellspacing="0">';
	txt += '    <tr>';
	txt += '        <td valign="middle" style="padding-left:7px">';
	txt += '            <table border="0" cellspacing="0" cellpadding="0">';
	txt += '                <tr>';
	txt += '                    <td><a href="http://www.chol.com"><img src="'+IMG+'logo.gif" alt="Ãµ¸®¾È" width="74" height="40" border="0" align="absmiddle" /></a></td>';

	if(svc){	//--- ¼­ºñ½º img
		txt += '                    <td><img src="'+IMG+'dot_gray01.gif" width="15" height="5" /></td>';	
		txt += '                    <td align="right"><a href="'+IamLink+'"><img src="'+SVCIMG+'.gif" alt="'+name+'" border="0"/></a></td>';
	}

	txt += '											<td id="HeaderEtcImg">';
	txt += '											</td>';
	txt += '                </tr>';
	txt += '            </table>';	
	txt += '        </td>';
	txt += '        <td align="right" valign="top" style="padding:6px 6px 0 0">';
	txt += '			<!-- GNB ¿µ¿ª-->';
	txt += '            <table border="0" cellspacing="0" cellpadding="0" class="gnb">';
	txt += '                <tr>';

	if(!ISLOGIN){	//-- ·Î±×¾Æ¿ô ½Ã		
		txt += '                    <td class="gnb_gap"><a href="https://register.chol.com/UID/jsp/member/c_uiagree_cli.jsp"><img src="http://image.chol.com/header2/header_img/h_cridbt.gif" width="47" height="16" align="absmiddle" style="margin-bottom:4px;border:0" alt="È¸¿ø°¡ÀÔ"/></a></td>';
		txt += '                    <td class="gnb_gap"><a href="javascript:login(\''+loginUrl+'\', \''+IsTarget+'\')"><img src="'+IMG+'btn_login.gif" width="47" height="16" align="absmiddle" style="margin-bottom:4px;border:0" alt="·Î±×ÀÎ"/></a></td>';		
	}else{	//--- ·Î±×ÀÎ ½Ã
		txt += '                    <td class="gnb_gap"><span class="gnb_id"><a href="http://apple.chol.com/'+LOGNAME+'"><b>'+LOGNAME+'</b></a>´Ô</span></td>';
		txt += '                    <td class="gnb_gap"><a href="javascript:logout(\''+logoutUrl+'\')"><img src="'+IMG+'btn_logout.gif" width="47" height="16" align="absmiddle" style="margin-bottom:4px;border:0"/></td>';
	}
	txt += '                    <td class="gnb_gap gnb_blue"><a href="http://www.chol.com">Ãµ¸®¾ÈÈ¨</a> <img src="'+IMG+'arrow_blue.gif" width="3" height="5" align="absmiddle" style="margin-bottom:3px"/></td>';
	txt += '                    <td><a href="http://webmail.chol.com">¸ÞÀÏ</a></td>';
	txt += '                    <td><img src="'+IMG+'dot_gray02.gif" style="margin-bottom:3px"/></td>';
	txt += '                    <td><a href="http://diskpot.chol.com">µð½ºÅ©ÆÌ</a></td>';
	txt += '                    <td><img src="'+IMG+'dot_gray02.gif" style="margin-bottom:3px"/></td>';
	txt += '                    <td><a href="http://phone.chol.com">¸Þ½ÅÀúÆù</a></td>';
	txt += '                    <td><img src="'+IMG+'dot_gray02.gif" style="margin-bottom:3px"/></td>';
	txt += '                    <td><a href="http://premium.chol.com/">ÇÁ¸®¹Ì¾öÁ¸</a></td>';
	txt += '                    <td><img src="'+IMG+'dot_gray02.gif" style="margin-bottom:3px"/></td>';
	txt += '                    <td style="padding-right:8px"><a href="https://help.chol.com/">°í°´¼¾ÅÍ</a></td>';
	txt += '                    <td><a href="http://www.chol.com/etc/siteview.html"><img src="'+IMG+'btn_sitemap.gif" style="margin-bottom:4px;border:solid 0px"/></a></td>';
	txt += '                </tr>';
	txt += '            </table>';
	txt += '            <!-- GNB ¿µ¿ª//-->';
	txt += '        </td>';
	txt += '    </tr>';
	txt += '</table>';
	txt += '</div>';

	if(ISLOGIN){   //-- ·Î±×ÀÎ ½Ã
//		txt += '        <form name=logoutform action=http://login.chol.com/logout.jsp method=post target="_self">';
		txt += '	<form name=logoutform action=https://login.chol.com/logout.jsp method=post target="_self" style="margin:0px">';
		txt += '        <input type=hidden name=retUrl value="'+logoutUrl+'">';
		txt += '	<input type=hidden name=reloginUrl value="'+loginUrl+'">';
		txt += '        <input type=hidden name=target value="_self">';
		txt += '        </form>'; 
	}else{
		if(IsTarget == '0' || !IsTarget){
			tgUrl = "authad.jsp";
			tgVal = "1";
			tg = "_self";
		}else{
			//var Newurl='about:blank';
		    	//NewLogIn = window.open(Newurl,"chol_login","width=480,height=284,scrollbars=no,status=yes");
		    	//NewLogIn.focus();
                	tgUrl = "authadwin.jsp";
                	tgVal = "2";
                	tg = "chol_login";
        	}
		txt += '        <form name=loginform action="http://login.chol.com/'+tgUrl+'" method=post target="'+tg+'">';
		txt += '        <input type=hidden name=retUrl value="'+loginUrl+'">';
		txt += '        <input type=hidden name=target value="'+tgVal+'">';
		txt += '        <input type=hidden name=timestr value="15:11:46">';
		txt += '        <input type=hidden name=reqKey value="">';
		txt += '        </form>';

	}
	document.writeln(txt);
}

function login(url,tg){	
	if(tg == '0' || !tg){
		tgUrl = "authad.jsp";
		tgVal = "1";
		tg = "_self";
	}else{
		var Newurl='about:blank';
	    	NewLogIn = window.open(Newurl,"chol_login","width=480,height=284,scrollbars=no,status=yes");
    		NewLogIn.focus();
		//tgUrl = "authadwin.jsp";
		//tgVal = "2";
		//tg = "chol_login";
	}
	
/*
	var txt = '';
	txt += '	<form name=loginform action="http://login.chol.com/'+tgUrl+'" method=post target="'+tg+'">';
	txt += '	<input type=hidden name=retUrl value="'+url+'">';		
	txt += '	<input type=hidden name=target value="'+tgVal+'">';
	txt += '	<input type=hidden name=timestr value="15:11:46">';
	txt += '	<input type=hidden name=reqKey value="">';
	txt += '	</form>';

	//document.writeln(txt);	
	//document.getElementById("LogLayer").innerHTML = txt;
	//document.loginform.retUrl.value = url;
*/
	
	document.loginform.submit();
}

function logout(url){
	var today = new Date();

	var txt = '';
	txt += '	<form name=logoutform action=http://login.chol.com/logout.jsp method=post target="_self">';
	txt += '	<input type=hidden name=retUrl value="'+url+'">';
	txt += '	<input type=hidden name=target value="_self">';	
	txt += '	</form>';

	//document.writeln(txt);
	//document.getElementById("LogLayer").innerHTML += txt;
	document.logoutform.submit();
}


function GetFooter(){
	var IMG = "http://cimgs1.chol.com/chol2/header/img/";
	var txt = '';
	
	var wid = (wid)? wid:'100%';
	var falign = (falign)?falign:"center";
	
	txt += '<style>';	
	txt += 'a {selector-dummy : expression(this.hideFocus=true);} ';
	txt += '#footer { width:'+wid+';}';
	txt += '#footer .box_tl {background-image: url('+IMG+'footerBox_tl.gif); background-repeat:no-repeat; background-position:top; width:11px; height:25px}';
	txt += '#footer .box_tc {background-image: url('+IMG+'footerBox_tc.gif); background-repeat:repeat-x; background-position:top;}';
	txt += '#footer .box_tr {background-image: url('+IMG+'footerBox_tr.gif); background-repeat:no-repeat; background-position:top; width:11px}';
	txt += '#footer .box_cl {background-image: url('+IMG+'footerBox_cl.gif); background-repeat:repeat-y; background-position:top;}';
	txt += '#footer .box_cr {background-image: url('+IMG+'footerBox_cr.gif); background-repeat:repeat-y; background-position:top;}';
	txt += '#footer .box_bl {background-image: url('+IMG+'footerBox_bl.gif); background-repeat:no-repeat; background-position:top; height:17px}';
	txt += '#footer .box_bc {background-image: url('+IMG+'footerBox_bc.gif); background-repeat:repeat-x; background-position:top;}';
	txt += '#footer .box_br {background-image: url('+IMG+'footerBox_br.gif); background-repeat:no-repeat; background-position:top;}';
	txt += '#footer .vline {margin-bottom:3px}';
        txt += '#footer .fm {color:#808080; font-family:±¼¸², µ¸¿ò; font-size:12px;}';
        txt += '#footer .fm A:visited {color:#808080; text-decoration:none; }';
        txt += '#footer .fm A:hover {color:#222222; text-decoration:none;}';
        txt += '#footer .fm A:link {color:#808080; text-decoration:none;}';
        txt += '#footer .copyright {color:#808080; font-family:Arial, µ¸¿ò; font-size:11px;padding-top:3px}';
        txt += '#footer .copyright .b { color:#4979C3; font-weight:bold } ';
        txt += '#footer .notice {border-bottom:1px solid #97BFE8; font-family:±¼¸², µ¸¿ò; font-size:12px; padding-top:4px}';
        txt += '#footer .notice .b {font-size:13px; font-weight:bold}';
        txt += '#footer .notice A:visited {color:#222222; text-decoration:none; }';
        txt += '#footer .notice A:hover {color:#222222; text-decoration:underline;}';
        txt += '#footer .notice A:link {color:#222222; text-decoration:none;}';
        txt += '#footer .orange {color:#FF5400}';
        txt += '#footer .cate_title {color:#065DCE; font-family:±¼¸², µ¸¿ò; font-size:12px; padding:4px 0 4px 0; font-weight:bold; padding:4px 0 0 5px; width:119px; height:20px;';
        txt += '        background-image: url('+IMG+'title_bg.gif); background-repeat:no-repeat;}';
        txt += '#footer .cate_title A:visited {color:#065DCE; text-decoration:none; }';
        txt += '#footer .cate_title A:hover {color:#065DCE; text-decoration:underline;}';
        txt += '#footer .cate_title A:link {color:#065DCE; text-decoration:none;}';
        txt += '#footer .cate {color:#666666; font-family:±¼¸², µ¸¿ò; font-size:12px; padding:3px 0 4px 0}';
        txt += '#footer .cate A:visited {color:#666666; text-decoration:none; }';
        txt += '#footer .cate A:hover {color:#666666; text-decoration:underline;}';
        txt += '#footer .cate A:link {color:#666666; text-decoration:none;}';
	txt += '</style>';
	
	txt += '			<table id="footer" width="800" border="0" align="'+falign+'" cellpadding="0" cellspacing="0" >';
	txt += '					<tr>';
	txt += '							<td class="box_tl"></td>';

	//if(disp == "none") var sImg = "btn_serView_down.gif";
	//else var sImg = "btn_serView_up.gif";

	txt += '							<td align="right" class="box_tc"></td>';
	
	txt += '							<td class="box_tr"></td>';
	txt += '					</tr>';
	txt += '					<tr>';
	txt += '							<td class="box_cl"></td>';
	txt += '							<td align="center">';
	/*
	txt += '					<!---------¼­ºñ½º ÀüÃ¼ º¸±â ¿µ¿ª ------------>';
	txt += '									<table width="98%" border="0" cellspacing="0" cellpadding="0" id="FtDispLayer"  style="display:'+disp+'">';
	txt += '											<tr>';
	txt += '													<td height="30" class="notice"><img src="'+IMG+'icon_notice.gif" width="13" height="13" align="absmiddle" style="margin-bottom:2px"> <a href="http://webmail.chol.com">¹ø°Å·Ó°Ô Áö¿ìÁö¸¶¶ó! <span class="b"><span class="orange">10GB ¿ë·®ÀÌ´Ï±î!</span> Ãµ¸®¾È ¸ÞÀÏ!</a></span> </td>';
	txt += '											</tr>';
	txt += '											<tr>';
	txt += '													<td align="center" style="padding:16px 10px 16px 10px">';
	txt += '								<!-- ¸®½ºÆ® ½ÃÀÛ-->';
	txt += '															<table width="896" border="0" cellspacing="0" cellpadding="0">';
	txt += '																	<tr>';
	txt += '																			<td width="119" valign="top"><table border="0" cellspacing="0" cellpadding="0">';
	txt += '																							<tr>';
	txt += '																									<td class="cate_title">Ä¿¹Â´ÏÆ¼</td>';
	txt += '																							</tr>';
	txt += '																							<tr>';
	txt += '																									<td style="padding:10px 7px 0 9px"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	txt += '																													<tr>';
	txt += '																															<td  class="cate"><a href="http://webmail.chol.com">¸ÞÀÏ</a>, <a href="http://multimail.chol.com/">¸ÖÆ¼¸ÞÀÏ</a> <img src="'+IMG+'icon_n.gif" width="9" height="9" align="absmiddle"></td>';
	txt += '																													</tr>';
	txt += '																													<tr>';
	txt += '																															<td class="cate"><a href="http://diskpot.chol.com/">µð½ºÅ©ÆÌ</a> <img src="'+IMG+'icon_h.gif" width="9" height="9" align="absmiddle"></td>';
	txt += '																													</tr>';
	txt += '																													<tr>';
	txt += '																															<td  class="cate"><a href="http://phone.chol.com">¸Þ½ÅÀúÆù</a> </td>';
	txt += '																													</tr>';
	txt += '																													<tr>';
	txt += '																															<td class="cate"><a href="http://apple.chol.com/">ºí·Î±×(¾ÖÇÃ)</a></td>';
	txt += '																													</tr>';
	txt += '																													<tr>';
	txt += '																															<td  class="cate"><a href="http://memo.chol.com">ÂÊÁö</a>/<a href="http://chat.chol.com">Ã¤ÆÃ</a> </td>';
	txt += '																													</tr>';
	txt += '																													<tr>';
	txt += '																															<td class="cate"><a href="http://club.chol.com/">Å¬·´</a>, <a href="http://user.chol.com/">È¨Å¸¿î</a></td>';
	txt += '																													</tr>';
	txt += '																													<tr>';
	txt += '																															<td  class="cate"><a href="http://photo.chol.com/">Æ÷Åä¾Ù¹ü</a>,<a href="http://member.chol.com/">È¸¿øÃ£±â</a> </td>';
	txt += '																													</tr>';
	txt += '																											</table></td>';
	txt += '																							</tr>';
	txt += '																					</table></td>';
	txt += '																			<td>&nbsp;</td>';
	txt += '																			<td width="119" valign="top"><table border="0" cellspacing="0" cellpadding="0">';
	txt += '																					<tr>';
	txt += '																							<td class="cate_title">¹Ìµð¾î</td>';
	txt += '																					</tr>';
	txt += '																					<tr>';
	txt += '																							<td style="padding:10px 7px 0 9px"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://news.chol.com/">´º½º</a> <img src="'+IMG+'icon_n.gif" width="9" height="9" align="absmiddle"></td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://news.chol.com/index.php?cmd=cat&cat=ECO">°æÁ¦´º½º</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://news.chol.com/index.php?cmd=cat&cat=ENT">¿¬¿¹´º½º</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://weather.chol.com/">³¯¾¾</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://plaza.chol.com/">³ªµµÇÑ¸¶µð</a></td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://plazabbs.chol.com/bbs/bbs.php?us=plaza&bs=adult_love">¼ºÀÎ°Ô½ÃÆÇ</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://plazabbs.chol.com/bbs/bbs.php?us=plaza&bs=cam_1">Æ÷Åä°Ô½ÃÆÇ</a></td>';
	txt += '																											</tr>';
	txt += '';
	txt += '																							</table></td>';
	txt += '																					</tr>';
	txt += '																			</table></td>';
	txt += '																			<td>&nbsp;</td>';
	txt += '																			<td width="119" valign="top"><table border="0" cellspacing="0" cellpadding="0">';
	txt += '																					<tr>';
	txt += '																							<td class="cate_title">ºñÁî´Ï½º</td>';
	txt += '																					</tr>';
	txt += '																					<tr>';
	txt += '																							<td style="padding:10px 7px 0 9px"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://people.chol.com/">ÀÎ¹°Á¤º¸</a> <img src="'+IMG+'icon_h.gif" width="9" height="9" align="absmiddle"></td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://finance.chol.com/">±ÝÀ¶</a>, <a href="http://stock.chol.com/">Áõ±Ç</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://kisreport.chol.com/">±â¾÷</a>, <a href="http://salary.chol.com/">¿¬ºÀ</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://estate.chol.com/">ºÎµ¿»ê</a>, <a href="http://job.chol.com/">Ãë¾÷</a></td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://mycredit.chol.com/">½Å¿ëÁ¶È¸</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://roaming.chol.com/">·Î¹Ö</a>, <a href="http://fax.chol.com/">ÆÑ½º</a></td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://filelink.chol.com/">ÆÄÀÏ¸µÅ©</a> </td>';
	txt += '																											</tr>';
	txt += '																							</table></td>';
	txt += '																					</tr>';
	txt += '																			</table></td>';
	txt += '																			<td>&nbsp;</td>';
	txt += '																			<td width="119" valign="top"><table border="0" cellspacing="0" cellpadding="0">';
	txt += '																					<tr>';
	txt += '																							<td class="cate_title">¿À¶ô</td>';
	txt += '																					</tr>';
	txt += '																					<tr>';
	txt += '																							<td style="padding:10px 7px 0 9px"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://baduk.chol.com/">¹ÙµÏ</a> <img src="'+IMG+'icon_h.gif" width="9" height="9" align="absmiddle">, <a href="http://janggi.chol.com/">Àå±â</a></td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://pigwing.chol.com/">°ÔÀÓ</a>, <a href="http://pigwing.chol.com/tata.asp">¸Â°í</a>, <a href="http://pigwing.chol.com/wild.asp">Æ÷Ä¿</a> </td>';
	txt += '																											</tr>                                                ';
//	txt += '																											<tr>';
//	txt += '																													<td class="cate"><a href="http://movie.chol.com/">¿µÈ­</a>, <a href="http://webtoon.chol.com">¸¸È­</a>, <a href="http://ch.chol.com/">Ã¤³Î¸µ</a></td>';
//	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://adult.chol.com/">¼ºÀÎ +19</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://sisa.chol.com/">½Ã»çÈ¸</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://fortune.chol.com/">¿î¼¼</a></td>';
	txt += '																											</tr>';
	txt += '																							</table></td>';
	txt += '																					</tr>';
	txt += '																			</table></td>';
	txt += '																			<td>&nbsp;</td>';
	txt += '																			<td width="119" valign="top"><table border="0" cellspacing="0" cellpadding="0">';
	txt += '																					<tr>';
	txt += '																							<td class="cate_title">°Ë»ö</td>';
	txt += '																					</tr>';
	txt += '																					<tr>';
	txt += '																							<td style="padding:10px 7px 0 9px"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://search.chol.com/">°Ë»ö</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://map.search.chol.com/">Áöµµ°Ë»ö</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://dir.chol.com/adshop/search.php">Å°¿öµå¼¥</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://simfile.chol.com/">ÀÚ·á½Ç(½ÉÆÄÀÏ)</a> <img src="'+IMG+'icon_n.gif" width="9" height="9" align="absmiddle"></td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://pcsafer.simfile.chol.com">¹ÙÀÌ·¯½º/¾Ç¼ºÄÚµå</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://esd.chol.com/">Á¤Ç°SW</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://xtoc.chol.com">Å¬·´ÀÚ·á½Ç</a></td>';
	txt += '																											</tr>';
	txt += '																							</table></td>';
	txt += '																					</tr>';
	txt += '																			</table></td>';
	txt += '																			<td>&nbsp;</td>';
	txt += '																			<td width="119" valign="top"><table border="0" cellspacing="0" cellpadding="0">';
	txt += '																					<tr>';
	txt += '																							<td class="cate_title">»ýÈ°</td>';
	txt += '																					</tr>';
	txt += '																					<tr>';
	txt += '																							<td style="padding:10px 7px 0 9px"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://health.chol.com/">°Ç°­</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://edu.chol.com/">±³À°(Áß°íµî Á·º¸)</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://english.chol.com/">ÀüÈ­¿µ¾î</a></td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://shopping.chol.com/">G¸¶ÄÏ ¼îÇÎ </a></td>';
	txt += '																											</tr>';
	txt += '																							</table></td>';
	txt += '																					</tr>';
	txt += '																			</table></td>';
	txt += '																			<td>&nbsp;</td>';
	txt += '																			<td width="119" valign="top"><table border="0" cellspacing="0" cellpadding="0">';
	txt += '																					<tr>';
	txt += '																							<td class="cate_title">ÈÞ´ëÆù</td>';
	txt += '																					</tr>';
	txt += '																					<tr>';
	txt += '																							<td style="padding:10px 7px 0 9px"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://mjoy.chol.com/chol_sms.php">ÈÞ´ëÆù ¹®ÀÚ </a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://mjoy.chol.com/chol_sms.php?returl=long">ÈÞ´ëÆù Àå¹® </a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://mjoy.chol.com/bell.php??cpid=ktf&catid=BA">º§¼Ò¸®</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://mjoy.chol.com/skt_ring.php">ÅëÈ­¿¬°áÀ½</a></td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td  class="cate"><a href="http://mjoy.chol.com/background.php">Æù¹è°æ</a>/<a href="http://mjoy.chol.com/background.php">¾Ë¸²¼¦</a> </td>';
	txt += '																											</tr>';
	txt += '																											<tr>';
	txt += '																													<td class="cate"><a href="http://mjoy.chol.com/lgt_mail.php">¸ÞÀÏ¾Ë¸®¹Ì</a></td>';
	txt += '																											</tr>';
	txt += '																							</table></td>';
	txt += '																					</tr>';
	txt += '																			</table></td>';
	txt += '																	</tr>';
	txt += '															</table>';
	txt += '															<!-- ¸®½ºÆ® ³¡//-->';
	txt += '													</td>';
	txt += '											</tr>';
	txt += '													<td>';
	txt += '														<table border="0" cellpadding="0" cellspacing="0">';
	txt += '															<tr>';
	txt += '																<td width="30"><img src="'+IMG+'gLine_left.gif" width="30" height="13"></td>';
	txt += '																<td width="878" background="'+IMG+'gLine_center.gif"></td>';
	txt += '																<td width="30"><img src="'+IMG+'gLine_right.gif" width="30" height="13"></td>';
	txt += '															</tr>';
	txt += '														</table>';
	txt += '													</td>';
	txt += '											<tr>';
	txt += '											</tr>';
	txt += '									</table>';	
	txt += '									<!---------¼­ºñ½º ÀüÃ¼ º¸±â ¿µ¿ª //------------>';
*/
	txt += '									<!-- copyright ¿µ¿ª-->';
	txt += '									<table width="800" border="0" cellspacing="0" cellpadding="0" align=center>';
	txt += '											<tr>';
	txt += '													<td width="92" height="40"><a href="http://www.chol.com/"><img src="'+IMG+'logo_gray.gif" alt="Ãµ¸®¾È" width="67" height="36" border="0"></a><img src="'+IMG+'footer_vline1.gif" width="25" height="36"></td>';
	txt += '													<td style="padding-top:3px"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	txt += '																	<tr>';
	txt += '																			<td class="fm"><a href="http://www.dacommi.com/">È¸»ç¼Ò°³</a><img src="'+IMG+'footer_vline2.gif" width="17" height="9" align="absmiddle" class="vline"><a href="http://www.dacommi.co.kr/inquiry/inquiry.html">Á¦ÈÞ¹®ÀÇ</a><img src="'+IMG+'footer_vline2.gif" width="17" height="9" align="absmiddle" class="vline"><a target="_top" href="http://www.chol.com/etc/privacy_policy.html"><b>°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§</b></a><img src="'+IMG+'footer_vline2.gif" width="17" height="9" align="absmiddle" class="vline"><a target="_top" href="http://www.chol.com/etc/youth_policy.html">Ã»¼Ò³âº¸È£Á¤Ã¥</a><img src="'+IMG+'footer_vline2.gif" width="17" height="9" align="absmiddle" class="vline"><a href="https://help.chol.com/intro_03.html">ÀÌ¿ë¾à°ü</a><img src="'+IMG+'footer_vline2.gif" width="17" height="9" align="absmiddle" class="vline"><a href="https://help.chol.com/">°í°´¼¾ÅÍ</a></td>';
	txt += '																	</tr>';
	txt += '																	<tr>';
	txt += '																			<td class="copyright">Copyright ¨Ï <span class="b">Dacom Multimedia Internet</span> Corp. All rights reserved. </td>';
	txt += '																	</tr>';
	txt += '															</table></td>';
	txt += '											</tr>';
	txt += '									</table>';
	txt += '									<!-- copyright ¿µ¿ª//-->';
	txt += '							</td>';
	txt += '							<td class="box_cr"></td>';
	txt += '					</tr>';
	txt += '					<tr>';
	txt += '							<td class="box_bl"></td>';
	txt += '							<td class="box_bc"></td>';
	txt += '							<td class="box_br"></td>';
	txt += '					</tr>';
	txt += '			</table>';	

	document.writeln(txt);
}


function SetRelatePath(){
	return ;
}

function SetBrandImage(){
	return ;
}

function SetPath(){
	return ;
}
