<!--
// check if the browser is Navigator 3 or higher:
agent = navigator.userAgent;
browserVer = 2;
if (agent.substring(0,7) == "Mozilla")
{
    if (parseInt(agent.substring(8,9)) >= 3) {browserVer = 1;}
}
// ex. new Image(8,14) is the same as HEIGHT=14 WIDTH=8 in IMG SRC lines.
// preload universal images:
if (browserVer == 1) {
imageOff = new Image(84,26);
imageOff.src = "/images/buttons/BAddtoCart.gif";
imageOn = new Image(84,26);
imageOn.src = "/images/buttons/BAddtoCart_over.gif";
}

function hiLite(imgDocID,imgObjName) {
// manages mouseOver and mouseOut animation
//   imgDocID - the name or number of the document image to be replaced
//   imgObjName - the name of the image object to be swapped in
if (browserVer == 1) {
document.images[imgDocID].src = eval(imgObjName + ".src")
}}

function checkAddToCartForm(formObj){
	var reNum = /^[0-9]+$/    //this will only allow 0-9
	if (! reNum.test(formObj.qty.value)){
		alert('Please enter a numeric value.');
		formObj.qty.focus();
		
		return false;
	}
			
	return true;
}
// -->