/*
//JAVASCRIPT:scroll menu

var isDOM = (document.getElementById ? true : false);
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);
var isNS = navigator.appName == "Netscape";

function getRef(id) {
        if (isDOM) return document.getElementById(id);
        if (isIE4) return document.all[id];
        if (isNS4) return document.layers[id];
}

//function getSty(id) {
//      x = getRef(id);
//      return (isNS4 ? getRef(id) : getRef(id).style);
//}

var scrollerHeight = 76;
var puaseBetweenImages = 500;
var imageIdx = 0;



function startVScroll() {
//    if (isNS4)
//        vSecond.top = scrollerHeight + 5;
//    else
//        vSecond.style.top = scrollerHeight + 5;
// moveVFirstImage(vFirst);


}

function moveRightEdge() {
        var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;
         
        if (isDOM) {
                yMenuFrom   = parseInt (divMenu.style.top, 10);
                yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 76; // position top
        }
        timeoutNextCheck = 500;

        if (yMenuFrom != yMenuTo) {
                yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20);
                if (yMenuTo < yMenuFrom)
                        yOffset = -yOffset;
                if (isNS4)
                        divMenu.top += yOffset;
                else if (isDOM)
                        divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;
                        timeoutNextCheck = 10;
        }
        //alert(yOffset);
        setTimeout ('moveRightEdge()', timeoutNextCheck);
}
//-->

function G_banner(){

document.write ('<div id="divMenu" style="left: 900px; top:71px;visibility: visible; width: 90px; position:absolute">\n'
+' <table width="90" border="0" cellspacing="0" cellpadding="0">\n'
+'  <tr><td><a href="/guide/guide1_1.html"><img src="/images/event/banner/gd1_ban2.gif" width="90" height="103" border="0"></a></td></tr>\n'
//+'  <tr><td><a href="/event/index.html"><img src="/images/event/0701_season2/20070115_cb2_90500.gif" width="90" height="500" border="0"></a></td></tr>\n'
+' </table>	\n'
+'</div>\n');
}
G_banner();
}
/*
if (isDOM) {
 var divMenu = getRef('divMenu');
  divMenu.style.top = (isNS ? window.pageYOffset : document.body.scrollTop) + 76;
  divMenu.style.visibility = "visible";
  moveRightEdge();
}
*/
