// JavaScript Document

function verify(num)
{
var answer = "Please click the checkbox declaring that you are 18 years old or over and that you agree to our terms and conditions";
var wrong = 0;
var thisForm = ("document.buy" + num);

//alert(eval(thisForm).agree.value);

if(eval(thisForm).agree.value != "0")
			{
			answer = answer + "";wrong = 1;
			}

if (wrong ==1)
	{
	alert(answer);
	return false;
	}
if (wrong == 0)
	{
	return true;
	}
}


/*
	function verify()
	{
	var answer = "~~~~~~~~~~~~~~~~~~~~~~~~\nSorry... you have not completed...\n~~~~~~~~~~~~~~~~~~~~~~~~";
	var wrong = 0;
	if (wrong == 0)
		{
		alert("By clicking on OK you are confirming your age to be 18 years old or over");
		return true;
		}
	}
*/