
/***********************************************************************************
DIRECTORIES
***********************************************************************************/
	var ENABLE_SSL = false;

/***********************************************************************************
DIRECTORIES
***********************************************************************************/
	
	var DIR_XML = 'xml/';
	var DIR_SITE = 'site/';
	var DIR_CONTACT = 'contact/';
	var DIR_REGISTER = 'register/';
	var DIR_QUOTE = 'quote/';
	var DIR_TITLE = 'title/';
	var DIR_IMAGE = 'image/';
	var DIR_GLOBAL = 'global/';
	var DIR_LOADER = 'loader/';
	
/***********************************************************************************
FORM
***********************************************************************************/
	var FORM_VALIDATE = 'form.validate.php';
	var FORM_CONTACT = 'form.contact.php';
/***********************************************************************************
IMAGE FILES
***********************************************************************************/
	var IMG_LOADER = 'ajax-loader.gif';
/***********************************************************************************
QUOTE FILES
***********************************************************************************/
	var QUOTE_GET_QUOTE_REQUEST = 'quote.getQuoteRequest.php';
	var QUOTE_GET_PRINTING_TYPE = 'quote.getPrintingType.php';
/***********************************************************************************
FUNCTIONS
***********************************************************************************/
	
	/**
	* used to retrive the object element
	* reference the object to a variable and it wil reduce overhead and can increase performance
	*/ 
	function $(id) {
		return document.getElementById(id);
	} // function
	
	
	/**
	* Server selection
	*/
	function enableSSL(val) {
		return (val == true)?'http://unitedhitch.com/':'http://unitedhitch.com/';
	} // function
	
	/**
	* Loading Gif
	*/ 
	function loader(val) {
		return '<img src="'+enableSSL(val)+DIR_IMAGE+DIR_GLOBAL+DIR_LOADER+IMG_LOADER+'" style="border: none;" />';
	} // function