function i(ur,w,h){
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+w+'" height="'+h+'"> ');
 document.write('<param name="movie" value="img/' + ur + '.swf">');
 document.write('<param name="quality" value="high"> ');
 document.write('<param name="wmode" value="transparent"> ');
 document.write('<param name="menu" value="false"> ');
 document.write('<embed src="img/' + ur + '.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed> ');
 document.write('</object> ');
}


startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("menu");
		//anchors = navRoot.getElementsByTagName("a");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function(evt) {
					this.className+=" over";
				}
				node.onmouseout=function(evt) {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
//window.onload=startList;


sfHover = function() {
	var sfEls = document.getElementById("menu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" over";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" over\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

