 browserName = navigator.appName;
  browserVer = parseInt(navigator.appVersion);
  if (((browserName == "Netscape") && (browserVer >= 3)) || ((browserName == "Microsoft Internet Explorer") && (browserVer >= 4))) {
    version = "ok";

        home_on = new Image(51,19);            home_on.src = "../images/nav-home-on.gif";
	    home_off = new Image(51,19);          home_off.src = "../images/nav-home-off.gif";
        
        homebanking_on = new Image(93,19);     homebanking_on.src = "../images/nav-homebanking-on.gif";
        homebanking_off = new Image(93,19);    homebanking_off.src = "../images/nav-homebanking-off.gif";
		
		currentrates_on = new Image(50,19);     currentrates_on.src = "../images/nav-currentrates-on.gif";
        currentrates_off = new Image(50,19);    currentrates_off.src = "../images/nav-currentrates-off.gif";
		
		products_on = new Image(122,19);     products_on.src = "../images/nav-products-on.gif";
        products_off = new Image(122,19);    products_off.src = "../images/nav-products-off.gif";
		
		autocenter_on = new Image(84,19);     autocenter_on.src = "../images/nav-autocenter-on.gif";
        autocenter_off = new Image(84,19);    autocenter_off.src = "../images/nav-autocenter-off.gif";
		
		applications_on = new Image(87,19);     applications_on.src = "../images/nav-applications-on.gif";
        applications_off = new Image(87,19);    applications_off.src = "../images/nav-applications-off.gif";
		
		calculators_on = new Image(84,19);     calculators_on.src = "../images/nav-calculators-on.gif";
        calculators_off = new Image(84,19);    calculators_off.src = "../images/nav-calculators-off.gif";
		
		contactus_on = new Image(78,19);     contactus_on.src = "../images/nav-contactus-on.gif";
        contactus_off = new Image(78,19);    contactus_off.src = "../images/nav-contactus-off.gif";
		
		moneysense_on = new Image(84,19);     moneysense_on.src = "../images/nav-moneysense-on.gif";
        moneysense_off = new Image(84,19);    moneysense_off.src = "../images/nav-moneysense-off.gif";
		
		/*mortgages_on = new Image(84,19);     mortgages_on.src = "../images/nav-mortgages-on.gif";
        mortgages_off = new Image(84,19);    mortgages_off.src = "../images/nav-mortgages-off.gif";*/
		
		realestatecenter_on = new Image(118,19);     realestatecenter_on.src = "../images/nav-realestatecenter-on.gif";
        realestatecenter_off = new Image(118,19);    realestatecenter_off.src = "../images/nav-realestatecenter-off.gif";
		
    
   }
  else 
    version = "x";
	
	  var whichoneislit = 1; 
	 
  function img_act(imgName) {
    if (version == "ok") {
       imgOn = eval(imgName + "_on.src");
       document [imgName].src = imgOn;
    }
  }
  function img_inact(tabnumber , imgName) {
    window.status = "";
    if (version == "ok") {
	if (tabnumber != whichoneislit)
		{
      imgOff = eval(imgName + "_off.src");
      document [imgName].src = imgOff;
    	}
    }
  }
  

  
  function lightup(tabnumber , imgName)
  {
  whichoneislit = tabnumber;
  img_inact(1 , 'home');
  img_inact(2 , 'homebanking');
  img_inact(3 , 'currentrates');
  img_inact(4 , 'products');
  img_inact(5 , 'autocenter');
  img_inact(6 , 'applications');
  img_inact(7 , 'realestatecenter');
  img_inact(8 , 'contactus');
  img_inact(9 , 'moneysense');
  imgOn = eval(imgName + "_on.src");
  document [imgName].src = imgOn;
  }
  
//for pop up apps
function openWin(URL) {
 aWindow = window.open(URL,"application","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=600,height=400,screenX=100,screenY=104,top=90,left=100");
}  