//jquery
$(document).ready(function() {
	 
	 
	 })
 
	//end jquery					  
						  
						  

//popup
function popitup(url) {
	newwindow=window.open(url,'name','height=600,width=450');
	if (window.focus) {newwindow.focus()}
	return false;
}
     	
//check for email validity. make sure the ID of the element has a corresponding ID called thing_e which is the span with the error in it.
function isEmail(obj) {
var field = document.getElementById(obj);
var fieldMsg = document.getElementById(obj+'_e');
	if (  
		field.value.indexOf ('@', 1) == -1 ||
		field.value.indexOf ('.', 3) == -1) 
	{
		Effect.Appear(fieldMsg);
		return false;
	} 
	else
	{
		
		Effect.Fade(fieldMsg);
		return (true);
	} 
}

