function PropertyIcons_OnSave(){
	PropertyCart.RefreshInlineView();
}

var PropertyPrintManager;

function PropertyIcons_OnPrint(ID){
	PropertyPrintManager = new EstateWeb_Objects_PropertyPrintManager();
	PropertyPrintManager.PropertyReference = ID;
	PropertyPrintManager.ClassName = "printContainer";
	PropertyPrintManager.Container = "inner-container";
	PropertyPrintManager.CallbackFunction = "PropertyIcons_OnPrint_Callback";
	PropertyPrintManager.Open();
}

function PropertyIcons_OnPrint_Callback(){
	PropertyPrintManager.Close();
}

var PropertyCart = new EstateWeb_Objects_PropertyCartManager();


window.onload = function(){
	var point = new GLatLng(lat,lng); 
	var streetOverlay = new GStreetviewOverlay();
	var streetviewClient = new GStreetviewClient();
	streetviewClient.getNearestPanoramaLatLng(point, NearestPan);

	
}

function NearestPan(inPoint) {
		if (inPoint != null){
			var pnlStreetView = document.getElementById('pnlStreetView');
			if (pnlStreetView){
				pnlStreetView.style.display="block";
			}
		}
	}

