// JavaScript Document

if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
 var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
 if (ieversion<=6.9)
  alert("Hi, we have detected you're using an old version of Internet Explorer. This website may not display correctly in this browser version, please update or download the new version to view this website correctly. Please click OK to continue to our website.")
}