

var theMonths= new Array("September 2004","October", "November")
numPrograms=theMonths.length

var theDates = new Array(
"Wednesday, September 15, 2004",
"Wednesday, October 20, 2004",
"Wednesday, November 17, 2004"
//"Wednesday, December 15, 2004"
)

var theSpeakers = new Array(
"Kendall Somers",
"Daniel Klem, Jr.",
"Greg Inskip"
//"DOS Special Event: Ornithological Moments"
)

var theTitles = new Array(
"The Status of the Heronry at Pea Patch Island",
"Glass: A Bird Conservation Issue",
"A History of Ornithology in Delaware"
)

var theText = new Array(
	"Ms Somers, a field biologist for DNREC, Division of Parks & Recreation, will address various aspects "+
		"of the Division of Parks and Recreation's management of "+
		"the Pea Patch Island heronry, including historical and current population estimates,  an update "+
		"on the current research in the heronry, and heronry management issues such as invasive species and "+
		"mammal control.",
	"Clear and reflective sheet glass poses an invisible threat to wild birds worldwide. Indiscriminant "+
		"killers, windows claim species from the most abundant to the rare, threatened, and endangered. Sheet "+
		"glass appears to be a growing source of avian mortality and a suspected contributor to overall bird "+
		"population declines. Preventing these unintended fatalities requires education in preventive techniques, "+
		"regulation of the installation of glass in buildings, and enforcement of existing legislation to protect "+
		"wild birds.<br><br>Dr. Klem is The Sarkis Acopian Professor of Ornithology and Conservation Biology in the department of Biology, "+
		"Muhlenberg College. He has been studying sheet glass as an avian mortality factor and avian conservation "+
		"issue for over 30 years, and currently, "+
		"with the help of recent media publicity hopes to markedly enhance the effectiveness of his efforts to "+
		"save more bird lives and further help protect birds in general as a valuable natural resource the world "+
		"over. He believes he has validated evidence to document sheet glass as the single greatest killer of wild "+
		"birds with the one self-evident exception of habitat destruction, and he looks forward to sharing his reasons "+
		"and responding to your questions about this important conservation issue for birds and humans.",
	"Greg will trace the historical origins of  birding and ornithology in Delaware and comment on what " +
		"historical records reveal about Delaware bird life in earlier times." +
		"<br><br>Greg has been birding since 1959, when he was 7 years old.  He currently serves on the Board of " +
		"Directors of the <b>Delaware Nature Society</b> and the Board of Trustees of the <b>Delaware Museum " +
		"of Natural History</b>.  In addition, he assisted with legal issues surrounding the writing and " +
		"publication of <i>Birds of Delaware</i>, and is an ccasional contributor  to <i>Delmarva Ornithologist</i>."
		)


//======================
//  Functions
//======================

function showProg(tab) {
	hideallProg();
    if (browser == ie) {document.all[tab].style.display = "block"}
    else if (document.getElementById) {document.getElementById(tab).style.display = "block";}
    else if (browser == netscape) {document.layers[tab].display = "block"; }
    }
function hideProg(tab) {
    if (browser == ie) {document.all[tab].style.display = "none";}
    else if (document.getElementById) {document.getElementById(tab).style.display = "none";}
    else if (browser == netscape) {document.layers[tab].display = "none"; }
    }

function hideallProg() {
		for (var i = 0; i < numPrograms; i++) {
				theTab="tab"+i
				hideProg(theTab);
		}
		hideProg("alltab")
}

function writeContent() {

	if(browser==ie){
		// Write content for the single tables
		for(i=0;i<numPrograms;i++){
			document.write("<table id='tab"+i+"' cellspacing=0 cellpadding=0 width='75%' align='center' class='dostext'>")
			//ROW 1
			document.write("<tr><td><table cellpadding=2><tr>")
			for(j=0;j<theMonths.length;j++){
				document.write("<td height='30ems'><a href='#' class='doslink' onClick='showProg(\"tab"+j+"\")'>")
				if(j==i)document.write("<font color='#ee0055'>")
				else document.write("<font color='#0000FF'>")
				document.write(theMonths[j]+"</font></a></td>")
				document.write("<td width=5 halign='center'>|</td>")
			}
			document.write("<td><a href='#' class='doslink' onClick='showProg(\"alltab\")'><font color='#0000FF'><b>Show All</b></font></a></td>")
			document.write("</tr></table></td></tr>")
			document.write("<tr><td bgcolor='#dddd88'><i>"+theDates[i]+"</i></td></tr>")
			document.write("<tr><td bgcolor='#eeeeaa'><BLOCKQUOTE><br><b>"+theSpeakers[i]+"<br><u>")
			document.write("<font color='#0000FF'>"+theTitles[i]+"</font></u></font></b></BLOCKQUOTE></td></tr>")
			document.write("<tr><td bgcolor='#eeeeaa'><BLOCKQUOTE>"+theText[i]+"</BLOCKQUOTE></td></tr></table>")
		}

	}
		// Write content for the composite table
		document.write("<table id='alltab' cellspacing=0 cellpadding=0 width='75%' align='center' class='dostext'>")
		//ROW 1
		document.write("<tr><td>")
		document.write("<table cellpadding=2><tr><td height='30ems'><a href='#' class='doslink' onClick='showProg(\"tab0\")'><font color='#0000FF'><b>[Show By Month]</b></font></a></td></tr></table>")
		document.write("</td></tr>")

		for(i=0;i<numPrograms;i++){
			document.write("<tr><td bgcolor='#dddd88'><i>"+theDates[i]+"</i></font></td></tr>")
			document.write("<tr><td bgcolor='#eeeeaa'><BLOCKQUOTE><br><b>"+theSpeakers[i]+"<br><u>")
			document.write("<font color='#0000FF'>"+theTitles[i]+"</font></u></font></b></BLOCKQUOTE></td></tr>")
			document.write("<tr><td bgcolor='#eeeeaa'><BLOCKQUOTE>"+theText[i]+"</BLOCKQUOTE></td></tr>")
		}
		document.write("</table>")

	hideallProg();



}


