          <!--

function GoPage(code) {
	if ( !code )						{	window.location = "/index.html";	}
	else if ( code == "main" )			{	window.location = "/index.html";		}
	
	
	//1. ³óÀå¼Ò°³
	else if ( code == "info01" )		{	window.location = "/doc/intro.html?part=1"; }  //³óÀåÁÖ ÀÎ»ç¸»
	else if ( code == "info02" )		{	window.location = "/doc/map.html?part=2"; }  //³óÀå ¿À½Ã´Â ±æ
    else if ( code == "info03" )		{	window.location = "/doc/list.html?part=3&mode=List&menu_cd=10&class_cd=10&product_no=&order_no=&pic_gubun="; }  //³óÀå ¼Ò½Ä

	//2 . »óÇ°ºÐ¾ç 
	else if ( code == "sell01" )		{	window.location =  "/doc/guide_melon.html?part=1"; } //Âü¿ÜºÐ¾ç
	else if ( code == "sell01_2" )		{	window.location =  "/doc/farm_contract.html?part=1"; } //Âü¿ÜºÐ¾ç °è¾à¼­
	else if ( code == "sell01_3" )		{	window.location =  "/doc/product_list.html?category=220000"; } //Âü¿ÜºÐ¾ç ½ÅÃ»ÇÏ±â
	else if ( code == "sell02" )		{	window.location =  "/doc/guide_grape.html?part=2"; } //ÀÚ¿ÁÆ÷µµºÐ¾ç
	else if ( code == "sell02_2" )		{	window.location =  "/doc/sell02_2.html?part=2"; } //ÀÚ¿ÁÆ÷µµºÐ¾ç °è¾à¼­
	else if ( code == "sell02_3" )		{	window.location =  "/doc/sell02_3.html?part=2"; } //ÀÚ¿ÁÆ÷µµºÐ¾ç ½ÅÃ»ÇÏ±â
    else if ( code == "sell03" )		{	window.location =  "/doc/mytree_management.html?part=3"; } //³ªÀÇºÐ¾ç¹ÞÀº³ª¹«
	
	//3. »óÇ°¼Ò°³
	else if ( code == "shop00" )		{	window.location = "/doc/product_list.html?part=1&"; } // »óÇ°¼Ò°³
	else if ( code == "shop01" )		{	window.location = "/doc/product_list.html?part=1&category=111000"; } // Âü¿Ü
    else if ( code == "shop02" )		{	window.location = "/doc/product_list.html?part=2&category=112000"; } // Æ÷µµ
	else if ( code == "shop03" )		{	window.location = "/doc/product_list.html?part=2&category=119000"; } // ±âÅ¸
    else if ( code == "shop01_1" )		{	window.location = "/doc/shop01_1.html?part=1"; } // »óÇ°¼Ò°³ »ó¼¼º¸±â
	
	//4. °¨¹®³óÀå À£ºùÂü¿Ü, Æ÷µµÀç¹è¹ý 
	else if ( code == "pro01" )		    {	window.location = "/doc/pro01.html?part=1"; }  //Âü¿ÜÀç¹è¹ý
	else if ( code == "pro02" )		    {	window.location = "/doc/pro02.html?part=2"; }  //ÀÚ¿ÁÆ÷µµ Àç¹è¹ý	
	
	//5.´À¸²º¸°¡ ¾²´Â ¿µ³óÀÏ±â
	else if ( code == "diary01" )		{	window.location = "/doc/diary.html?part=1"; }  //¿µ³óÀÏ±â
	
	//6. Æ÷Åä°¶·¯¸®
	else if ( code == "gallery01" )		{	window.location = "/doc/list.html?part=1&menu_cd=20&class_cd=20"; }  //Æ÷Åä°¶·¯¸®	
	
	//7. ³óÀåµ¿¿µ»ó
	else if ( code == "ucc" )		    {	window.location = "/doc/list.html?menu_cd=40&class_cd=41 "}  //³óÀåµ¿¿µ»ó
	
	//°í°´¼¾ÅÍ
	else if ( code == "news" )		    {	window.location = "/doc/list.html?part=1&menu_cd=30&class_cd=33"; }  //°í°´¼¾ÅÍ
    else if ( code == "news02" )		{	window.location = "/doc/list.html?part=1&menu_cd=30&class_cd=99"; }  //ÁÖ¹®°Ô½ÃÆÇ
    else if ( code == "news03" )		{	window.location = "/doc/list.html?part=1&menu_cd=30&class_cd=36"; }  //ÀÚÀ¯°Ô½ÃÆÇ

	//ÁÂÃøº£³Ê
    else if ( code == "blog" )		    {   window.open ("http://blog.naver.com/gammun/");}   //ºí·Î±×
	else if ( code == "ex_farm" )		{	window.location = "/doc/list.html?part=1&menu_cd=30&class_cd=34"; }    //Ã¼Çè³óÀå

	//ÇÏ´Ü¸Þ´º
	else if ( code == "cus01" )		    {	window.location = "/doc/list.html?part=1&menu_cd=30&class_cd=33"; }    //°í°´¼¾ÅÍ
	else if ( code == "privacy" )	    {	window.location = "/member/privacy.html?part=1";  }     //°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
	else if ( code == "agree" )	        {	window.location = "/member/agree.html?part=1";  }     //ÀÌ¿ë¾à°ü
    
	// È¸¿ø°ø°£
	else if ( code == "login" )		        {	window.open('/mypage/login_form.htm?part=1','popup1','location=0,directories=0,resizable=0,status=0,toolbar=0,menubar=0,width=480,height=300,left=200,top=200,scrollbars=0'); }       // ·Î±×ÀÎ
    else if ( code == "register" )		    {	window.location = "/member/register.html?part=2";  }       // È¸¿ø°¡ÀÔ
	else if ( code == "register_form" )	    {	window.location = "/member/register_form.html?part=3";  }       // È¸¿øÁ¤º¸ÀÔ·Â
	else if ( code == "register_result" )	{	window.location = "/member/register_result.html?part=4";  }       // È¸¿ø°¡ÀÔ¿Ï·á
	else if ( code == "idpw_search" )	    {	window.location = "/member/idpw_search.html?part=5";  }       // ¾ÆÀÌºñ¹øÃ£±â
	else if ( code == "mypage" )		    {	window.location = "/mypage/buying_list.php?part=1";  }       // ¸¶ÀÌÆäÀÌÁö  

	else if ( code == "mypage" )		    {	window.location = "/member/mypage.html?part=1";  }       // ÀÌ¿ë¾à°ü
	else if ( code == "mypage" )		    {	window.location = "/member/mypage.html?part=1";  }       // °³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
	
	// ÁÖ¹®Á¤º¸
	else if ( code == "cart" )		        {	window.location = "/shopping_cart/shopping_cart.htm?part=1";  }       //Àå¹Ù±¸´Ï
	else if ( code == "order_view" )		{	window.location = "/cart/order_view.html?part=1";  }       //ÁÖ¹®¹è¼ÛÁ¶È¸

	//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);
}
//-->
