          <!--

function GoPage(code) {
	if ( !code )						{	window.location = "/index.php";	}
	else if ( code == "main" )			{	window.location = "/main.html";		}
	
	
	//1. µùµ¿´ó Ã¼ÇèÇÐ½À
	else if ( code == "study01" )		{	window.location = "/doc/study01.html?part=1"; }  // Æ÷µµÃ¼Çè ¹× ÇÐ½À
	else if ( code == "study02" )		{	window.location = "/doc/list.html?part=2&menu_cd=20&class_cd=24"; }  // ÇÐ»ýµéÀÇ ¼Ø¾¾¹æ


	//2 . È­°¡ÀÇ ³ó¿ø¼Ò°³
	else if ( code == "info01" )	    {	window.location = "/doc/info01.html?part=1"; }  // ÀÎ»ç¸»
	else if ( code == "info02" )	    {	window.location = "/doc/info02.html?part=2"; }  // ³ó¿ø¼Ò°³
	else if ( code == "daily" )		    {	window.location = "/doc/daily01.html?part=3"; } // ¿µ³óÀÏ±â
	else if ( code == "info03" )	    {	window.location = "/doc/info03.html?part=4"; }  // ³ó¿ø¿À½Ã´Â ±æ
	
	//3. ºÎºÎÈ­°¡ ¿³º¸±â
	else if ( code == "look01" )		{	window.location = "/doc/list.html?part=1&menu_cd=20&class_cd=20"; }  // ³óºÎÈ­°¡ ±èÃ¢±æ °¶·¯¸®
	else if ( code == "look02" )		{	window.location = "/doc/list.html?part=2&menu_cd=20&class_cd=21"; }  // ³óºÎ¾Æ³» ¼Õ¿µÈñ °¶·¯¸®
	else if ( code == "look03" )		{	window.location = "/doc/look03.html?part=3"; }  // È­°¡ºÎºÎ°¡ °É¾î¿Â ±æ
	else if ( code == "talk04" )		{	window.location = "/doc/list.html?part=4&menu_cd=20&class_cd=23"; }  // µé³áÀÌ¾ß±â
	else if ( code == "look04" )		{	window.location = "/doc/exhibition.htm?part=4;" }  // µé³áÀü½ÃÈ¸

	//5. Æ÷µµÀÇ ÇÑ»ìÀÌ
	else if ( code == "grapes" )		{	window.location = "/doc/grapes01.html?part=1"; }  // Æ÷µµÀÇ ÇÑ»ìÀÌ
	else if ( code == "talk05" )		{	window.location = "/doc/talk05.html?part=2"; }  // ±èÃµÆ÷µµÃàÁ¦

	//6. Æ÷µµ³ª¹« ºÐ¾ç
	else if ( code == "sell01" )		{	window.location =  "/doc/sell01.html?part=1"; } // ºÐ¾ç¾È³»
	else if ( code == "sell02" )		{	window.location =  "/doc/sell02.html?part=2"; } // ºÐ¾ç °è¾à¼­
	else if ( code == "sell03" )		{	window.location =  "/doc/application.php?part=3"; } // ºÐ¾ç ½ÅÃ»ÇÏ±â
	else if ( code == "sell04" )		{	window.location =  "/doc/mytree_management.html?part=4"; } // ³ªÀÇ ºÐ¾ç¹ÞÀº ³ª¹«º¸±â
	
	//7. ÆÇ¸ÅÇ°¸ñ
    else if ( code == "item00" )		{	window.location = "/doc/product_list.html?part=1&category=110000"; }  // ÀüÃ¼Ç°¸ñ
	else if ( code == "item01" )		{	window.location = "/doc/product_list.html?part=1&category=111000"; }  // ÄÍº§Æ÷µµ
	else if ( code == "item02" )		{	window.location = "/doc/product_list.html?part=2&category=112000"; }  // Æ÷µµÁó
	else if ( code == "item03" )		{	window.location = "/doc/product_list.html?part=3&category=113000"; }  // È£µÎ
	//else if ( code == "item04" )		{	window.location = "/doc/product_list.html?part=4&category=114000"; }  // ¹ã
    else if ( code == "item05" )		{	window.location = "/doc/product_list.html?part=5&category=115000"; }  // ¼ÒÇ°
	
	//8. ÅÂÆò¸® ÀÌ¾ß±â
	//else if ( code == "talk01" )		{	window.location = "/doc/list.html?part=1&menu_cd=10&class_cd=10"; }  // ÅÂÆò¸® ¼Ò½Ä
	//else if ( code == "talk02" )		{	window.location = "/doc/list.html?part=2&menu_cd=30&class_cd=30"; }  // ÅÂÆò¸® ¿äÀýº¹Åë
	//else if ( code == "talk03" )		{	window.location = "/doc/list.html?part=3&menu_cd=30&class_cd=31"; }  // ÅÂÆò¸® µ¿ÀÇº¸°¨
	//else if ( code == "talk04" )		{	window.location = "/doc/list.html?part=4&menu_cd=20&class_cd=23"; }  // ÅÂÆò¸® Æ÷µµ¹ç ±×¸²´ëÈ¸
	
	
	//9. °í°´¼¾ÅÍ
	else if ( code == "cus01" )	    	{	window.location = "/doc/list.html?part=1&menu_cd=10&class_cd=11"; }  // ³ó¿ø¼Ò½Ä
	else if ( code == "cus02" )		    {	window.location = "/doc/list.html?part=2&menu_cd=20&class_cd=25"; }  // Ã¼Çè¼Ò½Ä
	else if ( code == "cus03" )		    {	window.location = "/doc/list.html?part=3&menu_cd=30&class_cd=32"; }  // °í°´°Ô½ÃÆÇ
	   
	//10. È¸¿ø°ø°£
	else if ( code == "mem01" )		    {	window.location = "javascript:Login();";  }              // ·Î±×ÀÎ
  else if ( code == "mem02" )		    {	window.location = "/member/register.php?part=2";  }           // È¸¿ø°¡ÀÔ
	else if ( code == "mem03" )	        {	window.location = "/mypage/edit_member.htm?part=3";  }      // È¸¿øÁ¤º¸ÀÔ·Â
	else if ( code == "mem04" )	        {	window.location = "/member/register_result.html?part=4";  }    // È¸¿ø°¡ÀÔ¿Ï·á
	else if ( code == "mem05" )		    {	window.location = "/member/mypage.html?part=5";  }             // ¸¶ÀÌÆäÀÌÁö
	else if ( code == "mem06" )	        {	window.location = "/mypage/secession.php?part=6";  }        // Å»Åð
	else if ( code == "mem07" )		    {	window.location = "/member/agree.html?part=7"; }  // ÀÌ¿ë¾à°ü
	else if ( code == "mem08" )		    {	window.location = "/member/privacy.html?part=8"; }  // °³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
	else if ( code == "mem09" )		    {	window.location = "/mypage/mileage.htm?part=9"; }  // ³»¸¶ÀÏ¸®Áöº¸±â
	
	//11.ÁÖ¹®Á¤º¸
	else if ( code == "cart" )		      {	window.location = "/shopping_cart/shopping_cart.htm?part=1";  }   //Àå¹Ù±¸´Ï
	else if ( code == "orderinquiry" )    {	window.location = "/mypage/buying_list.php?part=2";  }   //ÁÖ¹®¹è¼ÛÁ¶È¸
	else if ( code == "ordercancel" )	  {	window.location = "/mypage/cancel_list.php?part=3";  }   //ÁÖ¹®Ãë¼Ò

	//etc
    else if ( code == "mail" )			  {	window.location = "mailto:mail@hanmail.net"; }
	else if ( code == "sitemap" )		  {	window.location = "/doc/sitemap.html?part=1";  }
	
}


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function open_win(val, wname, wopt, menu) {
	var newopt = "", wHeight = 0, wWidth = 0;
	if (wopt != undefined) {
		var woptlist = wopt.replace(/ /g, "").split(",");
		for (var i in woptlist) {
			if (woptlist[i].match(/^height=/i)) {
				wHeight = parseInt(woptlist[i].substr(7),10);
				if (!isNaN(wHeight)) newopt += "top=" + Math.floor((screen.availHeight - wHeight) / 2) + ",";
			}
			if (woptlist[i].match(/^width=/i)) {
				wWidth = parseInt(woptlist[i].substr(6),10);
				if (!isNaN(wWidth)) newopt += "left=" + Math.floor((screen.availWidth - wWidth) / 2) + ",";
			}
		}
	}

	url = val + "?" + menu;
	window.open(url, wname, newopt + wopt); 
} 

