
//·¹ÀÌ¾î¸¦ ³ªÅ¸³»´Â DIV
	document.write("<div id=divMenu align=right style='Z-INDEX: 1;LEFT:900px; POSITION: absolute; TOP: 500px'> ");
	// ¿©±â¿¡¼­ ¹è³ÊÀÇ À§Ä¡¿Í Å©±â¸¦ ¼³Á¤ ÇÏ¼¼¿ä
	document.write("<table width='80' border='0' cellspacing='0' cellpadding='0'>");
	document.write("<tr><td><img src='../images2/m_banner01.gif' width=80 height=43 border=0></td></tr>");
	document.write("<tr><td><img src='../images2/m_banner02.gif' width=80 height=49 border=0></td></tr>");
	document.write("<tr><td><a href=../category/?a_code=B&b_code=BG onfocus=this.blur()><img src='../images2/m_banner03.gif' width=80 height=27 border=0></a></td></tr>");
	document.write("<tr><td><a href=../category/?a_code=I&b_code=IK onfocus=this.blur()><img src='../images2/m_banner04.gif' width=80 height=22 border=0></a></td></tr>");
	document.write("<tr><td><a href=../category/?a_code=I&b_code=IE onfocus=this.blur()><img src='../images2/m_banner05.gif' width=80 height=26 border=0></a></td></tr>");
	document.write("<tr><td><a href=../category/?a_code=I&b_code=IH onfocus=this.blur()><img src='../images2/m_banner06.gif' width=80 height=26 border=0></a></td></tr>");
	document.write("<tr><td><a href=../category/?a_code=B&b_code=BK onfocus=this.blur()><img src='../images2/m_banner07.gif' width=80 height=26 border=0></a></td></tr>");
	document.write("<tr><td><a href=../category/?a_code=I&b_code=IA onfocus=this.blur()><img src='../images2/m_banner08.gif' width=80 height=89 border=0></a></td></tr>");
	document.write("<tr><td height=5></td></tr>");
    document.write("<tr><td><a href='http://www.gomtour.co.kr' target='_blank' ><img src='../images2/banner_gom1.gif' width=80 height=80 border=0></a></td></tr>");
	document.write("<tr><td height=5></td></tr>");
    document.write("<tr><td><a href='http://www.gomtour.co.kr' target='_blank'><img src='../images2/banner_gom2.gif' width=80 height=80 border=0></a></td></tr>");
	document.write("</table>");
    document.write("</div> ");


// ½ºÄ«ÀÌ ½ºÅ©·¡ÆÛ ½ºÅ©·Ñ°ü·Ã
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;

		//ÀüÃ¼ Å×ÀÌºíÀÇ ÆøÀ» ÀÌ¿ëÇÑ ·¹ÀÌ¾î À§Ä¡ Àâ±â
        //x=798 + (document.body.clientWidth-798)/2;
		x = 919
        document.all["divMenu"].style.pixelLeft = x+1;	//Å×ÀÌºí°ú ·¹ÀÌ¾î¿ÍÀÇ °£°Ý
		
		
		if ( bNetscape4plus ) { // ³×Ã÷ÄÉÀÌÇÁ ¿ë ¼³Á¤
                //yButtonFrom = document["divLinkButton"].top;
                //yButtonTo   = top.pageYOffset + top.innerHeight - 55;
                yMenuFrom   = document["divMenu"].top;
                yMenuTo     = document.body.scrollTop + 120;   // À§ÂÊ À§Ä¡
        }
        else if ( bExplorer4plus ) {  // IE ¿ë ¼³Á¤
                //yButtonFrom = parseInt (divLinkButton.style.top, 10);
                //yButtonTo   = document.body.scrollTop + document.body.clientHeight - 55;
                yMenuFrom   = parseInt (divMenu.style.top, 10);
                yMenuTo     = document.body.scrollTop + 120; // À§ÂÊ À§Ä¡
        }
        timeoutNextCheck = 500;

        if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom ) {
                setTimeout ("CheckUIElements()", timeoutNextCheck);
                return;
        }
        if ( yButtonFrom != yButtonTo ) {
                yOffset = Math.ceil( Math.abs( yButtonTo - yButtonFrom ) / 20 );
                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 )
        //top.location.href = self.location.href;
        // ÆäÀÌÁö ·Îµù½Ã Æ÷Áö¼Ç
        if ( bNetscape4plus )
        {
           document["divMenu"].top = top.pageYOffset + 120;
           document["divMenu"].visibility = "visible";
           //document["divLinkButton"].top = top.pageYOffset + top.innerHeight - 55;
           //document["divLinkButton"].visibility = "visible";
        }
        else if ( bExplorer4plus )
        {
           divMenu.style.top = document.body.scrollTop + 120;
           divMenu.style.visibility = "visible";
           //divLinkButton.style.top = document.body.scrollTop + document.body.clientHeight - 55;
           //divLinkButton.style.visibility = "visible";
        }
        // initializing UI update timer
        CheckUIElements();
        //if ( bExplorer4plus )
        //   setTimeout ( "FlashTitleStepIt(255)", 10 );
        return true;
}

OnLoad();
