function PDL_header(titleString) {
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
	document.write('<tbody>');
    document.write('<tr>');
	document.write('	<td  bgcolor="#000080" height="49">');
	document.write('      <p align="center"><font color="#ffffff"><span style="font-weight: 700;">');
	document.write('	<font style="font-size: 20pt;" face="Times New Roman">' + titleString + '</font></span></font></p>');
    document.write('  </td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('		<td  bgcolor="#000000" height="8">');
	document.write('		</td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td  bgcolor="#808080" height="4">');
	document.write('		</td>');
	document.write('	</tr>');
	// Shankar: I don\'t know why this extra <tr> block is needed, but it is 	
	document.write('	<tr>');
	document.write('	</tr>');
	document.write('	</tbody>');
	document.write('</table>');
	document.write('<br>');
}

function PDL_menu_item(itemName, itemURL) {
	document.write('			<tr>');
	document.write('				<td style="text-align: center; height: 55px; background-color: rgb(0, 0, 128);">');
	document.write('				<span style="font-variant: small-caps;"><b>');
	document.write('				<font style="font-size: 13pt;" color="#ffffff" face="Times New Roman">');
	document.write('				<a href="' + itemURL + '" style="text-decoration: none"><span style="text-decoration: none;">');
	url = document.URL;
	if (url.match(itemURL) == itemURL) 
		{ document.write('				<font color="#ffff00">' + itemName + '</font></span></a></font></b></span></td>'); }
	else  { document.write('				<font color="#ffffff">' + itemName + '</font></span></a></font></b></span></td>'); }
	document.write('			</tr>');
}

function PDL_menu() {
	var i,args;
	args=PDL_menu.arguments; 
	var modDate = new Date();
	var modYear = modDate.getYear();
if(modYear<1000) modYear+=1900;
	var menuHeight = (args.length /2)*62 + 1;
document.write('<div id="left">');	
document.write('	      <table style="background-color: rgb(0, 0, 0); width: 99%; height: '+ menuHeight +'px;" id="table1" border="2">');
document.write('			<tbody>');
	for(i=0; i<(args.length /2); i++)
		PDL_menu_item(args[2*i], args[2*i+1]);
document.write('        	</tbody>');
document.write('      	  </table>');
document.write('      <p align="left"><img src="/logos/UIUC_logo.gif" align="left" border="0" height="75" width="65"></p>');
document.write('      <p align="left">&nbsp;</p>');
document.write('      <p style="text-align: center;"><font face="Times New Roman" size="2"> &copy; '+ modYear +'&nbsp;&nbsp;<br>');
document.write('University of Illinois</font></p>');
document.write('      <p style="text-align: center;"><img style="width: 150px; height: 149px;" alt="" src="/logos/Color_PDL_FINAL_outlined.png"></p>');
document.write('</div>');	
}

function PDL_footer()
{
var modDate = new Date(document.lastModified)
var modYear = modDate.getYear()
if(modYear<1000) modYear+=1900
document.write('<hr />');
document.write('<p align="right"><i>Last modified: ' + 
	(modDate.getMonth()+1) + '/' + modDate.getDate() + '/' + modYear + '</i></p>');
}