function validate(form){
	
	for (i=0; i<form.length;i++)
	alert(form.elements[i]);
}