var showm=5; 
var shown=Math.floor(Math.random()*showm+1) 
switch(shown) 
{ 
case 1: 
document.write(''); 
break; 
case 2: 
document.write('<style>.aaa{float:right;padding-right:5px;} .bbb{float:left;padding-left:5px;}</style>'); 
break; 
case 3: 
document.write(''); 
break; 
case 4: 
document.write('<style>.aaa{float:right;padding-right:5px;} .bbb{float:left;padding-left:5px;}</style>'); 
break; 
case 5: 
document.write(''); 
break; 
} 

function chkdiv(divid){
	var chkid=document.getElementById(divid);
	if(chkid != null){return true; }
	else {return false; }
}

function ResumeError() { 
return true; 
} 
window.onerror = ResumeError; 

function doClick(o){
	 o.className="nav_current";
	 var j;
	 var id;
	 var e;
	 for(var i=1;i<=8;i++){
	   id ="nav"+i;
	   j = document.getElementById(id);
	   e = document.getElementById("sub"+i);
	   if(id != o.id){
	   	 j.className="nav_link";
	   	 e.style.display = "none";
	   }else{
			e.style.display = "block";
	   }
	 }
	 }

function menuFix() {
 var sfEls = document.getElementById("barnav").getElementsByTagName("li");
 for (var i=0; i<sfEls.length; i++) {
  sfEls[i].onmouseover=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onMouseDown=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onMouseUp=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onmouseout=function() {
  this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),

"");
  }
 }
}
window.onload=menuFix;

//--><!]]>