function MaleWho(sName,sDom) { return "mailto:" + sName + "@" + sDom; }

function MaleWhoSchReq(push,smash) {
	return "mailto:" + push + "@" + smash +"?subject=Schedule Request: "+"&body=Please do not erase the text in the Subject line, but you may enter text after it."; }


function ClickWho(sName) { return "Click here to e-mail " + sName;}

function turnImgOn(imgtagName) {imgtagName.src = "./images/buttonOn.jpg";}

function turnImgOff(imgtagName,i)
 {
  if (i == "1")
   imgtagName.src = "./images/button01.jpg";
  if (i == "2")
   imgtagName.src = "./images/button02.jpg";
  if (i == "3")
   imgtagName.src = "./images/button03.jpg";
  if (i == "4")
   imgtagName.src = "./images/button04.jpg";
  if (i == "5")
   imgtagName.src = "./images/button05.jpg";
  if (i == "6")
   imgtagName.src = "./images/button06.jpg";
  if (i == "7")
   imgtagName.src = "./images/button09.jpg";
  if (i == "8")
   imgtagName.src = "./images/button08.jpg";
  if (i == "9")
   imgtagName.src = "./images/button09.jpg";
  if (i == "10")
   imgtagName.src = "./images/button10.jpg";
 }

function setCalendar()
 {
  theDate= new Date();
  if (theDate.getMonth() == 0 ) 
  {   strHREF = "href=\"./cas_calendar.htm#january\" ";  }
  if (theDate.getMonth() == 1 ) 
  {   strHREF = "href=\"./cas_calendar.htm#february\" ";  }
  if (theDate.getMonth() == 2 ) 
  {   strHREF = "href=\"./cas_calendar.htm#march\" ";  }
  if (theDate.getMonth() == 3 ) 
  {   strHREF = "href=\"./cas_calendar.htm#april\"  ";  }
  if (theDate.getMonth() == 4 ) 
  {   strHREF = "href=\"./cas_calendar.htm#may\" ";  }
  if (theDate.getMonth() == 5 ) 
  {   strHREF = "href=\"./cas_calendar.htm#june\"  ";  }
  if (theDate.getMonth() == 6 ) 
  {   strHREF = "href=\"./cas_calendar.htm#july\" ";  }
  if (theDate.getMonth() == 7 ) 
  {   strHREF = "href=\"./cas_calendar.htm#august\" ";   }
  if (theDate.getMonth() == 8 ) 
  {   strHREF = "href=\"./cas_calendar.htm#september\" ";  }
  if (theDate.getMonth() == 9 ) 
  {   strHREF = "href=\"calendars.htm#october\" ";  }
  if (theDate.getMonth() == 10 ) 
  {    strHREF = "href=\"calendars.htm#november\" ";  }
  if (theDate.getMonth() == 11 ) 
  {   strHREF = "href=\"calendars.htm#december\" "; }
   document.write ('<A onmouseover=turnImgOn(td_img2) onmouseout=turnImgOff(td_img2,2) ' + strHREF + ' >'); 
   document.write ('<IMG alt=\"Display the activities calendar\" src=\"./images/button02.jpg\" height=45 width=45 useMap=#Map2 border=0 name=td_img2></a>');
   document.write ('<TD width=135><A class=buttonLink onmouseover=turnImgOn(td_img2) onmouseout=turnImgOff(td_img2,2) ' + strHREF + '  > Calendar of Events</a></TD>');
 }

function setImgSize(imgtagName)
 {
    imgtagName.height=35;
    imgtagName.width=35;
 }

/* get this month and jump to the label */
function getMonthJump()
 {
  theDate= new Date();
  Month = theDate.getMonth();
  if (Month == 0 ) 
  {   strHREF = "cas_calendar.htm#january";  }
  if (Month == 1 ) 
  {   strHREF = "cas_calendar.htm#february";  }
  if (Month == 2 ) 
  {   strHREF = "cas_calendar.htm#march";  }
  if (Month == 3 ) 
  {   strHREF = "cas_calendar.htm#april";  }
  if (Month == 4 ) 
  {   strHREF = "cas_calendar.htm#may";  }
  if (Month == 5 ) 
  {   strHREF = "cas_calendar.htm#june";  }
  if (Month == 6 ) 
  {   strHREF = "cas_calendar.htm#july";  }
  if (Month == 7 ) 
  {   strHREF = "cas_calendar.htm#august";   }
  if (Month == 8 ) 
  {   strHREF = "cas_calendar.htm#september";  }
  if (Month == 9 ) 
  {   strHREF = "cas_calendar.htm#october";  }
  if (Month == 10 ) 
  {    strHREF = "cas_calendar.htm#november";  }
  if (Month == 11 ) 
  {   strHREF = "cas_calendar.htm#december"; }
  return strHREF;
 }

/* go to the months label */
function jumpy()
{
 go_to = getMonthJump();
 window.location = go_to;
}