/* var s1 = document.createElement("script"); var s2 = document.createElement("script"); var s3 = document.createElement("link"); s1.setAttribute("type", "text/javascript"); s2.setAttribute("type", "text/javascript"); s3.setAttribute("type", "text/css"); s3.setAttribute("rel", "stylesheet"); s1.setAttribute("src", "http://marketing.beezilla.com/public/signup/jquery/js/jquery-1.4.2.min.js"); s2.setAttribute("src", "http://marketing.beezilla.com/public/signup/jquery/js/jquery-ui-1.8.4.custom.min.js"); s3.setAttribute("href", "http://marketing.beezilla.com/public/signup/jquery/css/smoothness/jquery-ui-1.8.4.custom.css"); var head = document.getElementsByTagName("head"); if(head != null && head[0] != null) { head[0].appendChild(s1); head[0].appendChild(s2); head[0].appendChild(s3); } else { document.body.appendChild(s1); document.body.appendChild(s2); document.body.appendChild(s3); } document.write(''); document.write('
\n'); function initjQueryFields() { try { $(".datefields").datepicker({changeMonth: true,changeYear: true,yearRange:'c-60:c+0'}); } catch( Exception) { setTimeout("initjQueryFields()", 500); } } initjQueryFields(); function validateForm12(form) { if(form == undefined) { form = document.getElementById("frmSignup12"); } var items = form.elements; for(var i = 0; i < items.length; i++) { if(items[i].getAttribute("required") == "1") { if(items[i].value == "") { alert('You must enter a value for the field : '+items[i].getAttribute('label')); items[i].focus(); return false; } } } if(document.getElementById("CreateWPUser").value == "1" && document.getElementById("WPUser").value == "") { if (document.getElementById('wp_password').value != document.getElementById('wp_confirmpassword').value) { alert('Password must match confirmation password'); return false; } } var pass = document.getElementById("signup_Password"); if(pass != null) { var pass2 = document.getElementById("signup_PasswordConfirmation"); if(pass2 != null) { if(pass.value != pass2.value) { alert('Your password and confirmation password do not match. Please check them and try again.'); pass.value = ''; pass2.value = ''; pass.focus(); return false; } } } return true; } function gup(name) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^]*)"; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null ) return ""; else return results[1]; } if(gup("captchaInvalid") == "1") { alert('You must enter the correct validation code shown in the picture'); }