function panToSomething(selectID) {
	// Get coordinates of building
	var coords=document.getElementById(selectID).value;
	//alert(coords);
	var commaPos=coords.indexOf(",");
	if (commaPos>-1) {
		var ZoomMultiplier=parent.mapframe.zm[parent.mapframe.currentZoom];
		var xBuilding=Math.round(Number(coords.substring(0,commaPos))*ZoomMultiplier);
		var yBuilding=Math.round(Number(coords.substring(commaPos+1,coords.length))*ZoomMultiplier);
		//alert(xBuilding);
		//alert(yBuilding);
		
		// Get offsets to position building in center of frame
		parent.mapframe.getMapSize();
		var xOffset=Math.round(parent.mapframe.mapWidth/2);
		var yOffset=Math.round(parent.mapframe.mapHeight/2);
		
		// pan to new position
		parent.mapframe.pan(xBuilding-xOffset,yBuilding-yOffset);
		
		// show locator icon
		parent.mapframe.document.getElementById("locator").style.left=(xBuilding-20)+"px";
		parent.mapframe.document.getElementById("locator").style.top=(yBuilding-20)+"px";
		parent.mapframe.document.getElementById("locator").style.visibility="visible";
		parent.mapframe.document.getElementById("locator").src="images/locator.gif";
		
		// reset other dropdowns
		if (selectID!="bldgSelect") document.getElementById("bldgSelect").selectedIndex=0;
		if (selectID!="featureSelect") document.getElementById("featureSelect").selectedIndex=0;
		if (selectID!="parkingSelect") document.getElementById("parkingSelect").selectedIndex=0;
		}
	}

