function over_effect(e,state){
	if(document.all)ob=e.srcElement 
	else if(document.getElementById)ob=e.target
	if(ob.className.substring(0,8)=="menuitem"){
		if(ob.className!="menuitemSelected"){
			ob.className="menuitem"+state
		}
	}else{
		while(ob.tagName!="DIV"){
			ob=document.getElementById?ob.parentNode:ob.parentElement
			if(ob.className.substring(0,8)=="menuitem"){
				if(ob.className!="menuitemSelected"){
					ob.className="menuitem"+state
				}
			}
		}
	}
}

function makemenu(mn){
	sMenu="HOME#start.php"
	+"|NEWS#article.php?keyName=NewsID&val=-1&tbl=news&globid=204"
	+"|CONTACT#Contact.php"
	+"|BRANDS#brands.php"
	+"|PRODUCTS#products.php"
	+"|MANUALS#article.php?keyName=ManualID&val=-1&tbl=manuals&globid=205"
	+"|LINKS#links.php"
	+"|INTRO#index.htm"
	+""
	arrMenu=sMenu.split('|')
	sA=""
//	sA+="<div onMouseover=\"over_effect(event,'Hover')\" onMouseout=\"over_effect(event,'Normal')\">"
	sA+="<div style=\"padding-left:355px;padding-top:68px;\">"
	sA+="<table  border=0 cellspacing=0 cellpadding=0 height=20><tr>"
	for(i=0;i<arrMenu.length;i++){
		ob=arrMenu[i].split('#')
		sA+="<td width=6 background=img/btnleft.jpg><img src=img/spacer.gif></td>"
		sA+="<td background=img/btnmid.jpg class="+((mn==-1)?"menuitemSelected":"menuitemNormal")+" onclick=location.href='"+ob[1]+"' align=center>"+ob[0]+"</td>"
		sA+="<td width=9 background=img/btnright.jpg></td>"
	}
	sA+="</tr></table></div>"
	document.write(sA);
}


