// JavaScript Document
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

	function toggleMenu(divName) {
		if (divName.style.display == "none") {
			divName.style.display = "";
		}
		else {
			divName.style.display = "none";
 		}
	}
	
function CalculateSum1(Atext)
{
var A = parseFloat(Atext);
addgb.pricetoo1.value = A + 1;
}
function CalculateSum2(Atext)
{
var A = parseFloat(Atext);
addgb.pricetoo2.value = A + 1;
}

function confirmAction() {
return confirm ("Are you sure you wish to register for this GroupBuy Discount again?");
}

function confirmActionremove() {
return confirm ("Are you sure you wish to de-register for this GroupBuy Discount?");
}

function check12() { 
if (addgb.unitprice2.value > addgb.unitprice1.value) { 
alert ('Note: You must enter a value less than the above box') 
return false; 
} 
} 

function check23() { 
if (addgb.unitprice3.value > addgb.unitprice2.value) { 
alert ('Note: You must enter a value less than the above box') 
return false; 
} 
} 