startList = function() {
	// code for IE
	if(!document.body.currentStyle) return;
	var subs = document.getElementsByName('submenu');
	for(var i=0; i<subs.length; i++) {
		var li = subs[i].parentNode;
		if(li && li.lastChild.style) {
			li.onmouseover = function() {
				this.lastChild.style.visibility = 'visible';
			}
			li.onmouseout = function() {
				this.lastChild.style.visibility = 'hidden';
			}
		}
	}
}

window.onload=startList;

    // 
//    document.onselectstart = function() { return false; }
    
    // Menu Lateral
    if (document.getElementById){
    document.write('<style type="text/css">\n')
    document.write('.options{display: none;}\n')
    document.write('</style>\n')
    }
    function SwitchMenu(obj){
		if(document.getElementById){
    	var el = document.getElementById(obj);
    	var ar = document.getElementById("LeftMenuDiv").getElementsByTagName("span");
    		if(el.style.display != "block"){
    			for (var i=0; i<ar.length; i++){
    				if (ar[i].className=="LeftMenuOptions")
    				ar[i].style.display = "none";
    			}
    			el.style.display = "block";
    		}else{
    			/*el.style.display = "none";*/
    		}
    	}		
    }
