if(document.images){
	alumni_on = new Image();      
	alumni_on.src = "images/alumni_over.gif";
	
	alumni_off = new Image();      
	alumni_off.src = "images/alumni_off.gif"; 
	
	about_on = new Image();      
	about_on.src = "images/about_over.gif";
	
	about_off = new Image();      
	about_off.src = "images/about_off.gif"; 
	
	calendar_on = new Image();      
	calendar_on.src = "images/calendar_over.gif";
	
	calendar_off = new Image();      
	calendar_off.src = "images/calendar_off.gif"; 
	
	contact_on = new Image();      
	contact_on.src = "images/contact_over.gif";
	
	contact_off = new Image();      
	contact_off.src = "images/contact_off.gif"; 
	
	current_on = new Image();      
	current_on.src = "images/current_over.gif";
	
	current_off = new Image();      
	current_off.src = "images/current_off.gif"; 
	
	fellowship_on = new Image();      
	fellowship_on.src = "images/fellowship_over.gif";
	
	fellowship_off = new Image();      
	fellowship_off.src = "images/fellowship_off.gif"; 
	
	governing_on = new Image();      
	governing_on.src = "images/governing_over.gif";
	
	governing_off = new Image();      
	governing_off.src = "images/governing_off.gif"; 
	
	home_on = new Image();      
	home_on.src = "images/home_over.gif";
	
	home_off = new Image();      
	home_off.src = "images/home_off.gif"; 
	
	}
	
	
	
	function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "_on.src");
        }
	}
	
    function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "_off.src");
        }
	}
	
	
function openPop(date,title,name,url) {
phead='';
phead += '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'
phead += '<html><head>'
phead += '<title>Columbia University Society of Fellows in the Humanities</title>'
phead += '<script src="lib.js" type="text/javascript"></script>'
phead += '<link rel="stylesheet" type="text/css" href="main.css">'
phead += '</head>'

pbody='';
pbody += '<body bgcolor="#ffffff"  topmargin="0" marginheight="0" leftmargin="0" marginwidth="0">';
pbody += '<table cellpadding="5" cellspacing="0" border="0" width="100%">';
pbody += '<tr>';
pbody += '<td valign="top" align="right">';
pbody += '<a href="#" onclick="self.close()">close</a>';
pbody += '</td>'
pbody += '</tr>'
pbody += '</table>'
pbody += '<table cellpadding="5" cellspacing="0" border="0" width="100%">';
pbody += '<tr>';
pbody += '<td valign="top">'
pbody += '<p><span class="titletext">Society of Fellows Lectures</span><br>'
pbody += '<span class="smalltext">'+date+'</span><br><br>';
pbody += '<b>'+name+'</b><br>'
pbody += title+'</p>';
//pbody += '<a href="'+url+'" onclick="window.opener.location.replace(\''+url+'\'); return false">'+url+'</a>';
pbody += '</td>'
pbody += '</tr>'
pbody += '</table>'
pbody += '</body></html>'

winleft = (screen.width / 2) + 200;
wintop = (screen.height / 2) - 200;
props="width=350,height=200,left="+winleft+",top="+wintop;
pwin=window.open('','pwin',props);
pwin.focus();
pwin.document.open();
pwin.document.write(phead+pbody);
pwin.document.close();

}
