");
document.write("");
} }
function textmenu() {
if (menutype=="text") {
document.write('

');
document.write('');
document.write('Home
');
document.write('Faculty
');
document.write('Courses
');
document.write('Graduate Program
');
document.write('Undergrad. Program
');
document.write('News & Events
');
document.write('Directory
');
document.write('History of Dept.
');
document.write('Online Resources
');
document.write('Contact Us
');
document.write('Search
');
document.write(''); } }
var scrwidth, scrheight, mbrowser, mversion, mie3;
function checkbrowser() {
if (navigator.appName=="Netscape") mbrowser="ns";
else mbrowser="ie";
mversion=parseInt(navigator.appVersion);
if (mbrowser=="ie" && mversion<4) mie3="yes";
else mie3="no";
return true }
function getwidth() {
scrwidth=400;
scrheight=300;
if (mbrowser=="ns" && mversion>3)
{scrwidth=innerWidth;
scrheight=innerHeight; }
if ((mbrowser=="ns" && mversion==3) && navigator.javaEnabled())
{ var toolkit = java.awt.Toolkit.getDefaultToolkit();
var screen_size = toolkit.getScreenSize();
scrwidth = screen_size.width;
scrheight=screen_size.height; }
if (mbrowser=="ie" && mie3=="no")
{ scrwidth=window.screen.availWidth;
scrheight=window.screen.availHeight; }
return true }
function ponclickchk(thisform,mnostuds) {
if (thisform.selectall.checked) {
for (var i = 0; i < mnostuds; i++) {
thisform.chk[i].checked=true; } }
else {
for (var i = 0; i < mnostuds; i++) {
thisform.chk[i].checked=false; } } }
function checkform(thisform,mnostuds) {
checkbrowser();
getwidth();
var nonames=0;
var memail="";
for (var i = 0; i < mnostuds; i++) {
if (thisform.chk[i].checked)
{ nonames=nonames+1;
if (memail.length==0) memail=thisform.chk[i].value;
else memail=memail+","+thisform.chk[i].value;
} }
if (memail.length==0) alert("No names were selected.");
else {
if (nonames==1) nonamestxt="selected student?";
else nonamestxt=nonames+" selected students?";
var mbegin = "Send E-Mail"
if (memail.length>450)
{ var mend1 = "Because of limitations in Web pages, the number of students you have selected is too large to send an e-mail directly. To get around this limitation, highlight the e-mail addresses below, copy them, and then paste them into the salutation of your e-mail message.
";
var mend2 = '
';
var mleft=((scrwidth-138)/2)+138-225;
var mtop=(scrheight/2)-175;
windowprops = "menubars=no,location=no,toolbars=no,scrollbars=no,width=450,height=350,left="+mleft+",top="+mtop; }
else {
var mend1 = "Send e-mail to the "+nonamestxt+"
";
var mend2 = "
