over = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" over";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("over"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", over);





 sfHover = function() {
 	var sfEls = document.getElementById("product_menu").getElementsByTagName("LI");
 	for (var i=0; i<sfEls.length; i++) {
 		sfEls[i].onmouseover=function() {
 			this.className+=" sfhover";
 		}
 		sfEls[i].onmouseout=function() {
 			this.className=this.className.replace(new RegExp("sfhover\\b"), "");
 		}
 	}
 }
 if (window.attachEvent) window.attachEvent("onload", sfHover);



function checkqty()
{
var minqty="";
var actualqty="";
minqty=document.testform.minquantity.value;
actualqty=document.testform.quantity.value;


if(actualqty<minqty)
{
alert('This product has a minimum order quantity of '+minqty+' Please adjust the quantity value ')
retval= false;
}
else
{
retval= true;
}

return retval;
}
