


var saveInnerWidth;
var saveInnerHeight;


if(!saveInnerWidth && document.layers){
   window.onresize = resizeIt;
   saveInnerWidth = window.innerWidth;
   saveInnerHeight = window.innerHeight; }

function resizeIt(){
  //alert("Window needs updating");
  if (saveInnerWidth < window.innerWidth ||
      saveInnerWidth > window.innerWidth ||
      saveInnerHeight > window.innerHeight ||
      saveInnerHeight < window.innerHeight ) {
    window.history.go(0);
  }
}


function getcookie(cookiename) {
  var cookiestring=""+document.cookie;
  var index1=cookiestring.indexOf(cookiename);
  if (index1==-1 || cookiename=="") return ""; 
  var index2=cookiestring.indexOf(';',index1);
  if (index2==-1) index2=cookiestring.length; 
  return unescape(cookiestring.substring(index1+cookiename.length+1,index2));
}


function whatbrowser(){
  if(document.layers){thisbrowser="NN4";}
  if(document.all){thisbrowser="ie";}
  if(!document.all && document.getElementById){thisbrowser="NN6";}
  newwindow=window.open("","new1","width=100,height=100");
  newwindow.document.write("<center>"+thisbrowser+"</center>");
  newwindow.document.close();
}


function show(arg){
if(document.layers){         qq="document."+arg;}
if(document.all){            qq="document.all.'"+arg+"'.style";}
if(document.getElementById){ qq="document.getElementById('"+arg+"').style";}
      theObj = eval(qq);
      theObj.top=50;
      theObj.left=200;
      theObj.visibility="visible";

} 

function hide(arg){
if(document.layers){         qq="document."+arg;}//NN4
if(document.all){            qq="document.all.'"+arg+"'.style";}//IE
if(document.getElementById){ qq="document.getElementById('"+arg+"').style";}//N6
      theObj = eval(qq);
      theObj.top=50;
      theObj.left=200;
      theObj.visibility="hidden";

} 




//***EOF***/

