function SubF_CA() {

var myDate=new Date()

myDate.setFullYear(document.f1.CIY.value,document.f1.CIM.value-1,document.f1.CID.value)

var today = new Date()

if (myDate<today) {
	alert('Välj ett senare datum.')
	return false;
}


x=isDate(document.f1.CIY.value + ' ',document.f1.CIM.value + ' ',document.f1.CID.value + '');
if (x==false) {
	alert("Välj korrekt datum.");
	return false;
}
document.f1.action="displayall.asp";
// change target to suit your web site
//document.f1.target="_blank"
//
document.f1.submit();
return;

}

function SubF_BF() 
{
	if (document.bf.fnm.value=='') {
		alert("Please fill in your First Name")
		return;
	}
	if (document.bf.lnm.value=='') {
		alert("Please fill in your Last Name")
		return;
	}
	if (document.bf.em.value=='') {
		alert("Please fill in your email")
		return;
	}
	if (document.bf.em.value!=document.bf.em2.value) {
		alert("Your email addresses do not match - please check")
		return;
	}
	if (document.bf.ph.value=='') {
		alert("Please fill in your telephone number")
		return;
	}
	if (document.bf.ad1.value=='') {
		alert("Please fill in your first line of address or Company Name")
		return;
	}
	
	if (document.bf.ad3.value=='') {
		alert("Please fill in your City or State/Zip or Postcode")
		return;
	}
	
	if (document.bf.ad4.value=='') {
		alert("Please fill in your Country")
		return;
	}
	
	if (document.bf.ccc.value=='') {
		alert("Please select your the type of Credit Card you have")
		return;
	}
	
	if (document.bf.ccn.value=='') {
		alert("Please fill in your Credit Card number")
		return;
	}
	
	if (document.bf.ccx.value=='') {
		alert("Please fill in your Credit Card expiry date")
		return;
	}
	
	document.bf.action="confirmation.asp";
	document.bf.submit();
	return;
}
