jQuery(document).ready(function($){
	$("img.toggle:not(.on)").hover(function() {
      var src = $(this).attr('src');
      src = src.replace(/_(on|off)\./, '_on.');
      $(this).attr('src', src);

    }, function() {
      var src = $(this).attr('src');
      src = src.replace(/_(on|off)\./, '_off.');
      $(this).attr('src', src);

    });
    
});




function validateContactData(){
	var s = "";
	with (document.frmContact) {
	if (firstname.value.length == 0) {
		s += "\nPlease provide your first name."
	}
	if (lastname.value.length == 0) {
		s += "\nPlease provide your last name."
	}
	if (email.value.length == 0) {
		s += "\nPlease provide your email address."
	}
	if (s.length==0) {
		with (document.frmContact) {
		} 
		return true;
	}
		else {
			alert("Your sign up could not be completed for the following reason(s):\n" + s);
			return false;
		}
	}
}