<!--

                               if (document.images) {            // Active Images

// Main rollovers

imgM0on = new Image();      
imgM0on.src = "/images/nav_over_home.gif"; 
imgM0off = new Image(); 
imgM0off.src = "/images/nav_off_home.gif"; 

imgM1on = new Image();      
imgM1on.src = "/images/nav_over_whatweoffer.gif"; 
imgM1off = new Image(); 
imgM1off.src = "/images/nav_off_whatweoffer.gif"; 

imgM2on = new Image();      
imgM2on.src = "/images/nav_over_telemedicine.gif"; 
imgM2off = new Image(); 
imgM2off.src = "/images/nav_off_telemedicine.gif"; 

imgM3on = new Image();      
imgM3on.src = "/images/nav_over_pacs.gif"; 
imgM3off = new Image(); 
imgM3off.src = "/images/nav_off_pacs.gif"; 

imgM4on = new Image();      
imgM4on.src = "/images/nav_over_software.gif"; 
imgM4off = new Image(); 
imgM4off.src = "/images/nav_off_software.gif"; 

imgM5on = new Image();      
imgM5on.src = "/images/nav_over_hardware.gif"; 
imgM5off = new Image(); 
imgM5off.src = "/images/nav_off_hardware.gif"; 

imgM6on = new Image();      
imgM6on.src = "/images/nav_over_featuredcase.gif"; 
imgM6off = new Image(); 
imgM6off.src = "/images/nav_off_featuredcase.gif"; 

imgM7on = new Image();      
imgM7on.src = "/images/nav_over_contactus.gif"; 
imgM7off = new Image(); 
imgM7off.src = "/images/nav_off_contactus.gif"; 

imgM8on = new Image();      
imgM8on.src = "/images/nav_over_registration.gif"; 
imgM8off = new Image(); 
imgM8off.src = "/images/nav_off_registration.gif"; 

// Telemedicine rollovers

imgTELE1on = new Image();      
imgTELE1on.src = "/images/nav2_over_tele_specialties.gif"; 
imgTELE1off = new Image(); 
imgTELE1off.src = "/images/nav2_off_tele_specialties.gif"; 

imgTELE2on = new Image();      
imgTELE2on.src = "/images/nav2_over_tele_specialists.gif"; 
imgTELE2off = new Image(); 
imgTELE2off.src = "/images/nav2_off_tele_specialists.gif"; 

imgTELE3on = new Image();      
imgTELE3on.src = "/images/nav2_over_tele_sample.gif"; 
imgTELE3off = new Image(); 
imgTELE3off.src = "/images/nav2_off_tele_sample.gif"; 

imgTELE4on = new Image();      
imgTELE4on.src = "/images/nav2_over_tele_info.gif"; 
imgTELE4off = new Image(); 
imgTELE4off.src = "/images/nav2_off_tele_info.gif"; 

// PACS rollovers

imgPACS1on = new Image();      
imgPACS1on.src = "/images/nav2_over_pacs_remote.gif"; 
imgPACS1off = new Image(); 
imgPACS1off.src = "/images/nav2_off_pacs_remote.gif"; 

imgPACS2on = new Image();      
imgPACS2on.src = "/images/nav2_over_pacs_on_site.gif"; 
imgPACS2off = new Image(); 
imgPACS2off.src = "/images/nav2_off_pacs_on_site.gif"; 

imgPACS3on = new Image();      
imgPACS3on.src = "/images/nav2_over_pacs_vault.gif"; 
imgPACS3off = new Image(); 
imgPACS3off.src = "/images/nav2_off_pacs_vault.gif";

// Software rollovers

imgSOFT1on = new Image();      
imgSOFT1on.src = "/images/nav2_over_software_ultra.gif"; 
imgSOFT1off = new Image(); 
imgSOFT1off.src = "/images/nav2_off_software_ultra.gif"; 

imgSOFT2on = new Image();      
imgSOFT2on.src = "/images/nav2_over_software_lpacs.gif"; 
imgSOFT2off = new Image(); 
imgSOFT2off.src = "/images/nav2_off_software_lpacs.gif"; 

imgSOFT3on = new Image();      
imgSOFT3on.src = "/images/nav2_over_software_telemed.gif"; 
imgSOFT3off = new Image(); 
imgSOFT3off.src = "/images/nav2_off_software_telemed.gif";

// Hardware rollovers

imgHARD1on = new Image();      
imgHARD1on.src = "/images/nav2_over_hardware_image.gif"; 
imgHARD1off = new Image(); 
imgHARD1off.src = "/images/nav2_off_hardware_image.gif"; 

imgHARD2on = new Image();      
imgHARD2on.src = "/images/nav2_over_hardware_anc.gif"; 
imgHARD2off = new Image(); 
imgHARD2off.src = "/images/nav2_off_hardware_anc.gif"; 



                               }

// Function to 'activate' images.

                       function imgOn(imgName) {
                               if (document.images) {
                                   document[imgName].src = eval(imgName + "on.src");
								   }
                       }

                       // Function to 'deactivate' images.
                       function imgOff(imgName) {
                               if (document.images) {
                                   document[imgName].src = eval(imgName + "off.src");
                               }
                       }


function launchWebCode()
{
   var formt = document.forms[0];
var OS = navigator.platform.toLowerCase();

   if ( formt.webcode.value.length > 0 )
   {
        //if (OS.indexOf("mac") != -1 )
       // {
       //     window.open( 'http://74.237.27.146/mainsite/downloadStudy.action?optionalAuthentication=true&webCode=' + formt.webcode.value, '', 'scrollbars=no,resizable=yes,width=250,height=100' )
       // } else {
            window.open( 'http://www.antechimagingservices.com/mainsite/viewStudy.action?optionalAuthentication=true&webCode=' + formt.webcode.value, '', 'scrollbars=no,resizable=yes,width=250,height=100' );
       // }
      //  //formt.webcode.value = '';
   } else
   {
      alert( "Please enter a valid web code\n" );
   }
     return true;
}


function logon()
{
   var thisForm = document.forms[0];
   if ( thisForm.webcode.value.length > 0 
   && thisForm.webcode.value != 'webcode')
   {
   		launchWebCode();
   }
   else if ( thisForm.username.value.length > 0 && thisForm.password.value.length > 0 )
   {
      return true;
   } else
   {
     alert( "Please enter a valid username/password" );
     return false;
   }
   
}
// -->
