// JavaScript Document

	function validateForm(){
		CheckFormInput();	
		CheckBgInfo();
		//Custom Fields
		errors += required($("#SAPNo"));
		errors += required($("input[name='Ver']"),"radiogroup",$("#div_Ver"));
			
		if ( errors ){
			alert("Please fill out all the required fields. \n\n The required fields will be highlighted for you.");
			window.location='#top';
			return false;
		}
		else{
			return true;
		}
	}
	
