<!--

//Fixes a Netscape bug where dynamically written content disappears if the user resizes the window.
 NS4 = document.layers;
   if (NS4) {
   origWidth = innerWidth;
   origHeight = innerHeight;
   }

function reDo() {
   if (innerWidth != origWidth || innerHeight != origHeight) 
   location.reload();
   }

   if (NS4) onresize = reDo;


// runs at body onload, so we check here for css
function cssCheck() {
if (document.layers) {
	if (document.mainimgDiv) writemainimg();
}
else if (document.all || window.innerHeight) {
	writemainimg();
}

}


/*
function gethost() {
alert("This HTML application is in progress. Some functionality and edits have not been completed. This application will be updated periodically.");
}
//Only alerts the user with the error message once
previewalert=getChip("prefs","previews");
if (previewalert!="alerted") {
//gethost();
setChip("prefs","previews","alerted")
}
*/


function checkagent() {
	var loc=0
	var brw=0
	
	if (location.href.indexOf("thework")>-1 || location.href.indexOf("home.html")>-1)
	var loc=1
	
	if (navigator.userAgent=="Mozilla/4.75C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC)" || navigator.userAgent=="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET CLR 1.0.3705; .NET CLR 1.0.2914)")
	var brw=1
	
	//alert(loc+"-"+brw)
	if (loc==1 && brw==1 && false) location.replace("/3.0/");
}
checkagent();




// -->
