function PrintMailtoInline(user,namestring)
{

<!-- function PrintMailtoInline(user, namestring) -->
<!--   to use with another domain, edit the domain variable below -->
<!--   it is not passed as an argument to distance it from the email address, as an -->
<!--   anti-spam measure. -->

<!-- reference this script in the source .html or .php file with -->
<!--  	<script src="scripts/PrintMailAddr.js" language="JavaScript" type="text/javascript"></script> -->
<!-- in the <head> section

<!-- call this function in the body of your web file with: -->
<!-- <script language="JavaScript" type="text/javascript">PrintMailtoInline("realemail","Link Name");</script> -->
<!-- where "realemail" is the true left-hand side of the person's email address at the domain set below in $domain -->
<!--  and "Link Name" is the name that will appear in underlined as the mailto link on the web page -->

	var domain = "qualsearch.com";

<!-- each user whose email appears multiple times in the site -->
<!--   should have a case statement below -->
<!--   For users who don't have their own case, we'll print the user name and namestring -->
<!--   exactly as passed. -->

	switch ( user) {	
	
	case "jobs":
		document.write('<a href=\"mailto:' + 'jobs'+ '@' + domain + '\">');
		document.write(namestring + '@' + domain + '</a>');
		break;

	case "info":
		document.write('<a href=\"mailto:' + 'info'+ '@' + domain + '\">');
		document.write(namestring + '@' + domain + '</a>');
		break;

	case "admin":
		document.write('<a href=\"mailto:' + 'admin'+ '@' + domain + '?subject=Suggest A Link' + '\">');
		document.write(namestring + '</a>');
		break;
	
	default:
		document.write('<a href=\"mailto:' + user + '@' + domain + '\">');
		document.write(namestring + '@' + domain + '</a>');
	} // switch
}
