function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_goToURL() { //v3.0
	var i;
	var args = MM_goToURL.arguments; 
	document.MM_returnValue = false;
	for (i=0; i<(args.length-1); i+=2) 
	{
		target = args[i].substring(1,args[i].length);
		url = args[i+1];
		
		if( target.toLowerCase() == "blank" )
		{
			window.open( url, "", "location=yes,status=yes,toolbar=yes,scrollbars=yes,menubar=yes,resizable=yes" );
		}
		else { eval( target + ".location='"+ url +"'"); }
	}
}

<!--
// ==========================================================================
// Browsercheck
// ==========================================================================

function sa_bwcheck(){ 
  this.ver=navigator.appVersion
  this.agent=navigator.userAgent
  this.dom=document.getElementById?1:0
  this.opera5=this.agent.indexOf("Opera 5")>-1
  this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
  this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
  this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
  this.ie=this.ie4||this.ie5||this.ie6
  this.mac=this.agent.indexOf("Mac")>-1
  this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
  this.ns4=(document.layers && !this.dom)?1:0;
  this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5)
  return this
}
bw=new sa_bwcheck() //Browsercheck object

// NS4 resize bug fix
if (bw.ns4) {var origWidth = window.innerWidth;var origHeight = window.innerHeight; window.onresize = reDo;}
function reDo() {if (window.innerWidth != origWidth || window.innerHeight != origHeight) location.reload();}


/** 
* change the style of the menu items for rollover events
*/ 
function hoverMenu(obj, color, colorBg, cursor,id) {
	if (!bw.ns4){ 
		if (colorBg != '')
			obj.style.backgroundColor = colorBg;
		if (cursor != '')
	 	   obj.style.cursor = cursor;
        tmp = document.getElementById(id);
	    tmp.style.color = color;
 	}
}
