function irPara(combo){
	if(document.getElementById(combo).value == "")
		alert("Selecione um item do menu rápido");
	else
		window.location=document.getElementById(combo).value;
}


function addFav(){
    var url        = "http://smcom.com.br";
    var title    = "smacom informatica Ltda.";
    if (window.sidebar) window.sidebar.addPanel(title, url,"");
    else if(window.opera && window.print){
        var mbm = document.createElement('a');
        mbm.setAttribute('rel','sidebar');
        mbm.setAttribute('href',url);
        mbm.setAttribute('title',title);
        mbm.click();
    }
    else if(document.all){window.external.AddFavorite(url, title);}
}
			startList = function() {
				if (document.all&&document.getElementById) {
					navRoot = document.getElementById('nav');
					for (i=0; i<navRoot.childNodes.length; i++) {
						node = navRoot.childNodes[i];
						if (node.nodeName=='LI') {
							node.onmouseover=function() {
								this.className+=' over';
			  				}
			  				node.onmouseout=function() {
			  					this.className=this.className.replace(' over', '');
	   						}
						  }
			  		}
			 	}
			}
			window.onload=startList;
