<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(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 MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location=\'"+selObj.options[selObj.selectedIndex].value+" \'");
  if (restore) selObj.selectedIndex=0;
}

function IELinkNav() {
	var navItems = document.getElementById("menu").getElementsByTagName("div");
	        for (var i=0; i<navItems.length; i++) {
		    if(navItems[i].className == "show") {
			navItems[i].onmouseover=function() { this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = "show"; }}}
		}

var id_menu = new
Array('pod_menu_0','pod_menu_1', 'pod_menu_2', 'pod_menu_3', 'pod_menu_4', 'pod_menu_5', 'pod_menu_6', 'pod_menu_7', 'pod_menu_8');
var id_podmenu = new
Array('games', 'cycle', 'single_combat','power','avia','extrim','technical_sports', 'applied', 'complicated');
 
function OpenMenu(id){
for (var j=0; j < id_menu.length; j++) {
if(id != id_menu[j]){document.getElementById(id_menu[j]).style.display = "none";}}	
if(document.getElementById(id).style.display == "block"){
document.getElementById(id).style.display = "none";	
}else {document.getElementById(id).style.display = "block"; }}

function OpenPodMenu(id){
for (var j=0; j < id_podmenu.length; j++) {
if(id == id_podmenu[j]){document.getElementById(id_menu[j]).style.display = "block";}
if(id!= id_podmenu[j]){document.getElementById(id_menu[j]).style.display = "none";}}}
//-->