// ·¹ÀÌ¾î ½ºÅ©·Ñ µÇ´Â ¼Ò½º
var bNetscape4plus = (navigator.appName == "Netscape" && navigator.appVersion.substring(0,1) >= "4");
var bExplorer4plus = (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4");
function CheckUIElements(){
        var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;

        if ( bNetscape4plus ) { 
                yMenuFrom   = document["divMenu"].top;
                yMenuTo     = top.pageYOffset + 62;
        }
        else if ( bExplorer4plus ) {
                yMenuFrom   = parseInt (divMenu.style.top, 10);
                yMenuTo     = document.body.scrollTop + 256;//·¹ÀÌ¾îÀÇ top°ªÀº ÆäÀÌÁö ¿­¾úÀ»¶§ ½½¶óÀÌµù ½ÃÀÛÁ¡ÀÌ°í ¿©±â ¿·¿¡ ¼ýÀÚ´Â ÃÖÁ¾ÀûÀ¸·Î Å¾À¸·ÎºÎÅÍ µµÂøÇÏ´Â °÷
        }

        timeoutNextCheck = 0;

        if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom ) {
                setTimeout ("CheckUIElements()", timeoutNextCheck);
                return;
        }

        if ( yButtonFrom != yButtonTo ) {
                yOffset = Math.ceil( Math.abs( yButtonTo - yButtonFrom ) / 10 );
                if ( yButtonTo < yButtonFrom )
                        yOffset = -yOffset;

                if ( bNetscape4plus )
                        document["divLinkButton"].top += yOffset;
                else if ( bExplorer4plus )
                        divLinkButton.style.top = parseInt (divLinkButton.style.top, 10) + yOffset;

                timeoutNextCheck = 10;
        }
        if ( yMenuFrom != yMenuTo ) {
                yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 20 );
                if ( yMenuTo < yMenuFrom )
                        yOffset = -yOffset;

                if ( bNetscape4plus )
                        document["divMenu"].top += yOffset;
                else if ( bExplorer4plus )
                        divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;

                timeoutNextCheck = 10;
        }

        setTimeout ("CheckUIElements()", timeoutNextCheck);
}

function OnLoad()
{
        var y;
        if ( top.frames.length )
        if ( bNetscape4plus ) {
                document["divMenu"].top = top.pageYOffset + 50;//À¥¿¡ ¶ç¿üÀ»¶§ ½ÃÀÛÁ¡
                document["divMenu"].visibility = "visible";
        }
        else if ( bExplorer4plus ) {
                divMenu.style.top = document.body.scrollTop + 250;//À¥¿¡ ¶ç¿üÀ»¶§ ½ÃÀÛÁ¡
                divMenu.style.visibility = "visible";
        }
        CheckUIElements();
        return true;
}

//-->

//ÆË¾÷
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function Login() {	
  window.open('/mypage/login_form.htm','popup1','location=0,directories=0,resizable=0,status=0,toolbar=0,menubar=0,width=480,height=300,left=200,top=200,scrollbars=0')
}

function Logout() {
  if (confirm("·Î±×¾Æ¿ô ÇÏ½Ã°Ú½À´Ï±î?")) {
    open("/mypage/logout.htm", "_self");
  }
}
//-->
