/*
|--------------------------------------------------------------------------
| Hillstone Capital > Front-End > Core JavaScript Calls
|--------------------------------------------------------------------------
|
| @package		Hillstone Capital
| @subpackage	Frontend JavaScript
| @company		Hillstone Capital
| @phone		
| @fax			
| @author		
| @email		
| @link			
| @copyright	
|
*/

/*
|--------------------------------------------------------------------------
| Hillstone Capital > Forms
|--------------------------------------------------------------------------
|
*/

	/**
	* Function to call the JavaScript Validation.
	*
	* @name 	Load Form Styles
	* @access 	public
	* @param 	var-type none
	* @return 	none
	* @author 	Joey Avino
	* @email	joey@amediacreative.com
	*/ 
	function load_contact_form()  {

		var check_list = new Array(); // List of inputs you want to check for validation and their val type.
			check_list[0] = '.val_min_len_3';
			check_list[1] = '.val_phone';
			check_list[2] = '.val_email';
			check_list[3] = '.val_dropdown';
			check_list[4] = '.val_min_len_4';

		var form = $('id_contact_form'); // Form the inputs are in.
		init_val(check_list, form); // Call the initial form validation
		dropdown('dropdown'); // This is for a custom dropdown, will take your id and id_label.
		submit_toggle(); // If you want a button with class = submit to toggle.

	}