	function openWin(img) {
		newWin = window.open ("popimage.asp?img="+img,"newWin","location=0,status=0,scrollbars=0,width=620,height=550");
  		newWin.moveTo(0,0);
		return false;
	}
	
	function breakFrame() {
		if (window != top) top.location.href = location.href;	
	}
	
	function check_this() {
		var strError = "";
		if (document.getElementById("firstname").value == "") strError = strError + "First Name not entered \n";
		if (document.getElementById("lastname").value == "") strError = strError + "Last Name not entered \n";
		if (document.getElementById("companyname").value == "") strError = strError + "Company Name not entered \n";
		if (document.getElementById("zipcode").value == "") strError = strError + "Zip/Postal code not entered \n";
		if (document.getElementById("phone").value == "") strError = strError + "Phone Number not entered \n";
		if (document.getElementById("custentity7")) {
			if (document.getElementById("custentity7").length) {
				if (document.getElementById("custentity7").selectedIndex == -1 || document.getElementById("custentity7").selectedIndex == 0) {
					strError = strError + "How you heard about us not selected \n";
				}
			}
		}
		strMsg = "The following errors were found:";
		if (!strError == "") {
			alert(strMsg + "\n\n" + strError); 
			return false;		
		}
		else {
			document.getElementById("img_submit").disabled = true;
			return true;	
		}
	}
	
	function check_this2() {
		var strError = "";
		if (document.getElementById("firstname").value == "") strError = strError + "First Name not entered \n";
		if (document.getElementById("lastname").value == "") strError = strError + "Last Name not entered \n";
		if (document.getElementById("companyname").value == "") strError = strError + "Company Name not entered \n";
		if (document.getElementById("zipcode").value == "") strError = strError + "Zip/Postal code not entered \n";
		if (document.getElementById("phone").value == "") strError = strError + "Phone Number not entered \n";
		if (document.getElementById("custentity7")) {
			if (document.getElementById("custentity7").length) {
				if (document.getElementById("custentity7").selectedIndex == -1 || document.getElementById("custentity7").selectedIndex == 0) {
					strError = strError + "How you heard about us not selected \n";
				}
			}
		}
		document.getElementById("redirect").value = "http://www.towerstream.com/ziplookup.asp?zipcode=" + document.getElementById("zipcode").value + "&inforeq=1";
		strMsg = "The following errors were found:";
		if (!strError == "") {
			alert(strMsg + "\n\n" + strError); 
			return false;		
		}
		else {
			document.getElementById("img_submit").disabled = true;
			return true;	
		}
	}
	
	function check_channel() {
    		
	    var strError = "";
	    if (document.getElementById("name").value == "") strError = strError + "Name not entered \n";
	    if (document.getElementById("company").value == "") strError = strError + "Company not entered \n";	
	    if (document.getElementById("email").value == "") strError = strError + "Email not entered \n";	
	    if (document.getElementById("phone").value == "") strError = strError + "Phone not entered \n";	
	    strMsg = "The following errors were found:";
	    if (!strError == "") {
		    alert(strMsg + "\n\n" + strError); 
		    return false;		
	    }
	    else {
		    document.getElementById("img_submit").disabled = true;
		    return true;	
	    }
    }
