// Netscape fix resize bug Ns4
function WM_netscapeCssFix() {
monthPage();
today = new Date();
m = new Array("#BEA0E3","#BEA0E3","#BBE82B","#BBE82B","#BBE82B","#66CCFF","#66CCFF","#66CCFF","#FFB200","#FFB200","#FFB200","#BEA0E3");
document.bgColor=m[today.getMonth()];
var bling;
bling=m[today.getMonth()];
  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();

// catch all errors...
function stopError() {return true;}
window.onerror=stopError;
