var lastWidth = window.innerWidth;
var lastHeight = window.innerHeight;


function PW_ReDrawNetscape() 
{ 
	if (document.layers) //  are we in dhtml ns4?
	{	
		if( (lastWidth != window.innerWidth) || (lastHeight != window.innerHeight))
			{
			window.location=window.location;	// this'll toggle.
			lastWidth = window.innerWidth;
			lastHeight = window.innerHeight;
		}
	}
}

//Roll-over script

function PW_ImgSwap(imgName, src)
{
	var targetImg = document.images[imgName];
	if(targetImg == null)
	{
		if(document.layers) //Netscape!
		{
			targetImg = document.layers[imgName + 'div'].document.images[imgName];
		}
	}
	if(targetImg)
	{
		targetImg.src = src;
	}
}

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];}}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openNewWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}