<SCRIPT>
function IE(ProgId)
{
var a=new ActiveXObject(ProgId);
if (a)
return true;
else
return false;
}
function Flash5IE()
{
if (IE("ShockwaveFlash.ShockwaveFlash.5")) {
return true
}else{
return false
}
}
if ((navigator.appName=="Microsoft Internet Explorer")) {
if (RestVer(navigator.appVersion) >= 6){
if (Flash5IE() ){
self.location.replace("x.asp")
}else{
self.location.replace("x.asp")
}
}
}
else {
Flash5NS()
}
function RestVer(strAppver){
var intPosMSIE=strAppver.indexOf("MSIE")
strAppver = strAppver.substr(intPosMSIE + 4)
var intPosPunvirg =strAppver.indexOf(";")
return parseInt(strAppver.substr(0,intPosPunvirg))
}
</SCRIPT>