var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); //form validation function validateName(fld) { var error = ""; if (fld.value === '' || fld.value === 'Nickname' || fld.value === 'Enter Your Name..' || fld.value === 'Your Name..') { error = "You didn't enter Your First Name.\n"; } else if ((fld.value.length < 2) || (fld.value.length > 50)) { error = "First Name is the wrong length.\n"; } return error; } function validateEmail(fld) { var error=""; var illegalChars = /^[^@]+@[^@.]+\.[^@]*\w\w$/; if (fld.value === "") { error = "You didn't enter an email address.\n"; } else if ( fld.value.match(illegalChars) === null) { error = "The email address contains illegal characters.\n"; } return error; } function valName(text) { var error = ""; if (text === '' || text === 'Nickname' || text === 'Enter Your Name..' || text === 'Your Name..') { error = "You didn't enter Your First Name.\n"; } else if ((text.length < 2) || (text.length > 50)) { error = "First Name is the wrong length.\n"; } return error; } function valEmail(text) { var error=""; var illegalChars = /^[^@]+@[^@.]+\.[^@]*\w\w$/; if (text === "") { error = "You didn't enter an email address.\n"; } else if ( text.match(illegalChars) === null) { error = "The email address contains illegal characters.\n"; } return error; } function validateMessage(fld) { var error = ""; if (fld.value === '') { error = "You didn't enter Your message.\n"; } else if (fld.value.length < 3) { error = "The message is to short.\n"; } return error; } jQuery(document).ready( function(){jQuery('.breaking-news ul').marquee({delay:3000, stop:true});} ); } /*