
<!-- Hidding from the older browsers

// this is for all the required fields
function ContactUs(form) {
		
	var passed = true; /* This variable is set to "false" if the form is not ready. */
	fieldtofocus = ""; /* Data field to receive the focus after the alert is closed. */

		/*  Set up the initial string of the alert message. The "\n" 
		creates a new line for the text string.  */

	message ="Mohon diisi dengan lengkap: \n"
		
	/* Checks the first required input field for an empty string. */
	if (form.from.value == "") {
			/* If the field is empty, add this to the message. */
    		message += "- - FROM \n";
			/* Then set the passed variable to "false"...we check this later. */
		passed = false;
			/* Set this as the input field to have the focus after 
				the alert message. */
		fieldtofocus = form.from;
   	 }

	   /* Checks the first required input field for an empty string. */
	if (form.subject.value == "") {
			/* If the field is empty, add this to the message. */
    		message += "- - SUBJECT: \n";
			/* Then set the passed variable to "false"...we check this later. */
		passed = false;
			/* Set this as the input field to have the focus after 
				the alert message. */
		fieldtofocus = form.subject;
   	 }
	 
	 
	 /* Checks the first required input field for an empty string. */
	if (form.msg.value == "") {
			/* If the field is empty, add this to the message. */
    		message += "- - MESSAGE: \n";
			/* Then set the passed variable to "false"...we check this later. */
		passed = false;
			/* Set this as the input field to have the focus after 
				the alert message. */
		fieldtofocus = form.msg;
   	 }
			   
	    /*   If there are missing data fields, send out the message
		using a call to the fixFieldInfo function. */    

	if (passed == false)  {
		fixFieldInfo(message, fieldtofocus); 
	}
		/*  We need to return a "true" to the form's submit so that it will send
		the form. If a "false" is returned, nothing happens with the form 
		submittal.  */

	return passed;
	
}

	/*  And finally, we send out the message with the 
concatenated message strings and the field to receive 
the cursor (focus) after the alert message is closed.*/

function fixFieldInfo(message, fieldtofocus) {
	alert(message);
	fieldtofocus.focus();
}


// end comments to hid scripts