function Browser() 
{
var b = navigator.appName; if (!b) 
alert('Unidentified browser.\nThis browser is not supported,'); if (b.indexOf('Netscape')!=-1) 
this.b = "NS";
else if ((b=="Opera") || (navigator.userAgent.indexOf("Opera")>0)) 
this.b = "Opera";
else if (b=="Microsoft Internet Explorer") 
this.b = "IE"; var ua = navigator.userAgent.toLowerCase();
if (ua.indexOf("win")>-1) 
this.platform="win32";
else if (ua.indexOf("mac")>-1) 
this.platform="mac";
else 
this.platform="other"; this.Version = navigator.appVersion;
this.V = parseInt(this.Version); this.NS = (this.b=="NS" && this.V>=4);
this.NS4 = (this.b=="NS" && this.V==4);
this.NS6 = (this.b=="NS" && this.V>=5); this.IE = (this.b=="IE" && this.V>=4);
this.IE4 = (this.Version.indexOf('MSIE 4')>0);
this.IE5 = (this.Version.indexOf('MSIE 5')>0);
this.IE55 = (this.Version.indexOf('MSIE 5.5')>0);
this.IE6 = (this.Version.indexOf('MSIE 6.0')>0); this.Opera = (this.b=="Opera");

this.Dom = (document.createElement && document.appendChild && document.getElementsByTagName)
?true:false;
this.Def = (this.IE||this.Dom); // most used browsers, for faster if loops this.ValidBrowser = this.NS6 || this.IE5 || this.IE55 || this.IE6;
}Is=new Browser();