function ValidateForm(){
	formobj=document.pic_add;
//	if (formobj.title.value == "") {
//		alert("You must enter a title");
//		formobj.title.focus();
//		return false;
//	}
//	if (formobj.size.value == "") {
//		alert("You must enter a size");
//		formobj.size.focus();
//		return false;
//	}
//	if (formobj.medium.value == "") {
//		alert("You must enter the medium");
//		formobj.medium.focus();
//		return false;
//	}
//	if (formobj.cost.value == "") {
//		alert("You must enter the cost");
//		formobj.cost.focus();
//		return false;
//	}
//	if (formobj.description.value == "") {
//		alert("You must enter a description");
//		formobj.description.focus();
//		return false;
//	}
	if (formobj.category.value == 0) {
		alert("You must select a category");
		formobj.category.focus();
		return false;
	}
	if (formobj.file.value == "") {
		alert("You select a picture to upload");
		formobj.file.focus();
		return false;
	}
	return true
}
