function WM_netscapeCssFix() {
if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
document.location = document.location;
}}
function WM_netscapeCssFixCheckIn() {
if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
if (typeof document.WM == 'undefined'){
document.WM = new Object;
}
if (typeof document.WM.WM_scaleFont == 'undefined') {
document.WM.WM_netscapeCssFix = new Object;
document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
}
window.onresize = WM_netscapeCssFix;
}}
WM_netscapeCssFixCheckIn()
function WM_checkIn(id) {
if (document.all) {
return document.all[id].style;
}
else if(document.layers) {
return document.layers[id];
}
else if(document.getElementById) {
return document.getElementById(id).style;
}}
if (document.layers) {
var hidden = "hide";
var visible = "show";
}
else {
var hidden = "hidden";
var visible = "visible";
}
var toggle = "toggle";
function WM_changeVisibility() {
if (document.layers || document.all || document.getElementById) {
var inc, endInc=arguments.length;
// run through the args (objects) and set the visibility of each
for (inc=0; inc<endInc; inc+=2) {
// get a good object reference
var daObj = WM_checkIn(arguments[inc]);
if (arguments[inc+1] == hidden) {
// hide the object
daObj.visibility = hidden;
} else if (arguments[inc+1] == visible) {
// show the object
daObj.visibility = visible;
}
else if (arguments[inc+1] == toggle) {
// toggle the object's visibility
if (daObj.visibility == visible) {
daObj.visibility = hidden;
}
else if (daObj.visibility == hidden) {
daObj.visibility = visible;
}}}}}

function winPop(theURL,winName,features) { 
var new_win = window.open(theURL,winName,features);
new_win.focus();
}
function closeWin() {
window.close();
}
