// ÅëÇÕ°Ë»ö ¿µ¿ª Å¬¸¯½Ã »ö»ó º¯È­
function searchChg(obj, name) {
var searchObj = obj.parentNode;
    if ( name == "select" ) {
        searchObj.className = "bgWrapper_select";
    } else {
        searchObj.className = "bgWrapper";
    }
}

var sHTML = '';

sHTML += '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';	
//DTD¼±¾ð ÅÂ±×´Â jsÆÄÀÏ³»¿¡¼­´Â ÀÛµ¿ÇÏÁö ¾ÊÀ½.
sHTML += '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">';
sHTML += '<head>';
sHTML += '	<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">';
sHTML += '	<meta http-equiv="cache-control" content="no-cache">';
sHTML += '	<meta http-equiv="pragma" content="no-cache">';
sHTML += '	<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />';
sHTML += '	<title>³×ÀÌÆ®¿Â</title>';
sHTML += '<link rel=\"stylesheet\" type=\"text/css\" href=\"http://nateonweb.nate.com/menu/css/common.css\" media=\"all\" title=\"common\" />';
sHTML += '</head>';
sHTML += '<body>';

sHTML += '	<!-- Header -->';
sHTML += '	<div id="header">';
sHTML += '	<script language = javascript>document.domain = "nate.com";</script>';
sHTML += '	<h1><a href="http://www.nate.com/" target = "_top">NATE</a></h1>';
sHTML += '	<h2><a href="http://nateonweb.nate.com/" target = "_top">³×ÀÌÆ®¿Â</a></h2>';
sHTML += '		<div class="gnbArea" id="gnbArea">';

document.write(sHTML);


//var NateGNB = new classNateGNB([{"title":"¹®ÀÚ¸Þ½ÃÁö","url":"http://sms.nate.com"}]);
var NateGNB = new classNateGNB();

sHTML = '';		
sHTML += '							<noscript>';
sHTML += '									<div id="noscript_gnb">';
sHTML += '											<div>';
sHTML += '													<a href="http://www.nate.com/" title="³×ÀÌÆ® ¸ÞÀÎÀ¸·Î">³×ÀÌÆ® ¸ÞÀÎÀ¸·Î</a> <span>|</span>';
sHTML += '													<a href="http://www.nate.com/sitemap/" title="»çÀÌÆ®¸Ê">»çÀÌÆ®¸Ê</a>';
sHTML += '											</div>';
sHTML += '									</div>';
sHTML += '							</noscript>';
sHTML += '		</div>';

sHTML += '				<div id="searchWrap">';
sHTML += '					<!-- ÅëÇÕ°Ë»ö -->';
sHTML += '					<form id="search" name="search" action="http://search.nate.com/search/all.html" method="post" name="" target="_blank">';
sHTML += '';
sHTML += '						<fieldset>';
sHTML += '							<legend>ÅëÇÕ°Ë»ö¿µ¿ª</legend>';
sHTML += '							<div class="bgWrapper">';
sHTML += '									<input type="text" id="input_search" name="q" class="mainSearch" title="°Ë»ö¾î ÀÔ·Â" onKeyDown="searchChg(this, \'select\');" onFocus="searchChg(this, \'select\'); if(this.value==\'ÅëÇÕ°Ë»ö\')this.value=\'\'" onBlur="searchChg(this, \'\'); if(this.value==\'\')this.value=\'ÅëÇÕ°Ë»ö\'" value="ÅëÇÕ°Ë»ö" />';
//sHTML += '									<input type="text" id="input_search" class="mainSearch" title="°Ë»ö¾î ÀÔ·Â" onkeydown="searchChg(this, \'select\');" onfocus="searchChg(this, \'select\');" onblur="searchChg(this, \'\');" value="" />';
sHTML += '									<input type="button" class="btn_search" title="°Ë»ö" onMouseOver="this.className=\'btn_search_over\';" onMouseOut="this.className=\'btn_search\';" onClick="search.submit();"/>';
//sHTML += '									<input type="button" class="btn_search" title="°Ë»ö" onmouseover="this.className=\'btn_search_over\';" onmouseout="this.className=\'btn_search\';" />';
sHTML += '							</div>';
sHTML += '						</fieldset>';
sHTML += '					</form>';
sHTML += '					<!-- ÅëÇÕ°Ë»ö : E -->';
sHTML += '				</div>';

