function MM_openBrWindow(theURL,winName,features) { //v2.0  window.open(theURL,winName,features);}function setActiveStyleSheet(title) {  var i, a, main;  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {      a.disabled = true;      if(a.getAttribute("title") == title) a.disabled = false;    }  }}function getActiveStyleSheet() {  var i, a;  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");  }  return null;}function getPreferredStyleSheet() {  var i, a;  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {    if(a.getAttribute("rel").indexOf("style") != -1       && a.getAttribute("rel").indexOf("alt") == -1       && a.getAttribute("title")       ) return a.getAttribute("title");  }  return null;}function createCookie(name,value,days) {  if (days) {    var date = new Date();    date.setTime(date.getTime()+(days*24*60*60*1000));    var expires = "; expires="+date.toGMTString();  }  else expires = "";  document.cookie = name+"="+value+expires+"; path=/";}function readCookie(name) {  var nameEQ = name + "=";  var ca = document.cookie.split(';');  for(var i=0;i < ca.length;i++) {    var c = ca[i];    while (c.charAt(0)==' ') c = c.substring(1,c.length);    if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);  }  return null;}window.onload = function(e) {  var cookie = readCookie("style");  var title = cookie ? cookie : getPreferredStyleSheet();  setActiveStyleSheet(title);}window.onunload = function(e) {  var title = getActiveStyleSheet();  createCookie("style", title, 365);}var cookie = readCookie("style");var title = cookie ? cookie : getPreferredStyleSheet();setActiveStyleSheet(title);function FrontPage_Form1_Validator(theForm){  if (theForm.txtTitle.value == "")  {    alert("Please enter a value for the \"txtTitle\" field.");    theForm.txtTitle.focus();    return (false);  }  if (theForm.txtFirstname.value == "")  {    alert("Please enter a value for the \"First Name\" field.");    theForm.txtFirstname.focus();    return (false);  }  if (theForm.txtSurname.value == "")  {    alert("Please enter a value for the \"Surname\" field.");    theForm.txtSurname.focus();    return (false);  }  if (theForm.txtAdrsLn1.value == "")  {    alert("Please enter a value for the \"txtAdrsLn1\" field.");    theForm.txtAdrsLn1.focus();    return (false);  }  if (theForm.txtAdrsLn1.value.length > 40)  {    alert("Please enter at most 40 characters in the \"txtAdrsLn1\" field.");    theForm.txtAdrsLn1.focus();    return (false);  }  if (theForm.txtTown.value == "")  {    alert("Please enter a value for the \"txtTown\" field.");    theForm.txtTown.focus();    return (false);  }  if (theForm.txtTown.value.length > 40)  {    alert("Please enter at most 40 characters in the \"txtTown\" field.");    theForm.txtTown.focus();    return (false);  }  if (theForm.txtCounty.value == "")  {    alert("Please enter a value for the \"txtCounty\" field.");    theForm.txtCounty.focus();    return (false);  }  if (theForm.txtCounty.value.length > 40)  {    alert("Please enter at most 40 characters in the \"txtCounty\" field.");    theForm.txtCounty.focus();    return (false);  }  if (theForm.txtPostCode.value == "")  {    alert("Please enter a value for the \"Post / Zip Code\" field.");    theForm.txtPostCode.focus();    return (false);  }  if (theForm.txtPostCode.value.length > 10)  {    alert("Please enter at most 10 characters in the \"Post / Zip Code\" field.");    theForm.txtPostCode.focus();    return (false);  }  if (theForm.txtCountry.value == "")  {    alert("Please enter a value for the \"Post / Zip Code\" field.");    theForm.txtCountry.focus();    return (false);  }  if (theForm.txtCountry.value.length > 10)  {    alert("Please enter at most 10 characters in the \"Post / Zip Code\" field.");    theForm.txtCountry.focus();    return (false);  }  if (theForm.txtTel.value == "")  {    alert("Please enter a value for the \"txtTel\" field.");    theForm.txtTel.focus();    return (false);  }  if (theForm.txtTel.value.length > 24)  {    alert("Please enter at most 24 characters in the \"txtTel\" field.");    theForm.txtTel.focus();    return (false);  }  if (theForm.txtEmail.value == "")  {    alert("Please enter a value for the \"Email Address\" field.");    theForm.txtEmail.focus();    return (false);  }  if (theForm.txtEmail.value.length > 50)  {    alert("Please enter at most 50 characters in the \"Email Address\" field.");    theForm.txtEmail.focus();    return (false);  }  return (true);}