/* Hiding email addresses from spambots.  
   Even if they download this script, they won't see an address in it.
   They'd have to actually run the script (or have a human read it) to get the address, 
   something they are not likely to do. */

function ShowMail(whichMail,makeLink,linkText) {

/* To add or change an address, follow the examples below
   Break the username (the part before the "@" into two pieces
   and break the domain name (the part after the "@" into
   two pieces.  Add the second half of the domain name to 'domain2',
   the first half of the domain name to 'domain 1',
   the second half of the username to 'name2' and the first half of
   the username to 'name1'.

   When calling ShowMail, the first parameter selects which address to
   use (0 being the first).  The second parameter is:
     0 to just display the address as text
     1 to display the address as a link
   The third parameter is the display text of the link (if any); if empty,
   the address itself is displayed.

   Addresses (as of 11-Sep-2010) are:
     0: info@denmanconservancy.org
     1: 
     2: 
     3: 
     4: 

   */


/*                          user 0     		user 1	user 2 	user 3	user 4	user 5*/
var domain2   = new Array ("conservancy.org", 	"", 	"",  	"", 	"", 	"");
var domain1   = new Array ("denman",  		"",  	"",   	"",  	"",  	"");
var name2     = new Array ("fo",    		"",   	"",     "",   	"",   	"") ;
var name1     = new Array ("in",   		"",    	"",  	"",   	"",    	"");
var protocol1 = "mai";
var protocol2 = "lto";
var protocol  = protocol1 + protocol2;
var link = name1[whichMail] + name2[whichMail] + String.fromCharCode(64) + domain1[whichMail] + domain2[whichMail];

if (makeLink==0) {
    document.writeln(link);
  } else {
    if (linkText=="") {
      document.writeln("<a href=\"", protocol, ":", link, "\">", link, "</a>");
    } else {
      document.writeln("<a href=\"", protocol, ":", link, "\">", linkText, "</a>");
    }
  }
}

// end of javascript

