var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

var correct = true

function checkData()

{
	correct = true
	
	if (document.freepack.Title.value == "Select") {correct = false; alert("Please select a title from the drop down list.")}
	if (document.freepack.Name.value == "") {correct = false; alert("Please enter your Full Name.")}
	if (document.freepack.House_number.value == "") {correct = false; alert("Please enter your House number.")}
	if (document.freepack.Street_name.value == "") {correct = false; alert("Please enter the name of the Street you live in.")}
	if (document.freepack.Town.value == "") {correct = false; alert("Please enter the Town you live in.")}
	if (document.freepack.County.value == "") {correct = false; alert("Please enter the county you live in.")}
	if (document.freepack.Postcode.value == "") {correct = false; alert("Please enter your Postcode.")}
	if (document.freepack.Telephone_number.value == "") {correct = false; alert("Please enter your Telephone Number.")}
	if (document.freepack.email.value == "") {correct = false; alert("Please enter your Email Address.")}
	if (document.freepack.Broadband.value == "Select") {correct = false; alert("Please select if you have a broadband connection from the drop down list.")}

	//if (correct == true)
	//{
		//if (document.freepack.email.value != document.freepack.email2.value)
		//{
			//correct = false;
			//alert("Check your e-mail address.");
		//}
	//}

	if (correct) {return correct} else {return false}
}//-->
