// JavaScript Document

/********************************************************************************
   This function builds email addresses using a javascript array and setting
   Inner Html for hard coded div tags (id="dv#). Its purpose is to thwart Spam
   Harvesting Robots. Each div tag for email address must correspond with its array 
   number below. The function is used on other pages besides Contact Us, such as 
   Employment.htm, where only Cindy Clark's email is listed, so we test with an if, 
   because only dv9 is used on that page. 
*********************************************************************************/
<!-- 
function emailStr ()
{
var arEmail = new Array();
arEmail[0] = "Rbradley";
arEmail[1] = "Cmoran";
arEmail[2] = "Nkarpow";
arEmail[3] = "Rbradley";
arEmail[4] = "..."; /* Formerly Ncallantine, left company, preserved space for future employee  */
arEmail[5] = "Surban";
arEmail[6] = "Ggreen";
arEmail[7] = " "; /* Garyeparks@aol.com, not crowder address so left blank, real links pages */
arEmail[8] = "Mdellecker";
arEmail[9] = "Cclark";

var divVar = "";

for (i=0;i<arEmail.length;i++)
{
divVar = "dv" + parseInt(i);
if(document.getElementById(divVar))
{
document.getElementById(divVar).innerHTML = '<A class="NoUnderline" href="mailto:' + arEmail[i] + '@crowderjr.com' + '">' + arEmail[i] + '@crowderjr.com' + '</a>';
}
}

}
//-->


