// Function to check browser and version
function checkBrowser()
{
if(window.clientInformation)
{
myIndex = window.clientInformation.userAgent.indexOf("MSIE");
myVersion = window.clientInformation.userAgent.substr(myIndex+5,3);
if (myVersion > 5.4)
{
return(true);
}
}
return(false);
}
// Test the browser and version
if(checkBrowser())
{
document.write("IS MSIE 5.5 plus");
}
else
{
document.write("NON-COMPLIANT");
}