/*toydrum browser defintion object v6.0 hybrid*/
var browser=new function(){
this.ver=navigator.appVersion;
this.agent=navigator.userAgent;
this.ver.minor=parseFloat(navigator.appVersion);
this.dom=(document.getElementById)?true:false;
this.ie6=(this.ver.indexOf("MSIE 6")>-1&&this.dom)?true:false;
this.ie5=(this.ver.indexOf("MSIE 5")>-1&&this.dom)?true:false;
this.ie501=(this.ver.indexOf("MSIE 5.01")>-1&&this.dom)?true:false;
this.ie502=(this.ver.indexOf("MSIE 5.02")>-1&&this.dom)?true:false;
this.ie55=(this.ver.indexOf("MSIE 5.5")>-1&&this.dom)?true:false;
this.ie4=(document.all&&!this.dom)?true:false;
this.ns5=(this.dom&&parseInt(this.ver)>=5)?true:false;
this.ns4=(document.layers&&!this.dom)?true:false;
this.ie=(this.ie6||this.ie5||this.ie4)?true:false;
this.ns=(this.ns4||this.ns5)?true:false;
this.ok=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns5)?true:false;
this.iev=this.agent.match(/MSIE \d+.?\d*/);
this.iev=this.iev?Number(this.iev[0].split(' ')[1]):false;
return this;
}
