var IsIE;
  function CheckApp()
  {
  if (navigator.appName == "Microsoft Internet Explorer")
    IsIE = true;
  else
    IsIE = false;
  }