
		/********************************
		 site-specific functions
		********************************/

	function signupcheck(form) {
		rex = new RegExp(/^[a-zA-Z][\w\.-]*[a-zA-Z0-9]*@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/);
		if(!rex.test(form.email.value)) {
			alert('Please enter a valid email address');
			return false;
		} else
		return true;
	}


		/********************************
		 standard functions
		********************************/

		function showHide(obj) {
			if ( document.getElementById(obj).style.display=='' ) {
				document.getElementById(obj).style.display='none';
			} else {
				document.getElementById(obj).style.display='';
			}
		}
		function pop(thiss,url,width,height,params) {
			if(thiss!='')
				thiss.blur();
			p = params ? params : 'toolbar=no,width='+eval(width+20)+',height='+height+',directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=200,top=100,titlebar=no';
			win = window.open(url,'pop'+width+height,p);
			win.focus();
			return false;
			void(0);
		}

