//--------------------------------------------------------------------------------
//  CODE TO GET THE CORRECT DOMAIN FOR RADMD.COM (Dev versus prod)
//--------------------------------------------------------------------------------
//function getDomain()
//{
//  var sDomain = location.hostname;
//  if(sDomain.indexOf("niainc") > -1)
    //sDomain = "www.radmd.com";
  //return sDomain;
//}
//function openSecurePage(relPath)
//{
//  window.location = "https://" + getDomain() + "/" + relPath;
//}

function openRadMD()
{
  location.replace("https://www.radmd.com/RadMD/Common/Login.aspx");
}

function openAVUF()
{
  location.replace("https://www.radmd.com/RadMD/Common/Avuf.aspx?d=y");
}

function openImagingNetworkForm()
{
  location.replace("https://www.radmd.com/RadMD/PrivApp/ImagingNetworkForm.aspx");
}

function openPrivApp()
{
  location.replace("https://www.radmd.com/RadMD/PrivApp/PrivApp.aspx");
}

function openClinicalGuidelines()
{
  location.replace("http://www.radmd.com/misc_pages/select_guidelines.htm");
}
function submitAuthTracking()
{
  alert("**WARNING**WARNING**WARNING**\r\n\r\nThis is an NIA computer system for the use of authorized users. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel. In the course of monitoring individuals improperly using this system, or in the course of system maintenance the activities of authorized users may also be monitored. Anyone using this system expressly consents to such monitoring and is advised that if such monitoring reveals possible evidence of criminal activity, system personnel may provide the evidence of such monitoring to law enforcement officials. Report suspected violations to the privacy & security officer or the NIA Legal Department.\r\n\r\n**WARNING**WARNING**WARNING**");
   location.replace("https://www.radmd.com/RadMD/AuthTracking/AuthTrackingResults.aspx");
}
