/*
This script was written by Bernard Pegis (pegisbt@slu.edu) 4/20/00
Feel free to use and/or comment on it.  If you use it, credit 
(in a comment like this) is requested.
*/
links=new Array;
i=0;
function shortcut(name, link, desc)
	{
	this.name=name
	this.link=link
	if (shortcut.arguments.length==2)
		{this.desc=this.name}
	else
		{this.desc=desc}
	}
function putlink(followup)
	{
	document.write("      <a href=");
	document.write("\""+links[i].link+"\"");
	document.write(" onmouseover=\"window.status=\'"+links[i].desc+"\' ; return true\" onmouseout=\"window.status=\'AMDG\' ; return true\">");
	document.writeln(links[i].name+"</a>"+followup);
	i++;
	}
// links[0]=new shortcut("Picnic Directions","images/picnic.jpg")
links[0]=new shortcut("<img src=images/new.gif border=0><big><b>Maps & Directions to Hospitals</b></big><img src=images/new.gif border=0>","hospitals/index.html");
links[1]=new shortcut("<img src=images/smile.gif border=0>Boards Study Stuff<img src=images/smile.gif border=0>","classmaterial.html#boards","Boards Study Stuff");
// links[2]=new shortcut("Directions to new St. Louis USMLE Site","http://www.tripquest.com/cgi-bin/mqtrip?link=btwn%2Ftwn-ddir_na_basic_main&reset=reset&uid=u7xdb7b8gb73lcze%3Abx9yrlh02&tq_source=expr&ADDR_ORIGIN=1402+S.+Grand+Blvd&CITY_ORIGIN=St.+Louis&STATE_ORIGIN=MO&OCC=US&ADDR_DESTINATION=400+Brookes+Dr&CITY_DESTINATION=Hazelwood&STATE_DESTINATION=MO&DCC=US&dir=Get+Directions");
// links[2]=new shortcut("ICM","classmaterial.html#icm","Intro to Clinical Medicine");
links[2]=new shortcut("List of Possible Grad Speakers","grad_speakers_2002.html");
// links[4]=new shortcut("List of Internal Med Interest Group Doctors","im/index.html");
// links[5]=new shortcut("USMLE survey results for our class","survey/minisurveyresults.html");

document.writeln("<table BORDER >")
document.writeln("  <tr>")
document.writeln("    <td ALIGN=CENTER>")
document.writeln("      <b><font size=-2>Website Shortcuts</font></b>")
document.writeln("    </td>")
document.writeln("  </tr>")
document.writeln("  <tr>")
document.writeln("    <td ALIGN=CENTER>")
document.writeln("      <font size=-2>")
putlink("<br>")
putlink("<br>")
putlink("<br>")
document.writeln("      </font>")
document.writeln("    </td>")
document.writeln("  </tr>")
document.writeln("</table>")
