today = new Date();
lastopen = readCookie('lastOpen');
if (lastopen != today.getDate()) {
  if (navigator.appVersion.indexOf("MSIE") != -1) {
    version = parseFloat(navigator.appVersion.split("MSIE")[1]);
    if (version < 7) {
      alert('You are using an outdated version of\n'+
            'Internet Explorer.  For this reason,\n'+
            'several features on this site will\n'+
            'not operate properly.\n\n'+
            'Please go to microsoft.com and download\n'+
            'the newest version of this browser, so\n'+
            'you will be able to order your merchandise.');
    }
  }
  createCookie('lastOpen',today.getDate(),1);
}

