Halloween 2023
Register Your Interest
Be the first to hear all the latest news
var urlInput = document.getElementById("ci_consenturl");
if (urlInput != null && urlInput != 'undefined') {
urlInput.value = encodeURI(window.location.href);
}
function checkbox_Clicked(element) {
document.getElementById(element.id + "_unchecked").value = !element.checked;
}
function validate_signup(frm, showAlert) {
var emailAddress = frm.email ? frm.email.value : "";
var smsNumber = frm.MOBILENUMBERID ? frm.MOBILENUMBERID.value : "";
var errorString = '';
if (frm.email && (emailAddress == '' || emailAddress.indexOf('@') == -1)) {
errorString = 'Please enter your email address';
}
if (frm.MOBILENUMBERID && smsNumber == '') {
errorString = 'Please enter your Mobile number';
}
var isError = false;
if (errorString.length > 0) {
isError = true;
if (showAlert) alert(errorString);
}
return !isError;
}