// Split the string into part [0] and part [1]
temp=navigator.appVersion.split('MSIE');
// Parse the string for the "6" in 6.0
ieVer=parseInt(temp[1]);
// Is it greater than 6?
var isie6=(ieVer > 5 && ieVer < 7)?true:false;