if (window.location.host.indexOf(".com") > -1)
{
  if (window.location.protocol == "https:")
  {
//    alert("secure");
    nonSecure = "http://" + window.location.host + window.location.pathname + window.location.search;
    window.location = nonSecure;
  }
//  else {alert("not secure");}
}
