Saturday, October 31, 2015
Text Size

' + msg.join('

') + '

'; msg_container.className = 'rsm_modal_error_container'; try { SqueezeBox.open(msg_container, { handler: 'adopt', size: {x: 450, y: 350} }); } catch (err) { alert(msg.join("\n")); } return false; } return true; } function validate_username(username) { regex=/[^a-zA-Z_0-9\.\@]+/g; if (username.length < 2 || regex.test(username)) return false; return true; } var rsm_wait_ajax = false; var rsm_timeout = false; function rsm_ajax_flag() { if (rsm_timeout) clearTimeout(rsm_timeout); rsm_wait_ajax = true; rsm_timeout = setTimeout(function () { rsm_wait_ajax = false; rsm_check_username(document.getElementById('rsm_username')); } , 2000); } function rsm_check_username(what) { what.value = what.value.replace(/[^a-zA-Z_0-9\.\@]+/g, ''); username = what.value; var message = document.getElementById('rsm_username_message'); if (!validate_username(username)) { message.style.display = ''; message.className = 'rsm_error'; message.innerHTML = "Please provide your desired username (alphanumeric characters only & at least 2 characters)."; return false; } document.getElementById('rsm_loading').style.display = ''; message.style.display = 'none'; message.className = ''; message.innerHTML = ''; if (rsm_wait_ajax) return true; xmlHttp = rsm_get_xml_http_object(); var url = '/index.php?option=com_rsmembership&task=checkusername'; params = 'username=' + document.getElementById('rsm_username').value; params += '&name=' + document.getElementById('name').value; params += '&email=' + document.getElementById('email').value; xmlHttp.open("POST", url, true); //Send the proper header information along with the request xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); //xmlHttp.setRequestHeader("Content-length", params.length); xmlHttp.setRequestHeader("Connection", "close"); xmlHttp.send(params); xmlHttp.onreadystatechange = function() { if (xmlHttp.readyState == 4 && xmlHttp.responseText.indexOf('|') > -1) { document.getElementById('rsm_loading').style.display = 'none'; rsm_wait_ajax = false; var ol = document.getElementById('rsm_suggestions_ol'); for (var i=ol.childNodes.length - 1; i>=0; i--) ol.removeChild(ol.childNodes[i]); is_available = false; var suggestions = xmlHttp.responseText.split('|'); for (var i=0; i

Returning Customer

If you are already a customer, please login:

New Customer

or please fill in the following details:

Sign Up for Our Newsletter

Contact Details

Sales Enquiries - Geraldine Skinner
Email:
Events & Training, Marketing & Media - Jacky Workman
Email: