var colleges = new Array();
    colleges['allcolleges']="All CUNY Colleges";
	colleges['u']="The University";
    colleges['b']="Baruch College";
    colleges['bmcc']="Borough of Manhattan Community College";
    colleges['bcc']="Bronx Community College";
    colleges['bc']="Brooklyn College";
    colleges['cc']="City College of New York";
    colleges['law']="City University School of Law";
    colleges['csi']="College of Staten Island";
    colleges['cba']="CUNY Baccalaureate Program";
    colleges['mhc']="Macaulay Honors College";
    colleges['gc']="Graduate Center";
    colleges['js']="Graduate School of Journalism";
    colleges['hcc']="Hostos Community College";
    colleges['hc']="Hunter College";
    colleges['jj']="John Jay College of Criminal Justice";
    colleges['kcc']="Kingsborough Community College";
    colleges['lg']="LaGuardia Community College";
    colleges['lc']="Lehman College";
    colleges['mec']="Medgar Evers College";
    colleges['nyc']="New York City College of Technology";
    colleges['qc']="Queens College";
    colleges['qcc']="Queensborough Community College";
    colleges['sps']="School of Professional Studies";
    colleges['bio']="Sophie Davis School of Biomedical Education";
    colleges['yc']="York College";
    
var disciplines = new Array();
	disciplines['alldisciplines']="All Disciplines";
    disciplines['nat']="Natural Sciences";
    disciplines['soc']="Social Sciences";
    disciplines['art']="Arts &amp; Humanities";
	
var boroughs = new Array();
	boroughs['allboroughs']="All Boroughs";
    boroughs['bk']="Brooklyn";
	boroughs['bx']="Bronx";
	boroughs['ma']="Manhattan";
	boroughs['qu']="Queens";
	boroughs['si']="Staten Island";
	
        
var collegeOrder = new Array("allcolleges","u","b","bmcc","bcc","bc","cc","law","csi","cba","mhc","gc","js","hcc","hc","jj","kcc","lg","lc","mec","nyc","qc","qcc","sps","bio","yc");
var disciplineOrder = new Array("alldisciplines","nat","soc","art");
var boroughOrder = new Array("allboroughs", "bk", "bx", "ma", "qu", "si");



function getParams() {
	var idx = document.URL.indexOf('?');
	var params = new Array();
	
	if (idx != -1) {
		var rest =  document.URL.substring(idx+1, document.URL.length);
		var pairs = rest.split('&');
		for (var i=0; i<pairs.length; i++) {
			nameVal = pairs[i].split('=');
			params[nameVal[0]] = nameVal[1];
  	 	}//end for
	}//end if
	return params;
}//end getParams()