function validateForm()
{
	var args = validateForm.arguments,
		obj, sParse, sValue,
		errors = "";
	
		var FieldsRealNames = new Array("First Name", "", "Last Name", "", "Company", "", "Country", "", "Title", "", "Email Address", "", "Area Code", "", "Phone", "", "Subject","", "Comments", "", "Security Code", "");
	
	for (i = 0; i < (args.length - 1); i += 2)
	{
		obj = document.getElementById( args[i] );
		sParse = args[i+1];
	
		if (obj)
		{	
			if ((sValue = obj.value) == "")
				{
					if (sParse.charAt(0) == 'R')
						errors +='Field ' + '"' + (FieldsRealNames[i]) + '" is obligatory.\n';
				}
			
		}
				
	}
	
	if (document.getElementById("Comments").value.length > 2000 ) 
		        		{errors += '\nField ' +  '"' +"Comments"+ '" can\'t contain more than 2000 symbols.\n';}
		        	

  if (errors != "") 
  {
  	alert('The following mistakes have been found:\n\n' + errors);
  	return false;
  }

  return true;

}

