/**
* Add sliders to home pages and content pages.
* 
*/
		/* Homepage slider */
		$(document).ready(function(){	
			$("#slider").easySlider({
				auto: true,
				continuous: true,
				numeric: true,
				numericId: 'controls',
				pause: 10000
			});
			/* Sitebuilder demo slider */
			$("#slider2").easySlider({
				auto: true,
				continuous: true,
				numeric: false,
				numericId: 'thumbNails',
				pause: 5000,
				nextId: "slider2next",
				prevId: "slider2prev",
				prevText: "",
				nextText: ""
			})
			/* Application Vault slider*/
			$("#slider3").easySlider({
				auto: true,
				continuous: true,
				numeric: false,
				numericId: 'vThumbNails',
				pause: 5000,
				nextId: "slider2next",
				prevId: "slider2prev",
				prevText: "",
				nextText: ""
			})
			
		});
		
	/* Add accordian to content for pricing tables */
 	 $(document).ready(function(){
   		 $("#accordion").accordion({ autoHeight: false, active: 0 });
     });



	/*
	* Hide and show textbox text on click 
	*/

	function removeText(formField, theText) {

		if ( document.getElementById(formField).value === theText ) {
			document.getElementById(formField).value = "";
		}
	}
	

	function replaceText(formField, theText) {
		if ( document.getElementById(formField).value === "" ) {
			document.getElementById(formField).value = theText;
		}
	}
	
	/* Domain Transfer JQuery */

	
		function addToPost(){
			$("#domainTran").attr("action","http://www.hosted.com/clients/cart.php?a=add&domain="+$("#domTranChecker").val());
			$("#domainTran").submit();
		}
	