function ShowMap(psValue, psAddress, psCity, psState, psPostalCode, psCountry){

	if(psValue == "none")
		return;
	
	if(psValue == "")
		psValue		= "googlemaps";

	if(psValue == "mapquest")
		window.open('http://www.mapquest.com/maps/map.adp?&address='+escape(psAddress)+'&city='+escape(psCity)+'&state='+escape(psState)+'&zipcode='+escape(psPostalCode),'_blank','width=700,height=550,left=10,top=10,status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=no');
	else if(psValue == "yahoo")
		window.open('http://maps.yahoo.com/py/maps.py?&addr='+escape(psAddress)+'&csz='+escape(psCity)+'%'+escape(psState)+'+'+escape(psPostalCode),'_blank','width=700,height=550,left=10,top=10,status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=no');
	else if(psValue == "googlemaps")
		window.open('http://maps.google.com/maps?q='+escape(psAddress)+'%2C%20'+escape(psCity)+'%20'+escape(psState)+'%20'+escape(psPostalCode),'_blank','width=700,height=550,left=10,top=10,status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=no');
	else
		window.open(psValue,'_blank','width=700,height=550,left=10,top=10,status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=no');

	}

function ShowSchools(psValue, psAddress, psCity, psState, psPostalCode, psCountry){

	if(psValue == "none")
		return;
	
	if(psValue == "")
		psValue		= "nces";


	if(psValue == "nces")
		window.open('http://nces.ed.gov/globallocator/index.asp?search=1&State='+psState+'&city='+psCity.toLowerCase()+'&zipcode='+psPostalCode+'&miles=&itemname=&sortby=name&School=1&PrivSchool=1&College=1&Library=1','_blank','width=700,height=550,left=10,top=10,status=no,toolbar=yes,menubar=yes,scrollbars=yes,resizable=no');
	else
		window.open(psValue,'_blank','width=700,height=550,left=10,top=10,status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=no');

	}
