// For the InternetDirectory.cfm file:
// Function takes in the index from the PBDirectory dynamically and opens the email.cfm form.
//  <a href="javascript:email(#id#)">#Trim(fname)# #trim(lname)#</a>

// For the InternetDirectory2.cfm file:
// Function takes in the index from the PBDirectory dynamically and opens the email.cfm form.
//  <a href="javascript:email(#id#)">#trim(lname)#, #Trim(fname)#</a>


// For other Non-Dynamic Pages:
// Function is opened with the index hard-coded into the link.
//   <a href="javascript:email(30)">Randal Kangas</a>
//   <a href="javascript:email(22)">Linda Meyer</a>
//   <a href="javascript:email(16)">Jo Menacher</a>
//   <a href="javascript:email(20)">Kristen Travis</a>
//   <a href="javascript:email(41)">Tyler Fitch</a>
//   <a href="javascript:email(144)">Webmaster</a>


//  Each page that needs to call this function has this line in its head:
//  script language="javascript" src="images/spacer.gif"


function email ( number )
{
            window.open('/cfm/email.cfm?id='+number+'','_blank','toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}


