
	
	//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 = "/common/images/navigation/nav_" + imgArr[i] + ".gif";
		//alert(i);
		//alert(imgArr[i]);
	//}
	
	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,scrollbars=yes');
	else if (tn == 2)
		window.open("/legal/terms/sharedmoneybackguaranteemay2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');
	else if (tn == 3)
		window.open("/legal/terms/eladdoct2003.asp",'EANITHING','width=550,height=400,scrollbars=yes');
	else if (tn == 4)
		window.open("/legal/terms/hpaddaugust2003.asp",'EANITHING','width=550,height=400,scrollbars=yes');		
	else if (tn == 5)
		window.open("/legal/terms/eldedjuly2003.asp",'EANITHING','width=550,height=400,scrollbars=yes');	
    else if (tn == 6)
		window.open("/legal/terms/hpdedsept2003.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 7)
		window.open("/legal/terms/15prcntonlinebasicsjune2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 8)
		window.open("/legal/terms/omsecomplusbundlejune2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 9)
		window.open("/legal/terms/r10prcntecombusbundlesetupfeejune2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 10)
		window.open("/legal/terms/ecombusinessbundlejune2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 11)
		window.open("/legal/terms/rbus30daytrialjune2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 12)
		window.open("/legal/terms/vpsnov2003.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 13)
		window.open("/legal/terms/sharedmoneybackguaranteemay2004.asp?elq=FE0760A9BC654183B67E7D7D5AEE4694",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 14)
		window.open("/legal/terms/dedfreesetupstarterjul2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 15)
		window.open("/legal/terms/ded30pct2addonjul2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 16)
		window.open("/legal/terms/dedrebatejul2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 17)
		window.open("/legal/terms/tn1yrfreedomain.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 18)
		window.open("/legal/terms/sharedpowersql50aug2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 19)
		window.open("/legal/terms/dedicatedfreesetup500sept2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 20)
		window.open("/legal/terms/dedicatedfirewall150sept2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	else if (tn == 21)
		window.open("/legal/terms/dedicateddatabackupsept2004.asp",'EANITHING','width=550,height=400,scrollbars=yes');			
	
	
	

		
	}
	function info_pop_up(page_name,h,w) {
	//alert(page_name);
        window.open("/common/pop_ups/"+page_name,'INFOPOPUP','width='+w+',height='+h+',scrollbars=yes');
	}
	
	
	function pop_up(type) {
    if (type == 'price_match')
        window.open("/legal/terms/dedmatchoct2003.asp",'EANITHING','width=434,height=400,scrollbars=yes');
	}
	function go_support(){
					window.location.href = document.supportForm.supportFormSelect.options[document.supportForm.supportFormSelect.selectedIndex].value;
				}
	
				
