function menuimg(){

MM_preloadImages('/motorsports/e/images/gmenu/btn_gm_worldrally_on.gif','/motorsports/e/images/gmenu/btn_gm_asiapacific_on.gif','/motorsports/e/images/gmenu/btn_gm_jpnrally_on.gif','/motorsports/e/images/gmenu/btn_gm_dakarrally_on.gif','/motorsports/e/images/gmenu/btn_gm_worldcup_on.gif','/motorsports/e/images/gmenu/btn_gm_international_on.gif');

}





function globalnavi(page){

var s = "";

s += "<div id=\"gmenu-header\">";
s += "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
s += "<tr>";
s += "<td><img src=\"/motorsports/e/images/gmenu/2009/tit_motorsport.jpg\" width=\"780\" height=\"48\" alt=\"MOTOR SPORTS 2009\" usemap=\"#Map\"></td>";
s += "</tr>";
s += "</table>";

// Begin Home Button

s += "<div id=\"gmenu-header-home\"><a href=\"http://www.mitsubishi-motors.com/motorsports/e/index.html\" onMouseOver=\"MM_swapImage('btnhome','','/motorsports/e/images/gmenu/btn_gm_home_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_home_off.gif\" alt=\"HOME\" name=\"btnhome\" width=\"35\" height=\"9\" border=\"0\" id=\"btnhome\"></a></div>";

// End Home Button

s += "</div>";

// End "gmenu-header"



s += "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
s += "<tr>";

// "FIA World Rally Championship"
if (page == 01) {

s += "<td><a href=\"http://www.mitsubishi-motors.com/motorsports/e/08wrc/index.html\"><img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_worldrally_on.gif\" alt=\"FIA World Rally Championship\" name=\"btnworldrally\" width=\"156\" height=\"36\" border=\"0\" id=\"btnworldrally\"></a></td>";

} else {

s += "<td><a href=\"http://www.mitsubishi-motors.com/motorsports/e/08wrc/index.html\" onMouseOver=\"MM_swapImage('btnworldrally','','/motorsports/e/images/gmenu/btn_gm_worldrally_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\">";
s += "<img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_worldrally_off.gif\" alt=\"FIA World Rally Championship\" name=\"btnworldrally\" width=\"156\" height=\"36\" border=\"0\" id=\"btnworldrally\"></a></td>";

}


// "FIA Asia Pacific Rally Championship"
if (page == 02) {

s += "<td><a href=\"http://www.mitsubishi-motors.com/motorsports/e/08aprc/index.html\"><img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_asiapacific_on.gif\" alt=\"FIA Asia Pacific Rally Championship\" name=\"btnasiapacific\" width=\"156\" height=\"36\" border=\"0\" id=\"btnasiapacific\"></a></td>";

} else {

s += "<td><a href=\"http://www.mitsubishi-motors.com/motorsports/e/08aprc/index.html\"  onMouseOver=\"MM_swapImage('btnasiapacific','','/motorsports/e/images/gmenu/btn_gm_asiapacific_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\">";
s += "<img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_asiapacific_off.gif\" alt=\"FIA Asia Pacific Rally Championship\" name=\"btnasiapacific\" width=\"156\" height=\"36\" border=\"0\" id=\"btnasiapacific\"></a></td>";

}


// "Dakar Rally Dakar Series"
if (page == 03) {

s += "<td><a href=\"/motorsports/e/09dakar/index.html\"><img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_dakarrally_on.gif\" alt=\"Dakar Rally\" name=\"btndakar\" width=\"156\" height=\"36\" border=\"0\" id=\"btndakar\"></a></td>";

} else {

s += "<td><a href=\"/motorsports/e/09dakar/index.html\" onMouseOver=\"MM_swapImage('btndakar','','/motorsports/e/images/gmenu/btn_gm_dakarrally_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\">";
s += "<img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_dakarrally_off.gif\" alt=\"Dakar Rally\" name=\"btndakar\" width=\"156\" height=\"36\" border=\"0\" id=\"btndakar\"></a></td>";

}


// "FIA World Cup for Cross Country Rallies" &
// "FIA International Cup for Cross Country Bajas"
if (page == 04) {

s += "<td><a href=\"http://www.mitsubishi-motors.com/motorsports/e/08ccr/index.html\"><img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_worldcup_on.gif\" alt=\"FIA World Cup For Cross Country Rallies\" name=\"btnworldcup\" width=\"156\" height=\"36\" border=\"0\" id=\"btnworldcup\"></a></td>";
s += "<td><a href=\"http://www.mitsubishi-motors.com/motorsports/e/08ccr/index.html\"><img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_international_on.gif\" alt=\"FIA International Cup For Cross Country Bajas\" name=\"btninternational\" width=\"156\" height=\"36\" border=\"0\" id=\"btninternational\"></a></td>";

} else {

s += "<td><a href=\"http://www.mitsubishi-motors.com/motorsports/e/08ccr/index.html\" onMouseOver=\"MM_swapImage('btnworldcup','','/motorsports/e/images/gmenu/btn_gm_worldcup_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\">";
s += "<img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_worldcup_off.gif\" alt=\"FIA World Cup For Cross Country Rallies\" name=\"btnworldcup\" width=\"156\" height=\"36\" border=\"0\" id=\"btnworldcup\"></a></td>";

s += "<td><a href=\"http://www.mitsubishi-motors.com/motorsports/e/08ccr/index.html\" onMouseOver=\"MM_swapImage('btninternational','','/motorsports/e/images/gmenu/btn_gm_international_on.gif',1)\" onMouseOut=\"MM_swapImgRestore()\">";
s += "<img src=\"http://www.mitsubishi-motors.com/motorsports/e/images/gmenu/btn_gm_international_off.gif\" alt=\"FIA International Cup For Cross Country Bajas\" name=\"btninternational\" width=\"156\" height=\"36\" border=\"0\" id=\"btninternational\"></a></td>";

}

s += "</tr>";
s += "</table>";

document.write(s);

}