	function check_email(e) {
		ok = "1234567890qwertyuiop[]asdfghjklzxcvbnm.@-_QWERTYUIOPASDFGHJKLZXCVBNM";
		for(i=0; i < e.length ;i++){
			if(ok.indexOf(e.charAt(i))<0){ 
				return (false);
			}	
		} 
		if (document.images) {
			re = /(@.*@)|(\.\.)|(^\.)|(^@)|(@$)|(\.$)|(@\.)/;
			re_two = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
			if (!e.match(re) && e.match(re_two)) {
				return (-1);		
			} 
		}
	}

	function check_form(f) {
	if(f.name.value.length < 1){
		alert("Please complete or check your email address");
		f.name.focus(); 
		if(document.all || document.getElementByID){
			f.name.style.background = "yellow";
		}
		return false;
	}

	if(!check_email(f.email.value)){
		alert("Please complete or check your email address");
		f.email.focus(); 
		if(document.all || document.getElementByID){
			f.email.style.background = "yellow";
		}
		return false;
	}
}
				    function showOtherOption(dropDown){
			   			var dIndex=dropDown.selectedIndex;
			   			var selValue=dropDown.options[dIndex].value;
				   		var fname = "hearOther";
						var fld = document.getElementById(fname);
			   			if(selValue=="Other"){						  			
							fld.style.display="block"	;
			   			}
			   			else{
							fld.style.display="none"	;
						}
			   		}
					  function showOtherOptionCheck(chk, fname){
					 
			   		var fld = document.getElementById(fname);
			   		if(chk.checked == 1){						  			
						fld.style.display="block"	;
			   		}
			   		else{
						fld.style.display="none"	;
					}
			   }

