
/*	 
function protectmail(name, address, subject, link1) {
	document.write('<a class="email" href=mailto:' + name + '@' + address + '?subject=' + subject + '>' + link1 + '</a>');
	} 
 */
 

/*
 typ. usage:
 	<SCRIPT TYPE="text/javascript">
		sendmail('webmaster', 'carlisle', 'org', '[organizations_page_feedback]', 
		     ' Click to send changes and corrections to webmaster');
	</SCRIPT>
	
	or in head section:
	
	<script language="JavaScript" type="text/javascript">
 		<!-- // hide from old browsers	
		function sendmail(name, account, type, subject, prompt) {
			document.write('<img src="images/mail.jpg" alt="" width="40" height="20" border="0">&nbsp;');		
			document.write('<a class=\"email\" href=mailto:' + name + '@' + account + '.' + type + '?subject=' + subject + '>' + prompt + '</a>');
		}
		// -->
 	</script>		
	
 */
 function sendmail(name, account, type, subject, prompt) {
	document.write('<img src="images/mail.jpg" alt="" width="40" height="20" border="0">&nbsp;');		
	document.write('<a class=\"email\" href=mailto:' + name + '@' + account + '.' + type + '?subject=' + subject + '>' + prompt + '</a>');
	}

