<!--
// Check for browser that supports frames


// return the version number times 1000 (to compensate for rounding errors).
function _get_version() {
   return Math.round(parseFloat(navigator.appVersion) * 1000);
}

// create the "browser" object to store browser information
var browser = new Object();

// check for a Netscape browser
if (navigator.appName.substring(0,8) == "Netscape") {
   browser.name = "NN";
      browser.version = _get_version();
}

// check for a Microsoft browser
else if (navigator.appName.substring(0,9) == "Microsoft") {
   browser.name = "MSIE";
   // Only MSIE for Windows 95 can read this code.
   // Navigator.appVersion returns 2.0 rather than 3.0, but we don't care,
   //we're checking for 4.0 now
   browser.version = _get_version();
}

// check for other browser that supports JavaScript, assuming that this
// browser stores the information in the same format as Navigator.
else {
   browser.name = navigator.appName;
   browser.version = _get_version();
}

// set variable for browser
if((browser.name == "NN" && browser.version >=3000) || (browser.name="MSIE" && browser.version >= 4000))
   version = "Rollovers";
else
   version = "other";
   

// Define graphics for rollovers
if(version == "Rollovers") {
   // main navigation - text
   my_profileoff = new Image(63,9);
   my_profileoff.src = "images/i_nav/my_profile_off.gif";
   homeoff = new Image(118,9);
   homeoff.src = "images/i_nav/forNonUSnurses_off.gif";   contactoff = new Image(48,9);
   contactoff.src = "images/i_nav/contact_off.gif";
   about_usoff = new Image(53,9);
   about_usoff.src = "images/i_nav/about_us_off.gif";

   my_profileon = new Image(63,9);
   my_profileon.src = "images/i_nav/my_profile_on.gif";
   homeon = new Image(118,9);
   homeon.src = "images/i_nav/forNonUSnurses_on.gif";
   contacton = new Image(48,9);
   contacton.src = "images/i_nav/contact_on.gif";
   about_uson = new Image(53,9);
   about_uson.src = "images/i_nav/about_us_on.gif";

   // main navigation - tabs
   applyoff = new Image(65,17);
   applyoff.src = "images/i_nav/apply_off.gif";
   get_startedoff = new Image(110,17);
   get_startedoff.src = "images/i_nav/get_started_off.gif";
   jobsoff = new Image(64,17);
   jobsoff.src = "images/i_nav/jobs_off.gif";
   payoff = new Image(128,17);
   payoff.src = "images/i_nav/pay_off.gif";
   housingoff = new Image(87,17);
   housingoff.src = "images/i_nav/housing_off.gif";
   faqsoff = new Image(61,17);
   faqsoff.src = "images/i_nav/faqs_off.gif";
   educationoff = new Image(98,17);
   educationoff.src = "images/i_nav/education_off.gif";
   traveleroff = new Image(152,17);
   traveleroff.src = "images/i_nav/traveler_off.gif";

   applyon = new Image(65,17);
   applyon.src = "images/i_nav/apply_on.gif";
   get_startedon = new Image(110,17);
   get_startedon.src = "images/i_nav/get_started_on.gif";
   jobson = new Image(64,17);
   jobson.src = "images/i_nav/jobs_on.gif";
   payon = new Image(128,17);
   payon.src = "images/i_nav/pay_on.gif";
   housingon = new Image(87,17);
   housingon.src = "images/i_nav/housing_on.gif";
   faqson = new Image(61,17);
   faqson.src = "images/i_nav/faqs_on.gif";
   educationon = new Image(98,17);
   educationon.src = "images/i_nav/education_on.gif";
   traveleron = new Image(152,17);
   traveleron.src = "images/i_nav/traveler_on.gif";

   // apply now
   apply_nowoff = new Image(253,30);
   apply_nowoff.src = "images/i_global/apply_now_off.gif";
   
   apply_nowon = new Image(253,30);
   apply_nowon.src = "images/i_global/apply_now_on.gif";

   // get started side navigation
   get_started2off = new Image(101,10);
   get_started2off.src = "images/i_sidenav/get_started_off.gif";
   why_traveloff = new Image(84,12);
   why_traveloff.src = "images/i_sidenav/why_travel_off.gif";
   how_traveloff = new Image(144,12);
   how_traveloff.src = "images/i_sidenav/how_traveling_works_off.gif";
   your_teamoff = new Image(129,12);
   your_teamoff.src = "images/i_sidenav/your_service_team_off.gif";
   
   get_started2on = new Image(101,10);
   get_started2on.src = "images/i_sidenav/get_started_over.gif";
   why_travelon = new Image(84,12);
   why_travelon.src = "images/i_sidenav/why_travel_over.gif";
   how_travelon = new Image(144,12);
   how_travelon.src = "images/i_sidenav/how_traveling_works_over.gif";
   your_teamon = new Image(129,12);
   your_teamon.src = "images/i_sidenav/your_service_team_over.gif";
      
   // jobs side navigation
   jobs2off = new Image(49,10);
   jobs2off.src = "images/i_sidenav/jobs_off.gif";
   jobsearchoff = new Image(153,12);
   jobsearchoff.src = "images/i_sidenav/jobsearch_off.gif";
   destinationoff = new Image(153,12);
   destinationoff.src = "images/i_sidenav/destination_off.gif";
   facilitiesoff = new Image(122,12);
   facilitiesoff.src = "images/i_sidenav/hospital_facilities_off.gif";
   state_profilesoff = new Image(99,12);
   state_profilesoff.src = "images/i_sidenav/state_profiles_off.gif";

   jobs2on = new Image(49,10);
   jobs2on.src = "images/i_sidenav/jobs_over.gif";
   jobsearchon = new Image(153,12);
   jobsearchon.src = "images/i_sidenav/jobsearch_over.gif";
   destinationon = new Image(153,12);
   destinationon.src = "images/i_sidenav/destination_over.gif";
   facilitieson = new Image(122,12);
   facilitieson.src = "images/i_sidenav/hospital_facilities_over.gif";
   state_profileson = new Image(99,12);
   state_profileson.src = "images/i_sidenav/state_profiles_over.gif";

   // pay and benefits side navigation
   pay2off = new Image(119,10);
   pay2off.src = "images/i_sidenav/pay_and_benefits_off.gif";
   incentiveoff = new Image(138,12);
   incentiveoff.src = "images/i_sidenav/incentive_programs_off.gif";

   pay2on = new Image(119,10);
   pay2on.src = "images/i_sidenav/pay_and_benefits_over.gif";
   incentiveon = new Image(138,12);
   incentiveon.src = "images/i_sidenav/incentive_programs_over.gif";

   // pay and benefits - incentive programs tertiary navigation
   perksoff = new Image(118,13);
   perksoff.src = "images/i_paynav/preferred_perks_off.gif";
   choiceoff = new Image(124,13);
   choiceoff.src = "images/i_paynav/preferred_choice_off.gif";
   contestoff = new Image(114,13);
   contestoff.src = "images/i_paynav/annual_contest_off.gif";
   referraloff = new Image(177,13);
   referraloff.src = "images/i_paynav/referral_off.gif";

   perkson = new Image(118,13);
   perkson.src = "images/i_paynav/preferred_perks_on.gif";
   choiceon = new Image(124,13);
   choiceon.src = "images/i_paynav/preferred_choice_on.gif";
   conteston = new Image(114,13);
   conteston.src = "images/i_paynav/annual_contest_on.gif";
   referralon = new Image(177,13);
   referralon.src = "images/i_paynav/referral_on.gif";

   // traveler side navigation
   traveler2off = new Image(157,10);
   traveler2off.src = "images/i_sidenav/traveler_resources_off.gif";
   travel_linksoff = new Image(88,12);
   travel_linksoff.src = "images/i_sidenav/travel_links_off.gif";
   travel_formsoff = new Image(110,12);
   travel_formsoff.src = "images/i_sidenav/traveler_forms_off.gif";   
   licensureoff = new Image(103,12);
   licensureoff.src = "images/i_sidenav/licensure_info_off.gif";
   nursing_linksoff = new Image(97,12);
   nursing_linksoff.src = "images/i_sidenav/nursing_links_off.gif";
   conferencesoff = new Image(93,12);
   conferencesoff.src = "images/i_sidenav/conferences_off.gif";
   
   traveler2on = new Image(157,10);
   traveler2on.src = "images/i_sidenav/traveler_resources_over.gif";
   travel_linkson = new Image(88,12);
   travel_linkson.src = "images/i_sidenav/travel_links_over.gif";   
   travel_formson = new Image(110,12);
   travel_formson.src = "images/i_sidenav/traveler_forms_over.gif";   
   licensureon = new Image(103,12);
   licensureon.src = "images/i_sidenav/licensure_info_over.gif";
   nursing_linkson = new Image(97,12);
   nursing_linkson.src = "images/i_sidenav/nursing_links_over.gif";
   conferenceson = new Image(93,12);
   conferenceson.src = "images/i_sidenav/conferences_over.gif";

   // apply side navigation  
   apply2off = new Image(172,10);
   apply2off.src = "images/i_sidenav/apply_off.gif";
   online_applicationoff = new Image(172,12);
   online_applicationoff.src = "images/i_sidenav/online_application_off.gif";
   download_applicationoff = new Image(172,12);
   download_applicationoff.src = "images/i_sidenav/download_application_off.gif";
   request_applicationoff = new Image(172,12);
   request_applicationoff.src = "images/i_sidenav/request_application_off.gif";
   skills_checklistoff = new Image(172,12);
   skills_checklistoff.src = "images/i_sidenav/skills_checklist_off.gif";

   apply2on = new Image(172,10);
   apply2on.src = "images/i_sidenav/apply_over.gif";
   online_applicationon = new Image(172,12);
   online_applicationon.src = "images/i_sidenav/online_application_over.gif";
   download_applicationon = new Image(172,12);
   download_applicationon.src = "images/i_sidenav/download_application_over.gif";
   request_applicationon = new Image(172,12);
   request_applicationon.src = "images/i_sidenav/request_application_over.gif";
   skills_checkliston = new Image(172,12);
   skills_checkliston.src = "images/i_sidenav/skills_checklist_over.gif";
   
}

// Turn on graphic

function img_on(imgName) {
   if(version == "Rollovers")  {
      var imgOn = eval(imgName + "on.src");
      window.document[imgName].src = imgOn;
  }
}


// Turn off graphic

function img_off(imgName) {
   if(version == "Rollovers")  {
      var imgOff = eval(imgName + "off.src");
      window.document[imgName].src = imgOff;
   }
}

//Turn on or off graphic
function rollover(changeImage, changeImageTo){
	if(version == "Rollovers")  {
		window.document[changeImage].src = changeImageTo;
	}
}

// -->