
<!-- hide
//toolbar code by Ryan Tofteland

//pre-load images
academics=new Image()
academics.src="http://www.cord.edu/images/sports/academics.gif";
academics2=new Image()
academics2.src="http://www.cord.edu/images/sports/academics2.gif";

admissions=new Image()
admissions.src="http://www.cord.edu/images/sports/admissions.gif";
admissions2=new Image()
admissions2.src="http://www.cord.edu/images/sports/admissions2.gif";

alum=new Image()
alum.src="http://www.cord.edu/images/sports/alumni.gif";
alum2=new Image()
alum2.src="http://www.cord.edu/images/sports/alumni2.gif";

stdt=new Image()
stdt.src="http://www.cord.edu/images/sports/students.gif";
stdt2=new Image()
stdt2.src="http://www.cord.edu/images/sports/students2.gif";

tool=new Image()
tool.src="http://www.cord.edu/images/sports/toolbar.gif";
toolac=new Image()
toolac.src="http://www.cord.edu/images/sports/academicsbar.gif";
toolad=new Image()
toolad.src="http://www.cord.edu/images/sports/admissionsbar.gif";
toolal=new Image()
toolal.src="http://www.cord.edu/images/sports/alumnibar.gif";
toolstudents=new Image()
toolstudents.src="http://www.cord.edu/images/sports/studentsbar.gif";

//variable representing latest mouseover
//default setting is blank menu bar
var globaltool = "default";

function rollon(dept)
//when mousing over, turns second button image on and resets other buttons, shows toolbar
{
    document.alumni.src = "http://www.cord.edu/images/sports/alumni.gif";
    document.admissions.src = "http://www.cord.edu/images/sports/admissions.gif";
    document.academics.src = "http://www.cord.edu/images/sports/academics.gif"; 
    document.students.src = "http://www.cord.edu/images/sports/students.gif";

     globaltool=dept;
     document.toolbar.src = "http://www.cord.edu/images/sports/" + dept + "bar.gif";
     if(dept=="alumni") document.alumni.src = "http://www.cord.edu/images/sports/alumni2.gif";
     else if(dept=="academics") document.academics.src = "http://www.cord.edu/images/sports/academics2.gif";     
     else if(dept=="admissions") document.admissions.src = "http://www.cord.edu/images/sports/admissions2.gif";
     else if(dept=="students") document.students.src = "http://www.cord.edu/images/sports/students2.gif";

}


function rolloff()
//resets toolbar and button after mouseoff
{
     document.toolbar.src = "http://www.cord.edu/images/sports/toolbar.gif";
     if(globaltool=="alumni") document.alumni.src = "http://www.cord.edu/images/sports/alumni.gif";
     else if(globaltool=="academics") document.academics.src = "http://www.cord.edu/images/sports/academics.gif";     
     else if(globaltool=="admissions") document.admissions.src = "http://www.cord.edu/images/sports/admissions.gif";
     else if(globaltool=="students") document.students.src = "http://www.cord.edu/images/sports/students.gif";
}


function toollink(position)
//generates link based on imagemap position and which map image is active
{
     if(position==1 && globaltool=="academics") window.location.href = "http://www.cord.edu/dept/registrar/catalog/cccatalog.html";
     else if(position==2 && globaltool=="academics") window.location.href = "http://www.cord.edu/dept/computing/faculty/classlist.html";
     else if(position==3 && globaltool=="academics") window.location.href = "http://www.cord.edu/dept/";
     else if(position==4 && globaltool=="academics") window.location.href = "http://www.cord.edu/dept/library/";
     else if(position==5 && globaltool=="academics") window.location.href = "http://www.cord.edu/dept/registrar/registrar.html";
     else if(position==1 && globaltool=="admissions") window.location.href = "http://www.cord.edu/dept/admissions/applicationform.html";
     else if(position==2 && globaltool=="admissions") window.location.href = "http://www.cord.edu/dept/finaid/";
     else if(position==3 && globaltool=="admissions") window.location.href = "http://www.cord.edu/dept/admissions/adminfoform.html";
     else if(position==4 && globaltool=="admissions") window.location.href = "http://www.cord.edu/dept/admissions/book/";
     else if(position==5 && globaltool=="admissions") window.location.href = "http://www.cord.edu/dept/admissions/visit/";
     else if(position==1 && globaltool=="alumni") window.location.href = "http://www.cord.edu/dept/c-400/";
     else if(position==2 && globaltool=="alumni") window.location.href = "http://www.cord.edu/dept/alumni/events/";
     else if(position==3 && globaltool=="alumni") window.location.href = "http://www.cord.edu/dept/dvlp/giving/";
     else if(position==4 && globaltool=="alumni") window.location.href = "http://www.cord.edu/dvlp-cgi-bin/guestbook.cgi";
     else if(position==5 && globaltool=="alumni") window.location.href = "http://www.cord.edu/dept/alumni/records/update.html";
     else if(position==1 && globaltool=="students") window.location.href = "http://www.cord.edu/dept/info/";
     else if(position==2 && globaltool=="students") window.location.href = "http://www.cord.edu/dept/computing/";
     else if(position==3 && globaltool=="students") window.location.href = "http://www.cord.edu/faculty";
     else if(position==4 && globaltool=="students") window.location.href = "http://www.cord.edu/dept/cool/";
     else if(position==5 && globaltool=="students") window.location.href = "http://www.cord.edu/dept/stuaffairs/programming/org.html";

}

