//learned from Adobe.com website
var preloadFlag = false;
newWinOpen=0;

//obsolete browser variable
var sb=((navigator.appVersion.charAt(0)<4)||((navigator.appName.indexOf('Netscape')<0)&&(navigator.appName.indexOf('Microsoft Internet Explorer')<0)));

/* determines which stylesheet to write based on 
browser/platform combination.  Also sets global
variable bp for browser/platform testing elsewhere. */
function BP() {
  if (sb) {
     this.brow = null;
     this.plat = null;
     return this;
     }
   this.plat = (navigator.platform.indexOf('Mac') > -1) ? 'mac' : 'win';
   this.brow = (navigator.appName.indexOf('Microsoft') > -1) ? 'ie' : 'ns';
   return this;
  }
bp = new BP();
document.write('<LINK HREF="http://www.asianwomenunited.org/txt/' + bp.plat + '_' +
bp.brow + '.css" REL="styleSheet" TYPE="text/css">');

//NCSS FIX
function NCSSFix() {
  if (document.NeedsFix.NCSSFix.initWindowWidth != window.innerWidth || document.NeedsFix.NCSSFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

function NCSSFixItNow() {
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.NeedsFix == 'undefined'){
      document.NeedsFix = new Object;
    }
    if (typeof document.NeedsFix.scaleFont == 'undefined') {
      document.NeedsFix.NCSSFix = new Object;
      document.NeedsFix.NCSSFix.initWindowWidth = window.innerWidth;
      document.NeedsFix.NCSSFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = NCSSFix;
  }
}

NCSSFixItNow()