// JavaScript Document
<!-- hide from old browsers

// check browser type

// initialize variables
var version = "n2";
macNS3 = 0;

if ((navigator.appCodeName == 'Mozilla') && (navigator.appVersion.substring(0,1) == 3)) { macNS3 = 1; } // MAC OS Netscape 3
if ((navigator.appCodeName == 'Mozilla') && (navigator.appVersion.substring(0,1) > 2)) { version = "n3+"; } // Netscape V.3 or higher or IE Version 4 or higher
if ((navigator.appCodeName == 'Mozilla') && (navigator.appVersion.substring(0,1) > 3)) { version = "n4+"; } // Netscape V.4 or higher or IE Version 5 or higher
if ((navigator.appCodeName == 'MSIE') && (navigator.appVersion.substring(0,1) > 3)) { version = "n3+"; } // IE V.4 or higher
if ((navigator.appCodeName == 'MSIE') && (navigator.appVersion.substring(0,1) > 4)) { version = "n4+"; } // IE V.5 or higher

// Pre-read picture file versions

if ((version == "n3+") || version == "n4+") {

// Pre-read images for menu item explanations of TYPE 1 (e.g., description)
//   Image underlined at bottom of text.
//   Loaded into image with NAME="text"

t_default = new Image(1,1);
t_default.src = "site_images/main_pixel.gif";

t_intel = new Image(89,36);
t_intel.src = "site_images/main_t_intellect.gif";
t_intel2 = new Image(76,54);
t_intel2.src = "site_images/main_t_intellect2.gif";
t_relat = new Image(147,95);
t_relat.src = "site_images/main_t_relation.gif";
t_abt = new Image(109,45);
t_abt.src = "site_images/main_t_about.gif";
t_atmo = new Image(146,63);
t_atmo.src = "site_images/main_t_atmosphere_T.gif";

t_inteloff = new Image(89,36);
t_inteloff.src = "site_images/main_white.gif";
t_intel2off = new Image(76,54);
t_intel2off.src = "site_images/main_white.gif";
t_relatoff = new Image(147,95);
t_relatoff.src = "site_images/main_white.gif";
t_abtoff = new Image (109,45);
t_abtoff.src = "site_images/main_white.gif";
t_atmooff = new Image(146,63);
t_atmooff.src = "site_images/main_pixel.gif";

// Pre-read images for menu item opener image mouseovers

i_intelon = new Image(78,81);
i_intelon.src = "site_images/main_i_intellect.gif";
i_atmoon = new Image(203,89);
i_atmoon.src = "site_images/main_i_atmosphere_T.gif";

i_inteloff = new Image(78,81);
i_inteloff.src = "site_images/main_logoTL.gif";
i_atmooff = new Image(203,89);
i_atmooff.src = "site_images/main_logoBRt_T.gif";

}

// Main image roll-over functions for IMA menu items

function rollOver(imgName,txtName,txtName2) {

    if ((version == "n3+") || version == "n4+") {

//    display menu item logo image
	if(imgName.length != 0) {
	  imgOn = eval(imgName + "on.src");
	  document.images [imgName].src =  imgOn;
	}
//    display menu item text explanations
	if(txtName.length != 0) {
	   imgOn = eval(txtName + ".src");
	   document.images [txtName].src =  imgOn;
	}
	if(txtName2.length != 0) {
	   imgOn = eval(txtName2 + ".src");
	   document.images [txtName2].src =  imgOn;
	}
    }
}

function rollOff(imgName,txtName,txtName2) {
     if ((version == "n3+") || version == "n4+") {

//    revert menu item logo image, if any, to standard logo version
	if(imgName.length != 0) {
           document.images [imgName].src = eval(imgName + "off.src");
	}
//    clear text explanation fields, if any
	if(txtName.length != 0) {
	  document.images [txtName].src = eval(txtName + "off.src");
	}
	if(txtName2.length != 0) {
	  document.images [txtName2].src =  eval(txtName2 + "off.src");
	}
     }
}


// end script hiding-->