 if (document.images) {    
                
        
            btn01on = new Image();
            btn01on.src = "/op/images/tournament/side_ygo_home_on.gif";                                               
            btn02on = new Image();
            btn02on.src = "/op/images/tournament/side_signup_on.gif";
            btn03on = new Image();
            btn03on.src = "/op/images/tournament/side_news_on.gif";
            btn04on = new Image();
            btn04on.src = "/op/images/tournament/side_players_on.gif";
            btn05on = new Image();
            btn05on.src = "/op/images/tournament/side_host_on.gif";
            btn06on = new Image();
            btn06on.src = "/op/images/tournament/side_locator_on.gif";
						btn07on = new Image();
            btn07on.src = "/op/images/tournament/duelrank_on.gif";                                               
            btn08on = new Image();
            btn08on.src = "/op/images/tournament/rules_on.gif";
            btn09on = new Image();
            btn09on.src = "/op/images/tournament/tips_on.gif";
            btn10on = new Image();
            btn10on.src = "/op/images/tournament/tprizes_on.gif";
            btn11on = new Image();
            btn11on.src = "/op/images/tournament/annual_on.gif";
            
            
            btn01off = new Image();
            btn01off.src = "/op/images/tournament/side_ygo_home_off.gif";                                               
            btn02off = new Image();
            btn02off.src = "/op/images/tournament/side_signup_off.gif";
            btn03off = new Image();
            btn03off.src = "/op/images/tournament/side_news_off.gif";
            btn04off = new Image();
            btn04off.src = "/op/images/tournament/side_players_off.gif";
            btn05off = new Image();
            btn05off.src = "/op/images/tournament/side_host_off.gif";
            btn06off = new Image();
            btn06off.src = "/op/images/tournament/side_locator_off.gif";
						btn07off = new Image();
            btn07off.src = "/op/images/tournament/duelrank_off.gif";                                               
            btn08off = new Image();
            btn08off.src = "/op/images/tournament/rules_off.gif";
            btn09off = new Image();
            btn09off.src = "/op/images/tournament/tips_off.gif";
            btn10off = new Image();
            btn10off.src = "/op/images/tournament/tprizes_off.gif";
            btn11off = new Image();
            btn11off.src = "/op/images/tournament/annual_off.gif";
}

function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}

function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}

function change(theImage) { 
       if (document.images){
        //      document.theIndex.src =theOver
                document.TEXT.src = theImage
       } 
}

function setMessage(msg)  
{
	window.status = msg;
	return true;
}

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 showMe(theURL,winName,theWid,theHgt) {
	newWindow = open(theURL,winName,"toolbar=no,location=0,directories=no,status=yes,menubar=1,scrollbars=no,resizable=1,copyhistory=0,width=" + theWid + ",height=" + theHgt);
}

function showMeToo(theURL,winName,theWid,theHgt) {
	newWindow = open(theURL,winName,"toolbar=yes,location=1,directories=no,status=yes,menubar=1,scrollbars=1,resizable=1,copyhistory=0,width=" + theWid + ",height=" + theHgt);
}
