/*
  ChkBrowser v3.0
  26/05/2000 - 27/01/2001

  (C)2000-2001 Stephen Battey
  http://www.jsfc.net
*/
function ChkBrowser(){this.name=navigator.appName;this.NS=ChkBrowser.NS;this.IE=ChkBrowser.IE;if(this.NS){this.version=eval(navigator.appVersion.substring(0,navigator.appVersion.indexOf(' ')));}else if(this.IE){MSIEi=navigator.appVersion.indexOf("MSIE");this.version=eval(navigator.appVersion.substring(MSIEi+5,navigator.appVersion.indexOf(' ',MSIEi+5)));}if(this.NS){this.redirect_old_browsers=zfct;this.get_view_width=zfcv;this.get_view_height=zfcx;this.get_std_view_width=zfcz;}else if(this.IE){this.redirect_old_browsers=zfcu;this.get_view_width=zfcw;this.get_view_height=zfcy;this.get_std_view_width=zfcA;}}var zfco="http://home.netscape.com/";var zfcp="";var zfcq="http://www.micorsoft.com/ie";var zfcr="about:blank";function zfct(minNSver,minIEver,forwardAddress){if(this.version<minNSver){if(typeof(forwardAddress)=="string")window.location.replace(forwardAddress);else{var zfcs="The page you are loading cannot be displayed on this version of "+"Netscape Navigator.\nVersion "+minNSver+" or above is required."+"\n\nDo you wish to browse for a free, more recent version of Netscape?";if(confirm(zfcs))window.location.replace(zfco);else window.location.replace(zfcp);}}}function zfcu(minNSver,minIEver,forwardAddress){if(this.version<minIEver){if(typeof(forwardAddress)=="string")window.location.replace(forwardAddress);else{var zfcs="The page you are loading cannot be displayed on this version of "+"Microsoft Internet Explorer.\nVersion "+minIEver+" or above is required."+"\n\nDo you wish to browse for a free, more recent version of IE?";if(confirm(zfcs))window.location.replace(zfcq);else window.location.replace(zfcr);}}}function zfcv(){return window.innerWidth;}function zfcw(){return document.body.offsetWidth;}function zfcx(){return window.innerHeight;}function zfcy(){return document.body.offsetHeight;}function zfcz(){return window.innerWidth-16;}function zfcA(){return window.innerWidth-20;}function zfcB(){if(typeof(ChkBrowser.singletonInstance)=="undefined")ChkBrowser.singletonInstance=new ChkBrowser();return ChkBrowser.singletonInstance;}ChkBrowser.singleton=zfcB;ChkBrowser.NS=(navigator.appName=="Netscape");ChkBrowser.IE=(navigator.appName=="Microsoft Internet Explorer");ChkBrowser.JSFC__superClasses=new Array(Object);ChkBrowser.JSFC__methods=new Array("redirect_old_browsers","get_view_width","get_view_height","get_std_view_width");