// // TranslateMe // Translate these strings, leaving the variable names unchanged. // var js_st_valid_illegal_email = "Illegal email address!"; var js_st_valid_enter_nickname = "Please enter your nickname"; var js_st_valid_nickname_no_special_chars = "Your nickname must contain only letters, numbers, or an underscore"; var js_st_valid_enter_password = "You must insert your password!"; var js_st_valid_reenter_password = "You must re-enter your password!"; var js_st_valid_password_not_match = "Your passwords do not match!"; var js_st_valid_security_answer = "Please enter the answer of your Security Question"; var js_st_valid_first_name = "Please enter your first name"; var js_st_valid_last_name = "Please enter your last name"; var js_st_valid_address = "Please enter your address"; var js_st_valid_city = "Please enter your city"; var js_st_valid_state = "Please enter your state or province"; var js_st_valid_zipcode = "Please enter your zipcode"; var js_st_valid_bday = "Please enter your birthday"; var js_st_valid_byear = "Please enter your birth year"; // // End of translations // function emailvalidation(entered, alertbox) { // E-mail Validation by Henrik Petersen / NetKontoret // Explained at www.echoecho.com/jsforms.htm // Please do not remove this line and the two lines above. with (entered) { apos=value.indexOf("@"); dotpos=value.lastIndexOf("."); lastpos=value.length-1; if (apos<1 || dotpos-apos<2 || lastpos-dotpos>3 || lastpos-dotpos<2) {if (alertbox) {alert(alertbox);} return false;} else {return true;} } } function validRequired(formField,fieldLabel,Message) { var result = true; if (formField.value == "") { alert(Message); formField.focus(); result = false; } return result; } function validNoSpecialChars(formField,fieldLabel,Message) { var specialChars = " ;:'\",<.>/?[{]}|\\-=+!@#$%^&*()`~"; var length = specialChars.length; for (var i=0; i