
//
// page reload functions
//

function objBrowser() {
  this.nn4 = (navigator.appName.indexOf("Netscape") != -1 && parseInt(navigator.appVersion) < 5) ? 1 : 0;
  this.ie4 = (navigator.appName.indexOf("Microsoft") != -1 && parseInt(navigator.appVersion) >= 4) ? 1 : 0;
  this.nn6 = (navigator.appName.indexOf("Netscape") != -1 && parseInt(navigator.appVersion) >= 5) ? 1 : 0;
  this.op6 = (navigator.userAgent.indexOf("Opera") != -1) ? (this.nn4 = 0) || (this.ie4 = 0) || (this.nn6 = 0) || 1 : 0;
  this.resize = function() {
    (this.nn4 && (window.innerWidth != this.width || window.innerHeight != this.height)) ? document.location.reload() : 0;
    }
  if (this.nn4) {
    this.width = window.innerWidth;
    this.height = window.innerHeight;
    }
  if (this.ie4) {
    for (count = 0; count < document.links.length; count++) {
      document.links[count].onclick = function() { this.blur(); }
      document.links[count].ondrag = function() { this.blur(); }
      }
    }
  }
var browser = new objBrowser();

function objPlatform() {
  this.win = (navigator.userAgent.toLowerCase().indexOf("win") != -1) ? 1 : 0;
  this.mac = (navigator.userAgent.toLowerCase().indexOf("mac") != -1) ? 1 : 0;
  }
var platform = new objPlatform();

function MM_reloadPage(init) {
 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();
}

function P7_ReDoIt() { //v1.2 by PVII
 if(document.layers) {MM_reloadPage(false);}
}

//
//
//
