function validate(form)
{
	var myfields = new Array(form.f_FirstName,form.f_LastName,form.f_GLEmail,form.f_Phone)
	var mynames = new Array("First Name","Last Name","Email","Phone")
	
	var counter=0;
	var msg="Please fill in the following fields :\n\n";
	
	for (var i=0; i < myfields.length; i++)
	{
		if (myfields[i].type == "text")
		{
			if (myfields[i].value == "")
			{
				counter=1;
				msg=msg + mynames[i] + "\n";
			}
		}		
	}
	
	if(counter==1)
	{
		alert(msg);
		return false;
	}
	
	else
	{
		return pleaseWait2('IDReplace');
	}

}

function pleaseWait2(targetDiv)
{
	document.getElementById(targetDiv).innerHTML = "<input type=\"submit\" name=\"Submit\" value=\" Proceed to Payment Section &gt; \" disabled>";
	return true;
}
