function bad() 		{ document.write('<a href="http://www.utbtsc.edu/">Business Affairs</a>'); };
function bad_erc() 	{ document.write('<a href="http://www.utbtsc.edu/web/erc">Employee Recognition Committee</a>'); };
function bo()		{ document.write('<a href="http://www.utbtsc.edu/busoff">Business Office</a>'); };
function bo_loan_plan()	{ document.write('<a href="http://www.utbtsc.edu/bo/eloan/">Loans and Plans</a>'); };
function bo_eloan()	{ document.write('<a href="http://www.utbtsc.edu/bo/eloan/information.htm">Emergency Loan</a>'); };
function bo_install() { document.write('<a href="http://www.utbtsc.edu/bo/installment">Installment Plan</a>'); };
function bo_payroll()	{ document.write('<a href="http://www.utbtsc.edu/bo/payroll">Payroll</a>'); };
function fbmc()		{ document.write('<a href="http://www.utbtsc.edu/jacobbrown">Fort Brown Memorial Center</a>'); };
function hr()		{ document.write('<a href="http://www.utbtsc.edu/hr">Human Resources</a>'); };
function hr_edp()	{ document.write('<a href="http://www.utbtsc.edu/hr/edp/">Employee Development Program</a>'); };
function hr_bene() 	{ document.write('<a href="http://www.utbtsc.edu/hr/benefits">Benefits</a>'); };
function hr_bene_fmla()	{ document.write('<a href="http://www.utbtsc.edu/hr/benefits/fmla">FMLA</a>'); }; 
function hr_comp() 	{ document.write('<a href="http://www.utbtsc.edu/hr/compensation">Compensation</a>'); };
function hr_tuition() 	{ document.write('<a href="http://www.utbtsc.edu/hr/tuition">Tuition Assistance</a>'); };
function hr_well()	{ document.write('<a href="http://www.utbtsc.edu/hr/wellness">Wellness Program</a>'); };
function pur()	{ document.write('<a href="http://www.utbtsc.edu/purchasing">Purchasing</a>'); };
function pur_travel()	{ document.write('<a href="http://www.utbtsc.edu/purchasing/travel">Travel</a>'); };
function web_utb() { document.write('<a href="http://www.utb.edu">UTB/TSC</a>');};
function web_tuition() { document.write('<a href="http://www.utbtsc.edu/tpac">Tuition Policy Advisory Committee (TPAC)</a>');};
function spacer()	{ document.write(' :: '); };

document.write('<div id="navigation">');
switch (dept)
{
  case "bad":			{ bad();  break;  } 
  case "bad_erc":		{ bad(); spacer(); bad_erc(); break;  }
  case "bo":			{ bad(); spacer(); bo(); break; }
  case "bo_eloan":		{ bad(); spacer(); bo(); spacer(); bo_loan_plan(); spacer(); bo_eloan(); break; }
  case "bo_install":	{ bad(); spacer(); bo(); spacer(); bo_loan_plan(); spacer(); bo_install(); break; }  
  case "bo_payroll":	{ bad(); spacer(); bo(); spacer(); bo_payroll(); break; }
  case "bo_eloan_install":		{ bad(); spacer(); bo(); break; }
  case "fbmc": 			{ bad(); spacer(); fbmc(); break; }  
  case "hr": 			{ bad(); spacer(); hr(); break; }
  case "hr_bene": 		{ bad(); spacer(); hr(); spacer(); hr_bene(); break; }
  case "hr_bene_fmla":	{ bad(); spacer(); hr(); spacer(); hr_bene(); spacer(); hr_bene_fmla(); break; }
  case "hr_comp": 		{ bad(); spacer(); hr(); spacer(); hr_comp(); break; }
  case "hr_edp": 		{ bad(); spacer(); hr(); spacer(); hr_edp(); break; }
  case "hr_tuition": 	{ bad(); spacer(); hr(); spacer(); hr_tuition(); break; }
  case "hr_well": 		{ bad(); spacer(); hr(); spacer(); hr_well(); break; }
  case "pur": 			{ bad(); spacer(); pur(); break; }  
  case "pur_travel": 	{ bad(); spacer(); pur(); spacer(); pur_travel(); break; }  
  case "web_tuition":	{ web_utb(); spacer(); web_tuition(); break; }
	default: bad(); break
}
document.write('</div>');


