<!--
document.write('<span class="smallb"><br>Search Site:</span>');
document.write('<INPUT TYPE="HIDDEN" NAME="id" SIZE="-1" VALUE="4532186">');
document.write('<INPUT TYPE="HIDDEN" NAME="pid" SIZE="-1" VALUE="r">'); 
document.write('<INPUT TYPE="HIDDEN" NAME="mode" SIZE="-1" VALUE="ALL">');
document.write('<INPUT NAME="query" SIZE="10"> ');
document.write('<input type="image" name="submit" src="/go.gif"></form><span class="smallb">Browse by<br> last name:</span><br>');

var thischar;
document.write('<span class="smallb">');
var counter = 6;
for (var j=65;j<91;j++){
	thischar = String.fromCharCode(j);
	document.write('&nbsp;<a href="/asp/topicindex/topicindex2.asp?qval=' + thischar)
	document.write('">' + thischar + '</a> ');
		
	if((j - 64) % counter == 0){
		document.write('<br>');
		counter = counter + 5;}
}

document.write ('<br><form name="calendar">');
	

CreateCalDrops();
document.write ('<br>By Date &nbsp;<a href="javascript:submitMe()"><img src="/go.gif" border="0"></a><br>');
document.write ('</form>');

function CreateCalDrops(){
	CreateMonthDD();
	CreateDayDD();

}

function SetDefaultDate(){

	todaysdate = new Date();
	date  = todaysdate.getDate();
	day  = todaysdate.getDay() + 1;
	month = todaysdate.getMonth() + 1;
	yy = todaysdate.getYear();
	
	alert(month + '/' + date);
}
	

function CreateMonthDD(){

	var selected;

	todaysdate = new Date();
	theMonth = todaysdate.getMonth();

	document.write ('<select name="month" onChange="changeDaySelection()">');
	
	var m = "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec";
	var sep = ",";
	var month = m.split(sep);
	for (var i=0; i < month.length; i++)
		{
		if (i == theMonth)
			selected = ' selected ';
		else
			selected = '';

		document.write ('<option value="' + (i + 1) + '" ' + selected + '>' + month[i]);
		}
		
	document.write ('</select>');
}

function CreateDayDD(){

	var selected;

	todaysdate = new Date();
	date  = todaysdate.getDate();
	
	//month = todaysdate.getMonth() + 1;
	
	document.write ('<select name="day">');
	
	for (var day=1; day <= 31; day++)
		{

		if(date == day)
			selected = 'selected ';
		else
			selected = '';

		document.write ('<option value="' + day + '" ' + selected + '>' + day);
		}

		
	document.write ('</select>');
}
	
function submitMe() {
	month = (document.calendar.month.options[document.calendar.month.selectedIndex].value);
	day = (document.calendar.day.options[document.calendar.day.selectedIndex].value);
	//document.write ('HERE: ' + month + day);
	window.location.href = "/asp/displayByDate/displayByDate.asp?month=" + month + "&day=" + day;

}

function changeDaySelection(){

	month=(document.calendar.month.options[document.calendar.month.selectedIndex].value);

	if (month==2) {

	document.calendar.day.length=29;

	}
	else if ((month==4) || (month==6) || (month==9) || (month==11)){

	document.calendar.day.length=30;
	document.calendar.day.options[29].text=("30");
	document.calendar.day.options[29].value=30;

	}
	else {

	document.calendar.day.length=31;
	document.calendar.day.options[29].text=("30");
	document.calendar.day.options[29].value=30;
	document.calendar.day.options[30].text=("31");
	document.calendar.day.options[30].value=31;

	}

}
document.write('</span>');
document.write('</td></tr>');
document.write('</table><!-- end Holding table --></td><td valign="top"width="601"><p class="quote">');
// -->