        function check(form) {
            valid = true;		

		if (trim(document.quotation.fname.value) == "" )
		{
			alert("Missing: First Name field is required");
			document.quotation.fname.focus();
			document.quotation.fname.value = "";
			valid = false;
		}
		else if (trim(document.quotation.daytime.value) == "" )
		{
			alert("Missing: Daytime Phone field is required");
			document.quotation.daytime.focus();
			document.quotation.daytime.value = "";
			valid = false;
		}
           return valid;
	}
function call_me(form) {
            valid = true;		

		if (trim(document.call.name.value) == "" )
		{
			alert("Missing: Full Name field is required");
			document.call.name.focus();
			document.call.name.value = "";
			valid = false;
		}
		else if (trim(document.call.phone.value) == "" )
		{
			alert("Missing: Contact Number field is required");
			document.call.phone.focus();
			document.call.phone.value = "";
			valid = false;
		}
           return valid;
	}
	
	function trim(str)
	{
		var i=0,p = str.length-1;
		while(str.charAt(i)==' ') i++;
		while(str.charAt(p)==' ') p--;
		if(i>p) return '';
		return str.substring(i,p+1);
	}	
	function ReloadTextDiv()
	{
	var NewText = document.getElementById("DynamicText").value;
	var DivElement = document.getElementById("TextDisplay");
	DivElement.innerHTML = NewText;
	}