// --><!-- HIDE 
function writeTool() 
{ 
var str = ""; 
str += "<!-- The toolbar code is generated from an external file. Please do not copy it directly into your page. For more info contact webmaster@cord.edu -->";
str += "<body bgcolor=#FFFFFF TOPMARGIN=\"0\" LEFTMARGIN=\"0\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\">";
str += "<table border=0 cellpadding=0 cellspacing=0>";
str += "	<tr>";
str += "		<td rowspan=4>";
str += "			<a href=\"#\" onmouseover=\"rolloff();\"><img src=\"http://www.cord.edu/images/sports/leftsmall.gif\" width=10 height=113 border=\"0\"></a></td>";
str += "		<td colspan=8>";
str += "			<a href=\"#\" onmouseover=\"rolloff();\"><img src=\"http://www.cord.edu/images/sports/concordiacollege.gif\" width=509 height=60 border=\"0\"></a></td>";
str += "		<td rowspan=4>";
str += "			<a href=\"#\" onmouseover=\"rolloff();\"><img src=\"http://www.cord.edu/images/sports/rightbar.gif\" width=13 height=113 border=\"0\"></a></td>";
str += "	</tr>";
str += "	<!--toolbar buttons and links, controlled by javascript-->";
str += "	<tr>";
str += "		<td>";
str += "			<a href=\"http://www.cord.edu/academic/\" onmouseover=\"rollon('academics');\"><img src=\"http://www.cord.edu/images/sports/academics.gif\" width=110 height=19 name=\"academics\" border=\"0\"></a></td>";
str += "		<td>";
str += "			<img src=\"http://www.cord.edu/images/sports/white1.gif\" width=19 height=19></td>";
str += "		<td>";
str += "			<a href=\"http://www.cord.edu/dept/admissions/\" onmouseover=\"rollon('admissions');\"><img src=\"http://www.cord.edu/images/sports/admissions.gif\" width=110 height=19 name=\"admissions\" border=\"0\"></a></td>";
str += "		<td>";
str += "			<img src=\"http://www.cord.edu/images/sports/white2.gif\" width=19 height=19></td>";
str += "		<td>";
str += "			<a href=\"http://www.cord.edu/dept/alumni/\" onmouseover=\"rollon('alumni');\"><img src=\"http://www.cord.edu/images/sports/alumni.gif\" width=110 height=19 name=\"alumni\" border=\"0\"></a></td>";
str += "		<td>";
str += "			<img src=\"http://www.cord.edu/images/sports/white3.gif\" width=19 height=19></td>";
str += "		<td>";
str += "			<a href=\"http://www.cord.edu/student\" onmouseover=\"rollon('students');\"><img src=\"http://www.cord.edu/images/sports/students.gif\" width=110 height=19 name=\"students\" border=\"0\"></a></td>";
str += "		<td>";
str += "			<img src=\"http://www.cord.edu/images/sports/white4.gif\" width=12 height=19></td>";
str += "	</tr>";
str += "	<tr>";
str += "		<td colspan=8>";
str += "		<!--image map javascript-->";
str += "			<img src=\"http://www.cord.edu/images/sports/toolbar.gif\" width=509 height=21 name=\"toolbar\" border=\"0\" usemap=\"#toolmap\"><map name=\"toolmap\"><area shape=\"rect\" coords=\"1,1,107,23\" href=\"JavaScript:toollink(1)\"><area shape=\"rect\" coords=\"108,1,204,23\" href=\"JavaScript:toollink(2)";
str += "\"><area shape=\"rect\" coords=\"205,1,311,23\" href=\"JavaScript:toollink(3)\"><area shape=\"rect\" coords=\"312,1,408,23\" href=\"JavaScript:toollink(4)\"><area shape=\"rect\" coords=\"409,1,508,23\" href=\"JavaScript:toollink(5)\"></map></td>";
str += "	</tr>";
str += "	<tr>";
str += "		<td colspan=8>";
str += "			<a href=\"#\" onmouseover=\"rolloff();\"><img src=\"http://www.cord.edu/images/sports/bottombar.gif\" width=509 height=13 border=\"0\"></a></td>";
str += "	</tr>";
str += "</table>";
str += "<!--end of toolbar-->";
str += "";
document.write(str); 
} 
//  --> 
