// Different colors to rows
var tdField = 1;
var tdValue;
var count = 0; //count the rows
var arrProperty;
//Specific property ID's
var currentPropertyID	    = 0;
var currentPropertyType  	= 0;
var currentTitleDeed    	= 0;
var currentPaymentID    	= 0;
var currentTransactionID 	= 0;
var currentAssociatesID 	= 0;
var currentOfficeID			= 0;
var currentTeamID			= 0;
var currentWebRef	        = 0;
var AssociateViewGroup		= 0;
var AssociateViewAll		= 0;

//To indicate if add or edit
var currentProcessState;
var currentSearchState;
var TabArray = $H({'structure':true,'listing':false,'inspection':false,'features':false,'images':false,'seller':false,'buyer':false,'printing':false,'agent':false});
var PropTypeArray = $H();
var PaymentArray = $H();
//Rights
var rights 	= "";
var officeID = "";
var sessionassociates = "";
var teamID = "";
var teamYN = "";
//printing
 var printhtmlcode = $A();
 //hide function
 var hideyesno = "yes";
 
 var Magic;