<!--
//-- This script detects browser type and preloads all images for the mouseovers.
//list of images with corresponding pages
	// 1 - gallery
	// 2 - services
	// 3 - newsletter
	// 4 - calendar
	// 5 - sign up for newsletter
	// 6 - home
	// 7 - culture & heritage
	// 8 - trip planning
	// 9 - buying guide
	// 10 - contacts
	// 11 - site map
	// 12 - home
	// 13 - education & training
	// 14 - markets & events
	// 15 - funding sources
	// 16 - member login
	// 17 - site map
	
// Use this syntax to call this function:
// <a href="" onmouseover="imgAct('img1')" onmouseout="imgInact('img1')"><img name="img1" border="0" width="" height="" src="" alt="">

// Is browser Netscape 3 + or IE 4 +.
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);

if ((bName == "Netscape" && bVer >= 3) || (bName == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3"; 
else br = "n2";

if (br== "n3") { 
	// on images
	img1on = new Image();
	img2on = new Image();
	img3on = new Image();
	img4on = new Image();
	img5on = new Image();
	img6on = new Image();
	img7on = new Image();
	img8on = new Image();
	img9on = new Image();
	img10on = new Image();
	img11on = new Image();
	img12on = new Image();
	img13on = new Image();
	img14on = new Image();
	img15on = new Image();
	img16on = new Image();
	img17on = new Image();
	img1on.src = "../_images/layout/header_gallery_on.gif";
	img2on.src = "../_images/layout/header_services_on.gif";
	img3on.src = "../_images/navigation/news_on.gif";
	img4on.src = "../_images/navigation/calendar_on.gif";
	img5on.src = "../_images/navigation/signUp_on.gif";
	img6on.src = "../_images/navigation/tabs_gallery_home_on.gif";
	img7on.src = "../_images/navigation/tabs_gallery_culture_on.gif";
	img8on.src = "../_images/navigation/tabs_gallery_trip_on.gif";
	img9on.src = "../_images/navigation/tabs_gallery_buying_on.gif";
	img10on.src = "../_images/navigation/tabs_gallery_contacts_on.gif";
	img11on.src = "../_images/navigation/tabs_gallery_site_on.gif";
	img12on.src = "../_images/navigation/tabs_services_home_on.gif";
	img13on.src = "../_images/navigation/tabs_services_education_on.gif";
	img14on.src = "../_images/navigation/tabs_services_markets_on.gif";
	img15on.src = "../_images/navigation/tabs_services_funding_on.gif";
	img16on.src = "../_images/navigation/tabs_services_member_on.gif";
	img17on.src = "../_images/navigation/tabs_services_site_on.gif";
	
	// off images
	img1off = new Image();
	img2off = new Image();
	img3off = new Image();
	img4off = new Image();
	img5off = new Image();
	img6off = new Image();
	img7off = new Image();
	img8off = new Image();
	img9off = new Image();
	img10off = new Image();
	img11off = new Image();
	img12off = new Image();
	img13off = new Image();
	img14off = new Image();
	img15off = new Image();
	img16off = new Image();
	img17off = new Image();
	img1off.src = "../_images/layout/header_gallery_off.gif";
	img2off.src = "../_images/layout/header_services_off.gif";
	img3off.src = "../_images/navigation/news_off.gif";
	img4off.src = "../_images/navigation/calendar_off.gif";
	img5off.src = "../_images/navigation/signUp_off.gif";
	img6off.src = "../_images/navigation/tabs_gallery_home_off.gif";
	img7off.src = "../_images/navigation/tabs_gallery_culture_off.gif";
	img8off.src = "../_images/navigation/tabs_gallery_trip_off.gif";
	img9off.src = "../_images/navigation/tabs_gallery_buying_off.gif";
	img10off.src = "../_images/navigation/tabs_gallery_contacts_off.gif";
	img11off.src = "../_images/navigation/tabs_gallery_site_off.gif";
	img12off.src = "../_images/navigation/tabs_services_home_off.gif";
	img13off.src = "../_images/navigation/tabs_services_education_off.gif";
	img14off.src = "../_images/navigation/tabs_services_markets_off.gif";
	img15off.src = "../_images/navigation/tabs_services_funding_off.gif";
	img16off.src = "../_images/navigation/tabs_services_member_off.gif";
	img17off.src = "../_images/navigation/tabs_services_site_off.gif";
}

// Function to activate images.
function imgAct(imgName){if (br == "n3"){document[imgName].src = eval(imgName + "on.src");}}

// Function to deactivate images.
function imgInact(imgName){if (br == "n3"){document[imgName].src = eval(imgName + "off.src");}}
//-->