//style sheet based on platform

var agt=navigator.userAgent.toLowerCase();
var vers=parseInt(navigator.appVersion);

if ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1) && (agt.indexOf('firefox')==-1) && (agt.indexOf('compatible') == -1))) {
        var b="n";
        } else if (agt.indexOf("msie") != -1) {
        var b="e";
        } 
if (agt.indexOf("mac")!=-1) {
        var plat="mac";
        } 

function netscapeCssFix() {

  if (document.Quest.netscapeCssFix.initWindowWidth != window.innerWidth || document.Quest.netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

function netscapeCssFixCheckIn() {

  if (b == "n") {
    if (typeof document.Quest == 'undefined'){
      document.Quest = new Object;
    }
    if (typeof document.Quest.Quest_scaleFont == 'undefined') {
      document.Quest.netscapeCssFix = new Object;
      document.Quest.netscapeCssFix.initWindowWidth = window.innerWidth;
      document.Quest.netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = netscapeCssFix;
  }
}

netscapeCssFixCheckIn();