function ieVersion(){
   var re = new RegExp(/MSIE\s(\d\.\d*)/); 
   var arr = re.exec(navigator.appVersion);

   return(RegExp.$1);
}