var PropertyPrintManager;

function PropertyIcons_OnPrint(ID){
	PropertyPrintManager = new EstateWeb_Objects_PropertyPrintManager();
	PropertyPrintManager.PropertyReference = ID;
	var otypes = new EstateWeb_Objects_PropertyTypes();
	PropertyPrintManager.PropertyType = otypes.Commercial;
	PropertyPrintManager.ClassName = "printmanager-container";
	PropertyPrintManager.Container = "resultsContainer";
	PropertyPrintManager.CallbackFunction = "PropertyIcons_OnPrint_Callback";
	PropertyPrintManager.Open();
}

function PropertyIcons_OnPrint_Callback(){
	PropertyPrintManager.Close();
}
