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);

    });
	
	jQuery(document).ready(
		function(){					
			$('.fade').innerfade({
				speed: 1000,
				timeout: 3000,
				type: 'random_start',
				containerheight: '295px'
			});
	});	

});

function validateContactData(){
	var s = "";
	with (document.frmContact) {
	if (FirstName.value.length == 0) {
		s += "\nPlease provide your full name."
	}
	if (LastName.value.length == 0) {
		s += "\nPlease provide your full name."
	}
	if (Email.value.length == 0) {
		s += "\nPlease provide your email address."
	}
	if (Comments.value.length == 0) {
		s += "\nPlease tell us your reason for contacting us."
	}
	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;
		}
	}
}