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", "");
				}
			}
		}
	}
}

// FLASH FUNCTION - inserted by Rodrigo @ March 22-2007 
function insertFlash(swf,width, height, bgcolor, quality) {
	var obj = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+ width +'" height="'+ height +'" id="menu" align="middle">';
	obj+='<param name="allowScriptAccess" value="sameDomain" />'
	obj+='<param name="movie" value="'+ swf +'" />'
	obj+='<param name="quality" value="'+ quality +'" />'
	obj+='<param name="bgcolor" value="'+ bgcolor +'" />'
	obj+='<embed src="'+ swf +'" quality="'+ swf +'" bgcolor="'+ bgcolor +'" width="'+ width +'" height="'+ height +'" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
	obj+='</object>';
	document.write(obj);
}


window.onload=startList;
