// JavaScript Document
/* 
add this code to the GATHER INFO SPECIFIC TO THE PAGE section of page:

$pageInfo['js'] = '<script type="text/javascript" src="/js/email.js"></script>';

and 

add this code where the email should appear:

<script type="text/javascript">displayE('name')</script> 

and

enter the domain details for the client below (lines 19 & 21)
*/

function displayE(whose,type){
var d = 'jmhpartnership';
var at = '@';
var tld = '.com';

switch(type){
case 'imghome':
	document.write('<a href="mailto:' + whose + at + d + tld + '"><img src="/img/h_email.gif" alt="Email Us at ' + whose + at + d + tld + '" class="rollover" /></a>');
	break;
case 'img':
	document.write('<a href="mailto:' + whose + at + d + tld + '"><img src="/img/email.gif" alt="Email Us at ' + whose + at + d + tld + '" class="rollover" /></a>');
	break;
case 'txt':
	document.write('<a href="mailto:' + whose + at + d + tld + '">' + whose + at + d + tld + '</a>');
	break;
}}