if(navigator.userAgent.indexOf("Firefox") != -1)
{
   document.write("<style type='text/css'>");
   document.write(".menuOut {cursor:pointer; margin:1px; background-color:#eaeaea; color:#003366; width:143px; border:1px solid #ffffff; padding:2px; padding-left:5px;text-align:left; font-family:Arial; font-weight:bold;font-size:11px;line-height:19px}");
   document.write(".menuOver {cursor:pointer; margin:1px; background-color:#ffffff; color:#003366; width:143px; border:1px solid #ffffff; padding:2px; padding-left:5px;text-align:left; font-family:Arial; font-weight:bold;font-size:11px;line-height:19px}");
   document.write(".submenu {cursor:pointer; margin:0px; background-color:#ffffff; color:#666666; width:147px; border:0px solid #cccccc; padding:2px; text-align:left; font-family:Arial; font-weight:normal;font-size:11px; line-height:19px}");
   document.write(".submenu a {cursor:pointer; margin:0px; background-color:#ffffff; color:#666666; width:147px; border:1px solid #ffffff; padding:2px; text-align:left; font-family:Arial; font-weight:normal;font-size:11px;line-height:19px}");
   document.write(".submenu a:hover {cursor:pointer; margin:0px; background-color:#ffffff; color:#666666; width:147px; border:1px solid #009933; padding:2px; text-align:left; font-family:Arial; font-weight:normal;font-size:11px;line-height:19px;}"); 
   document.write("</style>");
}
else
{
   document.write("<style type='text/css'>");
   document.write(".menuOut {cursor:pointer; margin:1px; background-color:#eaeaea; color:#003366; width:143px; border:1px solid #ffffff; padding:2px; padding-left:5px;text-align:left; font-family:Arial; font-weight:bold;font-size:11px;line-height:19px}");
   document.write(".menuOver {cursor:pointer; margin:1px; background-color:#ffffff; color:#003366; width:143px; border:1px solid #ffffff; padding:2px; padding-left:5px;text-align:left; font-family:Arial; font-weight:bold;font-size:11px;line-height:19px}");
   document.write(".submenu {cursor:pointer; margin:0px; background-color:#ffffff; color:#666666; width:147px; border:0px solid #cccccc; padding:2px; text-align:left; font-family:Arial; font-weight:normal;font-size:11px; line-height:19px}");
   document.write(".submenu a {cursor:pointer; margin:0px; background-color:#ffffff; color:#666666; width:147px; border:1px solid #ffffff; padding:2px; text-align:left; font-family:Arial; font-weight:normal;font-size:11px;line-height:19px}");
   document.write(".submenu a:hover {cursor:pointer; margin:0px; background-color:#ffffff; color:#666666; width:147px; border:1px solid #009933; padding:2px; text-align:left; font-family:Arial; font-weight:normal;font-size:11px;line-height:19px;}"); 
   document.write("</style>");
}



function SwitchMenu(obj){
	if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("cont").getElementsByTagName("DIV");
		if(el.style.display == "none"){
			for (var i=0; i<ar.length; i++){
				ar[i].style.display = "none";
			}
			el.style.display = "block";
		}else{
			el.style.display = "none";
		}
	}
}


function ChangeClass(menu, newClass) 
{ 
	 if (document.getElementById) { 
	 	document.getElementById(menu).className = newClass;
	 } 
}
 
document.onselectstart = new Function("return true");


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
