function preLoadBackgrounds(){
  	for(i=0;i<arguments.length;i++){
    this[i]=new Image()
    this[i].src=arguments[i]
  	}
  	return this
	}

    function showAny(id){
        document.getElementById(id).style.display = "";
    }
    
    function hideAny(id){
        document.getElementById(id).style.display = "none";
    }
    
    function doAny(id){
        if (document.getElementById(id).style.display == 'none'){
            document.getElementById(id).style.display="";
        }else
        {
            document.getElementById(id).style.display = 'none'
        }
    }
    
	function showDIV(id){
	document.getElementById(id).style.display = "";
	document.getElementById('main'+id).className="LeftMenuActiveMinus";
	}

	function hideDIV(id){
	document.getElementById(id).style.display = "none";
	document.getElementById('main'+id).className="LeftMenuNormalPlus";
	}

	function HoverIT(id){
		if (document.getElementById(id).style.display == 'none'){
			document.getElementById('main'+id).className="LeftMenuNormalPlusHover";
		}
	}

	function UnHoverIT(id){
		if (document.getElementById(id).style.display == 'none'){
			document.getElementById('main'+id).className="LeftMenuNormalPlus";
		}
	}
		
	function doIT(id){
		if (document.getElementById(id).style.display == 'none'){
			showDIV(id);
			allHide(id);
		}else hideDIV(id);
	}

	function allHide(id){
		for (i=1; i<=7; i++){
		if (id != i){hideDIV(i);}

		}
	}