var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

var backgroundImageWidth = 577;
var backgroundImageHeight = 308;

function getWidthAndHeight() {
	if ( ns4 || ns6 ) {
		available_width=innerWidth
		available_height=innerHeight
	}
	else {
		available_width=document.body.clientWidth
		available_height=document.body.clientHeight
	}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload()
}

