
function validateForm(theform){
	arr = Array('Name','Email','URL','Subject','Message','rand_image');

	for(i=0;i<arr.length;i++){
		if(theform[arr[i]].value == ""){
			alert("please complete " + theform[arr[i]].name);
			theform[arr[i]].focus();
			return false;
		}
	}
	return true;
}