/* Test for objects */
(document.layers) ? layerobject=true : layerobject=false;

(document.all) ? allobject = true: allobject = false;

(document.getElementById) ? dom = true : dom = false;

/* Test for browser */
var isIE4, isNet4;

isIE4 = false;
isNet4 = false;

if (parseInt(navigator.appVersion) >= 4) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
      isIE4 = true;
    }

    if (navigator.appName == "Netscape") {
      isNet4 = true;
    }
}

/* Page load code */

function windowLoad(url)
{
 window.open(url,"",'toolbar=1,menubar=1,scrollbars=1,resizable=1,width=600,location=1,height=350,left=100,top=50');
}

function onResize()
{
  if(layerobject){
    document.location.reload();
  }
}

