/* This is the Library of JavaScript Functions used at Kalax.com */

// Kicks Netscape 4.x Users to the Curb
if (!document.getElementById) {
    window.location = 
	   "http://www.webstandards.org/upgrade/"
}

// Validates the Feedback Form Fields
function validateForm(form) { 
	if (form.name.value == "") { 
	   alert('You have left the "name" field empty.'); 
	   form.name.focus(); 
	   return false; 
	}
	if (form.email.value == "") { 
	   alert('You have left the "email" field empty.'); 
	   form.email.focus(); 
	   return false; 
	}
	if (form.message.value == "") { 
	   alert('You have left the "message" field empty.'); 
	   form.message.focus(); 
	   return false; 
	}
}