var cssid="primary-nav"
var menuadd="h"
var menuh="menuh"
if(window.attachEvent)window.attachEvent("onload",cssHover)
function cssHover(){
var sfEls=document.getElementById(cssid).getElementsByTagName("LI")
for(var i=0;i<sfEls.length;i++){
sfEls[i].onmouseover=function(){
if(this.className !=""){
this.className=this.className+menuadd}
else{
this.className=menuh}}
sfEls[i].onmouseout=function(){
if(this.className==menuh){
this.className=""}
else{
this.className=this.className.replace(new RegExp(menuadd+"$"),"")}}}}
