function Is() {
agent = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);
this.opera = (agent.indexOf("opera") != -1);
this.opera4 = (agent.indexOf("opera 4") != -1);
this.opera5 = (agent.indexOf("opera 5") != -1);
this.opera51 = (agent.indexOf("opera 5.1") != -1);
this.opera52 = (agent.indexOf("opera 5.2") != -1);
this.opera6 = (agent.indexOf("opera 6") != -1);
this.opera7 = (agent.indexOf("opera 7") != -1);
this.ns = ((agent.indexOf('mozilla') != -1) && ((agent.indexOf('spoofer') == -1) && (agent.indexOf('compatible') == -1)));
this.ns4 = (this.ns && (this.major == 4));
this.ns6 = (this.ns && (this.major >= 5));
this.ie = (agent.indexOf("msie") != -1);
this.ie3 = (this.ie && (this.major < 4));
this.ie4 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5.0") == -1));
this.ie5 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5.0") != -1));
this.ie55 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5.5") != -1));
this.ie6 = (this.ie && (agent.indexOf("msie 6.0")!=-1) );
}
var is = new Is();
if (is.ie4||is.ie5||is.ie55||is.ie6) //for IE
window.location.href="index0.htm"
if (is.ns4||is.ns6) //for netscape
window.location.href="index1.htm"
if (is.opera) //for opera
window.location.href="index2.htm"


