
	
	//pre-cache
	var imgArr = new Array("domain_on","domain_off","hosting_off","hosting_on","hosting_left","website_off","website_on","website_left","success_off","success_on","success_left","partner_off","partner_on","partner_left");
	for(i=0;i<imgArr.length;i++){
		imgArr[i] = new Image();
		imgArr[i].src = "images/nav_" + imgArr[i] + ".gif";
	}
	
	function highlight(sImg,sSrc) {
		document.images[sImg].src = sSrc;
	}
	
	
	// this script will need to be updated to accomodate browsers other than WIN/IE6, WIN/NS7 and WIN/Opera7
	function columnFix(){
		var rightHeight = document.getElementById("right").offsetHeight;
		var leftMainHeight = document.getElementById("leftMain").offsetHeight;
		
		// need to subtract 2 pixels for some reason - perhaps all the padding and margins are throwing off the calculated height
		document.getElementById("boxHolder").style.height = (rightHeight - leftMainHeight) - 2 + "px";
	}
	
	function faq(section) {
	
		var objFAQWin = window.open("/faqs/?c=" + section,"","width=605,height=485");
		objFAQWin.focus();
	}
	
	function getstarted() {
		var objGSWin = window.open("/gettingstarted/","","width=604,height=485");
		//objGSWin.opener = 'gsOpener';
		objGSWin.focus();
	}
	
	function goForm(){
		//alert(document.goForm.goFormSelect.options[document.goForm.goFormSelect.selectedIndex].value)
		window.location.href = document.goForm.goFormSelect.options[document.goForm.goFormSelect.selectedIndex].value;
	}
	
	function validateDomainAvailability() {
			if(document.frmDomainRedirect.DomainString.value == '') {
				alert('Please enter domain name.');
				return;
			}
			else {
				document.frmDomainRedirect.submit();
			}
		}
	function open_tour(){
	tourwin = window.open( '/tour/default.asp', 'tourwin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=454,height=425' );
	tourwin.focus();
	}
	
	

	function terms(tn) {
    if (tn == 1)
        window.open("/legal/terms/bussol25midnov2003.asp",'EANITHING','width=550,height=400');
	}
