
function checkEmail(){
  var email = document.getElementById("email");
  var email2 = document.getElementById("email2");
  
  if(email.value.indexOf("@") != "-1" && email.value.indexOf(".") != "-1")
  {
	   if(email.value != email2.value)
	   {
		alert("Your email address does not match: "+ email.value);
		return false;
	   }
	   else
	   {
	   return true;
	   }
   }
   else
   {
   	alert("Please be sure to enter in a proper email address.");
	return false;
   }	 
 
}

function  isSelected() {
  var buildsite = document.getElementById("buildsite");
  var makesite = document.getElementById("makesite");
  var none = document.getElementById("none");

	if(buildsite.checked == true || makesite.checked == true || none.checked == true) {
		return true
	} else {
	alert("Please make a selection.");
	return false;		
	}
} 



function doThing() {	
	waitTime = 30000;	
	setTimeout('noAd()', waitTime);
	}



function noAd() {

	var theElementStyle = document.getElementById('partners');
	
            {
            theElementStyle.style.display = "none";
            }	
	}


function showDiv(objectID) {
	var theElementStyle = document.getElementById(objectID);
	
            if(theElementStyle.style.display == "none")
            {
                theElementStyle.style.display = "block";
            }
            else
            {
                theElementStyle.style.display = "none";
            }
}

// USED IN WEB DESIGNERS HANDBOOK
function jumpToArticle()
{
	killersitesBox = document.navForm.navigation;
	destination = killersitesBox.options[killersitesBox.selectedIndex].value;
	if (destination) location.href = destination;
}




