function checkCheckBox(f){
if (f.OK2contact.checked == false )
{
alert("Please tick the 'Consent' box to continue");
return false;
}else
return true;
}


function pushbutton() {
	alert("You are now departing from the regulatory site of Apricot for Money. Neither Apricot for Money or Personal Touch Financial Services Limited is responsible for the accuracy of the information contained within the linked site.");
}

function open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

if (emailalias=="default"){emailalias="andrea"}

var email_domain ="apricotformoney.co.uk";
//var email_domain ="davepowell.co.uk";// for test only

var email_link ="<a href=\"mailto:"+emailalias+"@"+email_domain+"?subject=Enquiry from website\"><b><img src=\"images/keyboard.jpg\" width=\"190\" height=\"95\" border=\"0\"><br><font color=\"#FF6633\">Click here to contact by email</font></b></a>";