<!--
//-- This script detects browser type and preloads all images for the mouseovers.
//list of images with corresponding pages
	// 1 - artisans
	// 2 - services
	
// 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();
	img1on.src = "_images/layout/splash_artisan_on.gif";
	img2on.src = "_images/layout/splash_services_on.gif";
	img3on.src = "_images/layout/splash_logo_Auction_link_on.gif";
	
	// off images
	img1off = new Image();
	img2off = new Image();
	img3off = new Image();
	img1off.src = "_images/layout/splash_artisan_off.gif";
	img2off.src = "_images/layout/splash_services_off.gif";
	img3off.src = "_images/layout/splash_logo_Auction_link_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");}}
//-->