Heray-Was-Here
Server : Apache
System : Linux hybrid3195.ca.ns.planethoster.net 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User : alliancerealtynb ( 1004)
PHP Version : 7.4.33
Disable Function : noop
Directory :  /home/alliancerealtynb/public_html/adminAR/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/public_html/adminAR/classes/wp_wpl_properties_view.php
<?php
namespace PHPMaker2020\Alliance;

/**
 * Page class
 */
class wp_wpl_properties_view extends wp_wpl_properties
{

	// Page ID
	public $PageID = "view";

	// Project ID
	public $ProjectID = "{FE4AA35B-E768-461D-8010-4FE2D8E13345}";

	// Table name
	public $TableName = 'wp_wpl_properties';

	// Page object name
	public $PageObjName = "wp_wpl_properties_view";

	// Page URLs
	public $AddUrl;
	public $EditUrl;
	public $CopyUrl;
	public $DeleteUrl;
	public $ViewUrl;
	public $ListUrl;

	// Export URLs
	public $ExportPrintUrl;
	public $ExportHtmlUrl;
	public $ExportExcelUrl;
	public $ExportWordUrl;
	public $ExportXmlUrl;
	public $ExportCsvUrl;
	public $ExportPdfUrl;

	// Custom export
	public $ExportExcelCustom = FALSE;
	public $ExportWordCustom = FALSE;
	public $ExportPdfCustom = FALSE;
	public $ExportEmailCustom = FALSE;

	// Update URLs
	public $InlineAddUrl;
	public $InlineCopyUrl;
	public $InlineEditUrl;
	public $GridAddUrl;
	public $GridEditUrl;
	public $MultiDeleteUrl;
	public $MultiUpdateUrl;

	// Page headings
	public $Heading = "";
	public $Subheading = "";
	public $PageHeader;
	public $PageFooter;

	// Token
	public $Token = "";
	public $TokenTimeout = 0;
	public $CheckToken;

	// Page heading
	public function pageHeading()
	{
		global $Language;
		if ($this->Heading != "")
			return $this->Heading;
		if (method_exists($this, "tableCaption"))
			return $this->tableCaption();
		return "";
	}

	// Page subheading
	public function pageSubheading()
	{
		global $Language;
		if ($this->Subheading != "")
			return $this->Subheading;
		if ($this->TableName)
			return $Language->phrase($this->PageID);
		return "";
	}

	// Page name
	public function pageName()
	{
		return CurrentPageName();
	}

	// Page URL
	public function pageUrl()
	{
		$url = CurrentPageName() . "?";
		if ($this->UseTokenInUrl)
			$url .= "t=" . $this->TableVar . "&"; // Add page token
		return $url;
	}

	// Messages
	private $_message = "";
	private $_failureMessage = "";
	private $_successMessage = "";
	private $_warningMessage = "";

	// Get message
	public function getMessage()
	{
		return isset($_SESSION[SESSION_MESSAGE]) ? $_SESSION[SESSION_MESSAGE] : $this->_message;
	}

	// Set message
	public function setMessage($v)
	{
		AddMessage($this->_message, $v);
		$_SESSION[SESSION_MESSAGE] = $this->_message;
	}

	// Get failure message
	public function getFailureMessage()
	{
		return isset($_SESSION[SESSION_FAILURE_MESSAGE]) ? $_SESSION[SESSION_FAILURE_MESSAGE] : $this->_failureMessage;
	}

	// Set failure message
	public function setFailureMessage($v)
	{
		AddMessage($this->_failureMessage, $v);
		$_SESSION[SESSION_FAILURE_MESSAGE] = $this->_failureMessage;
	}

	// Get success message
	public function getSuccessMessage()
	{
		return isset($_SESSION[SESSION_SUCCESS_MESSAGE]) ? $_SESSION[SESSION_SUCCESS_MESSAGE] : $this->_successMessage;
	}

	// Set success message
	public function setSuccessMessage($v)
	{
		AddMessage($this->_successMessage, $v);
		$_SESSION[SESSION_SUCCESS_MESSAGE] = $this->_successMessage;
	}

	// Get warning message
	public function getWarningMessage()
	{
		return isset($_SESSION[SESSION_WARNING_MESSAGE]) ? $_SESSION[SESSION_WARNING_MESSAGE] : $this->_warningMessage;
	}

	// Set warning message
	public function setWarningMessage($v)
	{
		AddMessage($this->_warningMessage, $v);
		$_SESSION[SESSION_WARNING_MESSAGE] = $this->_warningMessage;
	}

	// Clear message
	public function clearMessage()
	{
		$this->_message = "";
		$_SESSION[SESSION_MESSAGE] = "";
	}

	// Clear failure message
	public function clearFailureMessage()
	{
		$this->_failureMessage = "";
		$_SESSION[SESSION_FAILURE_MESSAGE] = "";
	}

	// Clear success message
	public function clearSuccessMessage()
	{
		$this->_successMessage = "";
		$_SESSION[SESSION_SUCCESS_MESSAGE] = "";
	}

	// Clear warning message
	public function clearWarningMessage()
	{
		$this->_warningMessage = "";
		$_SESSION[SESSION_WARNING_MESSAGE] = "";
	}

	// Clear messages
	public function clearMessages()
	{
		$this->clearMessage();
		$this->clearFailureMessage();
		$this->clearSuccessMessage();
		$this->clearWarningMessage();
	}

	// Show message
	public function showMessage()
	{
		$hidden = TRUE;
		$html = "";

		// Message
		$message = $this->getMessage();
		if (method_exists($this, "Message_Showing"))
			$this->Message_Showing($message, "");
		if ($message != "") { // Message in Session, display
			if (!$hidden)
				$message = '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>' . $message;
			$html .= '<div class="alert alert-info alert-dismissible ew-info"><i class="icon fas fa-info"></i>' . $message . '</div>';
			$_SESSION[SESSION_MESSAGE] = ""; // Clear message in Session
		}

		// Warning message
		$warningMessage = $this->getWarningMessage();
		if (method_exists($this, "Message_Showing"))
			$this->Message_Showing($warningMessage, "warning");
		if ($warningMessage != "") { // Message in Session, display
			if (!$hidden)
				$warningMessage = '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>' . $warningMessage;
			$html .= '<div class="alert alert-warning alert-dismissible ew-warning"><i class="icon fas fa-exclamation"></i>' . $warningMessage . '</div>';
			$_SESSION[SESSION_WARNING_MESSAGE] = ""; // Clear message in Session
		}

		// Success message
		$successMessage = $this->getSuccessMessage();
		if (method_exists($this, "Message_Showing"))
			$this->Message_Showing($successMessage, "success");
		if ($successMessage != "") { // Message in Session, display
			if (!$hidden)
				$successMessage = '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>' . $successMessage;
			$html .= '<div class="alert alert-success alert-dismissible ew-success"><i class="icon fas fa-check"></i>' . $successMessage . '</div>';
			$_SESSION[SESSION_SUCCESS_MESSAGE] = ""; // Clear message in Session
		}

		// Failure message
		$errorMessage = $this->getFailureMessage();
		if (method_exists($this, "Message_Showing"))
			$this->Message_Showing($errorMessage, "failure");
		if ($errorMessage != "") { // Message in Session, display
			if (!$hidden)
				$errorMessage = '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>' . $errorMessage;
			$html .= '<div class="alert alert-danger alert-dismissible ew-error"><i class="icon fas fa-ban"></i>' . $errorMessage . '</div>';
			$_SESSION[SESSION_FAILURE_MESSAGE] = ""; // Clear message in Session
		}
		echo '<div class="ew-message-dialog' . (($hidden) ? ' d-none' : "") . '">' . $html . '</div>';
	}

	// Get message as array
	public function getMessages()
	{
		$ar = [];

		// Message
		$message = $this->getMessage();

		//if (method_exists($this, "Message_Showing"))
		//	$this->Message_Showing($message, "");

		if ($message != "") { // Message in Session, display
			$ar["message"] = $message;
			$_SESSION[SESSION_MESSAGE] = ""; // Clear message in Session
		}

		// Warning message
		$warningMessage = $this->getWarningMessage();

		//if (method_exists($this, "Message_Showing"))
		//	$this->Message_Showing($warningMessage, "warning");

		if ($warningMessage != "") { // Message in Session, display
			$ar["warningMessage"] = $warningMessage;
			$_SESSION[SESSION_WARNING_MESSAGE] = ""; // Clear message in Session
		}

		// Success message
		$successMessage = $this->getSuccessMessage();

		//if (method_exists($this, "Message_Showing"))
		//	$this->Message_Showing($successMessage, "success");

		if ($successMessage != "") { // Message in Session, display
			$ar["successMessage"] = $successMessage;
			$_SESSION[SESSION_SUCCESS_MESSAGE] = ""; // Clear message in Session
		}

		// Failure message
		$failureMessage = $this->getFailureMessage();

		//if (method_exists($this, "Message_Showing"))
		//	$this->Message_Showing($failureMessage, "failure");

		if ($failureMessage != "") { // Message in Session, display
			$ar["failureMessage"] = $failureMessage;
			$_SESSION[SESSION_FAILURE_MESSAGE] = ""; // Clear message in Session
		}
		return $ar;
	}

	// Show Page Header
	public function showPageHeader()
	{
		$header = $this->PageHeader;
		$this->Page_DataRendering($header);
		if ($header != "") { // Header exists, display
			echo '<p id="ew-page-header">' . $header . '</p>';
		}
	}

	// Show Page Footer
	public function showPageFooter()
	{
		$footer = $this->PageFooter;
		$this->Page_DataRendered($footer);
		if ($footer != "") { // Footer exists, display
			echo '<p id="ew-page-footer">' . $footer . '</p>';
		}
	}

	// Validate page request
	protected function isPageRequest()
	{
		global $CurrentForm;
		if ($this->UseTokenInUrl) {
			if ($CurrentForm)
				return ($this->TableVar == $CurrentForm->getValue("t"));
			if (Get("t") !== NULL)
				return ($this->TableVar == Get("t"));
		}
		return TRUE;
	}

	// Valid Post
	protected function validPost()
	{
		if (!$this->CheckToken || !IsPost() || IsApi())
			return TRUE;
		if (Post(Config("TOKEN_NAME")) === NULL)
			return FALSE;
		$fn = Config("CHECK_TOKEN_FUNC");
		if (is_callable($fn))
			return $fn(Post(Config("TOKEN_NAME")), $this->TokenTimeout);
		return FALSE;
	}

	// Create Token
	public function createToken()
	{
		global $CurrentToken;
		$fn = Config("CREATE_TOKEN_FUNC"); // Always create token, required by API file/lookup request
		if ($this->Token == "" && is_callable($fn)) // Create token
			$this->Token = $fn();
		$CurrentToken = $this->Token; // Save to global variable
	}

	// Constructor
	public function __construct()
	{
		global $Language, $DashboardReport;

		// Check token
		$this->CheckToken = Config("CHECK_TOKEN");

		// Initialize
		$GLOBALS["Page"] = &$this;
		$this->TokenTimeout = SessionTimeoutTime();

		// Language object
		if (!isset($Language))
			$Language = new Language();

		// Parent constuctor
		parent::__construct();

		// Table object (wp_wpl_properties)
		if (!isset($GLOBALS["wp_wpl_properties"]) || get_class($GLOBALS["wp_wpl_properties"]) == PROJECT_NAMESPACE . "wp_wpl_properties") {
			$GLOBALS["wp_wpl_properties"] = &$this;
			$GLOBALS["Table"] = &$GLOBALS["wp_wpl_properties"];
		}
		$keyUrl = "";
		if (Get("id") !== NULL) {
			$this->RecKey["id"] = Get("id");
			$keyUrl .= "&amp;id=" . urlencode($this->RecKey["id"]);
		}
		$this->ExportPrintUrl = $this->pageUrl() . "export=print" . $keyUrl;
		$this->ExportHtmlUrl = $this->pageUrl() . "export=html" . $keyUrl;
		$this->ExportExcelUrl = $this->pageUrl() . "export=excel" . $keyUrl;
		$this->ExportWordUrl = $this->pageUrl() . "export=word" . $keyUrl;
		$this->ExportXmlUrl = $this->pageUrl() . "export=xml" . $keyUrl;
		$this->ExportCsvUrl = $this->pageUrl() . "export=csv" . $keyUrl;
		$this->ExportPdfUrl = $this->pageUrl() . "export=pdf" . $keyUrl;

		// Page ID (for backward compatibility only)
		if (!defined(PROJECT_NAMESPACE . "PAGE_ID"))
			define(PROJECT_NAMESPACE . "PAGE_ID", 'view');

		// Table name (for backward compatibility only)
		if (!defined(PROJECT_NAMESPACE . "TABLE_NAME"))
			define(PROJECT_NAMESPACE . "TABLE_NAME", 'wp_wpl_properties');

		// Start timer
		if (!isset($GLOBALS["DebugTimer"]))
			$GLOBALS["DebugTimer"] = new Timer();

		// Debug message
		LoadDebugMessage();

		// Open connection
		if (!isset($GLOBALS["Conn"]))
			$GLOBALS["Conn"] = $this->getConnection();

		// Export options
		$this->ExportOptions = new ListOptions("div");
		$this->ExportOptions->TagClassName = "ew-export-option";

		// Other options
		if (!$this->OtherOptions)
			$this->OtherOptions = new ListOptionsArray();
		$this->OtherOptions["action"] = new ListOptions("div");
		$this->OtherOptions["action"]->TagClassName = "ew-action-option";
		$this->OtherOptions["detail"] = new ListOptions("div");
		$this->OtherOptions["detail"]->TagClassName = "ew-detail-option";
	}

	// Terminate page
	public function terminate($url = "")
	{
		global $ExportFileName, $TempImages, $DashboardReport;

		// Page Unload event
		$this->Page_Unload();

		// Global Page Unloaded event (in userfn*.php)
		Page_Unloaded();

		// Export
		global $wp_wpl_properties;
		if ($this->CustomExport && $this->CustomExport == $this->Export && array_key_exists($this->CustomExport, Config("EXPORT_CLASSES"))) {
				$content = ob_get_contents();
			if ($ExportFileName == "")
				$ExportFileName = $this->TableVar;
			$class = PROJECT_NAMESPACE . Config("EXPORT_CLASSES." . $this->CustomExport);
			if (class_exists($class)) {
				$doc = new $class($wp_wpl_properties);
				$doc->Text = @$content;
				if ($this->isExport("email"))
					echo $this->exportEmail($doc->Text);
				else
					$doc->export();
				DeleteTempImages(); // Delete temp images
				exit();
			}
		}
		if (!IsApi())
			$this->Page_Redirecting($url);

		// Close connection
		CloseConnections();

		// Return for API
		if (IsApi()) {
			$res = $url === TRUE;
			if (!$res) // Show error
				WriteJson(array_merge(["success" => FALSE], $this->getMessages()));
			return;
		}

		// Go to URL if specified
		if ($url != "") {
			if (!Config("DEBUG") && ob_get_length())
				ob_end_clean();

			// Handle modal response
			if ($this->IsModal) { // Show as modal
				$row = ["url" => $url, "modal" => "1"];
				$pageName = GetPageName($url);
				if ($pageName != $this->getListUrl()) { // Not List page
					$row["caption"] = $this->getModalCaption($pageName);
					if ($pageName == "wp_wpl_propertiesview.php")
						$row["view"] = "1";
				} else { // List page should not be shown as modal => error
					$row["error"] = $this->getFailureMessage();
					$this->clearFailureMessage();
				}
				WriteJson($row);
			} else {
				SaveDebugMessage();
				AddHeader("Location", $url);
			}
		}
		exit();
	}

	// Get records from recordset
	protected function getRecordsFromRecordset($rs, $current = FALSE)
	{
		$rows = [];
		if (is_object($rs)) { // Recordset
			while ($rs && !$rs->EOF) {
				$this->loadRowValues($rs); // Set up DbValue/CurrentValue
				$row = $this->getRecordFromArray($rs->fields);
				if ($current)
					return $row;
				else
					$rows[] = $row;
				$rs->moveNext();
			}
		} elseif (is_array($rs)) {
			foreach ($rs as $ar) {
				$row = $this->getRecordFromArray($ar);
				if ($current)
					return $row;
				else
					$rows[] = $row;
			}
		}
		return $rows;
	}

	// Get record from array
	protected function getRecordFromArray($ar)
	{
		$row = [];
		if (is_array($ar)) {
			foreach ($ar as $fldname => $val) {
				if (array_key_exists($fldname, $this->fields) && ($this->fields[$fldname]->Visible || $this->fields[$fldname]->IsPrimaryKey)) { // Primary key or Visible
					$fld = &$this->fields[$fldname];
					if ($fld->HtmlTag == "FILE") { // Upload field
						if (EmptyValue($val)) {
							$row[$fldname] = NULL;
						} else {
							if ($fld->DataType == DATATYPE_BLOB) {
								$url = FullUrl(GetApiUrl(Config("API_FILE_ACTION"),
									Config("API_OBJECT_NAME") . "=" . $fld->TableVar . "&" .
									Config("API_FIELD_NAME") . "=" . $fld->Param . "&" .
									Config("API_KEY_NAME") . "=" . rawurlencode($this->getRecordKeyValue($ar)))); //*** need to add this? API may not be in the same folder
								$row[$fldname] = ["type" => ContentType($val), "url" => $url, "name" => $fld->Param . ContentExtension($val)];
							} elseif (!$fld->UploadMultiple || !ContainsString($val, Config("MULTIPLE_UPLOAD_SEPARATOR"))) { // Single file
								$url = FullUrl(GetApiUrl(Config("API_FILE_ACTION"),
									Config("API_OBJECT_NAME") . "=" . $fld->TableVar . "&" .
									"fn=" . Encrypt($fld->physicalUploadPath() . $val)));
								$row[$fldname] = ["type" => MimeContentType($val), "url" => $url, "name" => $val];
							} else { // Multiple files
								$files = explode(Config("MULTIPLE_UPLOAD_SEPARATOR"), $val);
								$ar = [];
								foreach ($files as $file) {
									$url = FullUrl(GetApiUrl(Config("API_FILE_ACTION"),
										Config("API_OBJECT_NAME") . "=" . $fld->TableVar . "&" .
										"fn=" . Encrypt($fld->physicalUploadPath() . $file)));
									if (!EmptyValue($file))
										$ar[] = ["type" => MimeContentType($file), "url" => $url, "name" => $file];
								}
								$row[$fldname] = $ar;
							}
						}
					} else {
						$row[$fldname] = $val;
					}
				}
			}
		}
		return $row;
	}

	// Get record key value from array
	protected function getRecordKeyValue($ar)
	{
		$key = "";
		if (is_array($ar)) {
			$key .= @$ar['id'];
		}
		return $key;
	}

	/**
	 * Hide fields for add/edit
	 *
	 * @return void
	 */
	protected function hideFieldsForAddEdit()
	{
		if ($this->isAdd() || $this->isCopy() || $this->isGridAdd())
			$this->id->Visible = FALSE;
	}

	// Lookup data
	public function lookup()
	{
		global $Language, $Security;
		if (!isset($Language))
			$Language = new Language(Config("LANGUAGE_FOLDER"), Post("language", ""));

		// Set up API request
		if (!ValidApiRequest())
			return FALSE;
		$this->setupApiSecurity();

		// Get lookup object
		$fieldName = Post("field");
		if (!array_key_exists($fieldName, $this->fields))
			return FALSE;
		$lookupField = $this->fields[$fieldName];
		$lookup = $lookupField->Lookup;
		if ($lookup === NULL)
			return FALSE;
		if (!$Security->isLoggedIn()) // Logged in
			return FALSE;

		// Get lookup parameters
		$lookupType = Post("ajax", "unknown");
		$pageSize = -1;
		$offset = -1;
		$searchValue = "";
		if (SameText($lookupType, "modal")) {
			$searchValue = Post("sv", "");
			$pageSize = Post("recperpage", 10);
			$offset = Post("start", 0);
		} elseif (SameText($lookupType, "autosuggest")) {
			$searchValue = Param("q", "");
			$pageSize = Param("n", -1);
			$pageSize = is_numeric($pageSize) ? (int)$pageSize : -1;
			if ($pageSize <= 0)
				$pageSize = Config("AUTO_SUGGEST_MAX_ENTRIES");
			$start = Param("start", -1);
			$start = is_numeric($start) ? (int)$start : -1;
			$page = Param("page", -1);
			$page = is_numeric($page) ? (int)$page : -1;
			$offset = $start >= 0 ? $start : ($page > 0 && $pageSize > 0 ? ($page - 1) * $pageSize : 0);
		}
		$userSelect = Decrypt(Post("s", ""));
		$userFilter = Decrypt(Post("f", ""));
		$userOrderBy = Decrypt(Post("o", ""));
		$keys = Post("keys");
		$lookup->LookupType = $lookupType; // Lookup type
		if ($keys !== NULL) { // Selected records from modal
			if (is_array($keys))
				$keys = implode(Config("MULTIPLE_OPTION_SEPARATOR"), $keys);
			$lookup->FilterFields = []; // Skip parent fields if any
			$lookup->FilterValues[] = $keys; // Lookup values
			$pageSize = -1; // Show all records
		} else { // Lookup values
			$lookup->FilterValues[] = Post("v0", Post("lookupValue", ""));
		}
		$cnt = is_array($lookup->FilterFields) ? count($lookup->FilterFields) : 0;
		for ($i = 1; $i <= $cnt; $i++)
			$lookup->FilterValues[] = Post("v" . $i, "");
		$lookup->SearchValue = $searchValue;
		$lookup->PageSize = $pageSize;
		$lookup->Offset = $offset;
		if ($userSelect != "")
			$lookup->UserSelect = $userSelect;
		if ($userFilter != "")
			$lookup->UserFilter = $userFilter;
		if ($userOrderBy != "")
			$lookup->UserOrderBy = $userOrderBy;
		$lookup->toJson($this); // Use settings from current page
	}

	// Set up API security
	public function setupApiSecurity()
	{
		global $Security;

		// Setup security for API request
	}
	public $ExportOptions; // Export options
	public $OtherOptions; // Other options
	public $DisplayRecords = 1;
	public $DbMasterFilter;
	public $DbDetailFilter;
	public $StartRecord;
	public $StopRecord;
	public $TotalRecords = 0;
	public $RecordRange = 10;
	public $RecKey = [];
	public $IsModal = FALSE;

	//
	// Page run
	//

	public function run()
	{
		global $ExportType, $CustomExportType, $ExportFileName, $UserProfile, $Language, $Security, $CurrentForm,
			$SkipHeaderFooter;

		// Is modal
		$this->IsModal = (Param("modal") == "1");

		// User profile
		$UserProfile = new UserProfile();

		// Security
		if (ValidApiRequest()) { // API request
			$this->setupApiSecurity(); // Set up API Security
			if (!$Security->canView()) {
				SetStatus(401); // Unauthorized
				return;
			}
		} else {
			$Security = new AdvancedSecurity();
			if (!$Security->isLoggedIn())
				$Security->autoLogin();
			$Security->loadCurrentUserLevel($this->ProjectID . $this->TableName);
			if (!$Security->canView()) {
				$Security->saveLastUrl();
				$this->setFailureMessage(DeniedMessage()); // Set no permission
				if ($Security->canList())
					$this->terminate(GetUrl("wp_wpl_propertieslist.php"));
				else
					$this->terminate(GetUrl("login.php"));
				return;
			}
		}

		// Get export parameters
		$custom = "";
		if (Param("export") !== NULL) {
			$this->Export = Param("export");
			$custom = Param("custom", "");
		} elseif (IsPost()) {
			if (Post("exporttype") !== NULL)
				$this->Export = Post("exporttype");
			$custom = Post("custom", "");
		} elseif (Get("cmd") == "json") {
			$this->Export = Get("cmd");
		} else {
			$this->setExportReturnUrl(CurrentUrl());
		}
		$ExportFileName = $this->TableVar; // Get export file, used in header
		if (Get("id") !== NULL) {
			if ($ExportFileName != "")
				$ExportFileName .= "_";
			$ExportFileName .= Get("id");
		}

		// Get custom export parameters
		if ($this->isExport() && $custom != "") {
			$this->CustomExport = $this->Export;
			$this->Export = "print";
		}
		$CustomExportType = $this->CustomExport;
		$ExportType = $this->Export; // Get export parameter, used in header

		// Update Export URLs
		if (Config("USE_PHPEXCEL"))
			$this->ExportExcelCustom = FALSE;
		if ($this->ExportExcelCustom)
			$this->ExportExcelUrl .= "&amp;custom=1";
		if (Config("USE_PHPWORD"))
			$this->ExportWordCustom = FALSE;
		if ($this->ExportWordCustom)
			$this->ExportWordUrl .= "&amp;custom=1";
		if ($this->ExportPdfCustom)
			$this->ExportPdfUrl .= "&amp;custom=1";
		$this->CurrentAction = Param("action"); // Set up current action

		// Setup export options
		$this->setupExportOptions();
		$this->id->setVisibility();
		$this->kind->setVisibility();
		$this->deleted->setVisibility();
		$this->mls_id->setVisibility();
		$this->mls_id_num->setVisibility();
		$this->parent->setVisibility();
		$this->pic_numb->setVisibility();
		$this->user_id->setVisibility();
		$this->listing->setVisibility();
		$this->property_type->setVisibility();
		$this->location1_id->setVisibility();
		$this->location2_id->setVisibility();
		$this->location3_id->setVisibility();
		$this->location4_id->setVisibility();
		$this->location5_id->setVisibility();
		$this->location6_id->setVisibility();
		$this->location7_id->setVisibility();
		$this->location1_name->setVisibility();
		$this->location2_name->setVisibility();
		$this->location3_name->setVisibility();
		$this->location4_name->setVisibility();
		$this->location5_name->setVisibility();
		$this->location6_name->setVisibility();
		$this->location7_name->setVisibility();
		$this->show_address->setVisibility();
		$this->show_marker->setVisibility();
		$this->price->setVisibility();
		$this->price_unit->setVisibility();
		$this->price_si->setVisibility();
		$this->price_period->setVisibility();
		$this->bedrooms->setVisibility();
		$this->rooms->setVisibility();
		$this->bathrooms->setVisibility();
		$this->living_area->setVisibility();
		$this->living_area_unit->setVisibility();
		$this->living_area_si->setVisibility();
		$this->lot_area->setVisibility();
		$this->lot_area_unit->setVisibility();
		$this->lot_area_si->setVisibility();
		$this->googlemap_lt->setVisibility();
		$this->googlemap_ln->setVisibility();
		$this->finalized->setVisibility();
		$this->add_date->setVisibility();
		$this->last_finalize_date->setVisibility();
		$this->expire_days->setVisibility();
		$this->confirmed->setVisibility();
		$this->expired->setVisibility();
		$this->build_year->setVisibility();
		$this->zip_id->setVisibility();
		$this->zip_name->setVisibility();
		$this->last_modified_time_stamp->setVisibility();
		$this->post_code->setVisibility();
		$this->meta_description->setVisibility();
		$this->meta_description_manual->setVisibility();
		$this->meta_keywords->setVisibility();
		$this->meta_keywords_manual->setVisibility();
		$this->street_no->setVisibility();
		$this->sp_featured->setVisibility();
		$this->sp_hot->setVisibility();
		$this->sp_openhouse->setVisibility();
		$this->sp_forclosure->setVisibility();
		$this->textsearch->setVisibility();
		$this->location_text->setVisibility();
		$this->field_42->setVisibility();
		$this->field_312->setVisibility();
		$this->field_313->setVisibility();
		$this->field_308->setVisibility();
		$this->field_7->setVisibility();
		$this->n_103->setVisibility();
		$this->n_103_distance->setVisibility();
		$this->n_103_distance_by->setVisibility();
		$this->n_105->setVisibility();
		$this->n_105_distance->setVisibility();
		$this->n_105_distance_by->setVisibility();
		$this->n_107->setVisibility();
		$this->n_107_distance->setVisibility();
		$this->n_107_distance_by->setVisibility();
		$this->n_108->setVisibility();
		$this->n_108_distance->setVisibility();
		$this->n_108_distance_by->setVisibility();
		$this->n_109->setVisibility();
		$this->n_109_distance->setVisibility();
		$this->n_109_distance_by->setVisibility();
		$this->f_131_options->setVisibility();
		$this->f_131->setVisibility();
		$this->f_137_options->setVisibility();
		$this->f_137->setVisibility();
		$this->f_139_options->setVisibility();
		$this->f_139->setVisibility();
		$this->f_144_options->setVisibility();
		$this->f_144->setVisibility();
		$this->f_146_options->setVisibility();
		$this->f_146->setVisibility();
		$this->f_149_options->setVisibility();
		$this->f_149->setVisibility();
		$this->f_150_options->setVisibility();
		$this->f_150->setVisibility();
		$this->f_156_options->setVisibility();
		$this->f_156->setVisibility();
		$this->f_157_options->setVisibility();
		$this->f_157->setVisibility();
		$this->f_159_options->setVisibility();
		$this->f_159->setVisibility();
		$this->f_161_options->setVisibility();
		$this->f_161->setVisibility();
		$this->f_163_options->setVisibility();
		$this->f_163->setVisibility();
		$this->f_165_options->setVisibility();
		$this->f_165->setVisibility();
		$this->f_166_options->setVisibility();
		$this->f_166->setVisibility();
		$this->ref_id->setVisibility();
		$this->field_54->setVisibility();
		$this->half_bathrooms->setVisibility();
		$this->field_55->setVisibility();
		$this->rendered->setVisibility();
		$this->alias->setVisibility();
		$this->source->setVisibility();
		$this->last_sync_date->setVisibility();
		$this->street_suffix->setVisibility();
		$this->energy_tag->setVisibility();
		$this->field_3006->setVisibility();
		$this->field_3007->setVisibility();
		$this->field_3008->setVisibility();
		$this->importer_structure_id->setVisibility();
		$this->importer_params->setVisibility();
		$this->field_3009->setVisibility();
		$this->field_3010->setVisibility();
		$this->field_3012->setVisibility();
		$this->rendered_en_us->setVisibility();
		$this->textsearch_en_us->setVisibility();
		$this->rendered_fr_fr->setVisibility();
		$this->textsearch_fr_fr->setVisibility();
		$this->field_3013->setVisibility();
		$this->field_3014->setVisibility();
		$this->f_3014_options->setVisibility();
		$this->f_3014->setVisibility();
		$this->field_3015->setVisibility();
		$this->field_3016->setVisibility();
		$this->field_3017->setVisibility();
		$this->f_3018_options->setVisibility();
		$this->f_3018->setVisibility();
		$this->f_3019_options->setVisibility();
		$this->f_3019->setVisibility();
		$this->f_3020_options->setVisibility();
		$this->f_3020->setVisibility();
		$this->f_3021_options->setVisibility();
		$this->f_3021->setVisibility();
		$this->f_3022_options->setVisibility();
		$this->f_3022->setVisibility();
		$this->f_3023_options->setVisibility();
		$this->f_3023->setVisibility();
		$this->f_3024_options->setVisibility();
		$this->f_3024->setVisibility();
		$this->f_3025_options->setVisibility();
		$this->f_3025->setVisibility();
		$this->f_3026_options->setVisibility();
		$this->f_3026->setVisibility();
		$this->f_3027_options->setVisibility();
		$this->f_3027->setVisibility();
		$this->f_3028_options->setVisibility();
		$this->f_3028->setVisibility();
		$this->f_3029_options->setVisibility();
		$this->f_3029->setVisibility();
		$this->f_3031_options->setVisibility();
		$this->f_3031->setVisibility();
		$this->f_3032_options->setVisibility();
		$this->f_3032->setVisibility();
		$this->f_3033_options->setVisibility();
		$this->f_3033->setVisibility();
		$this->f_3034_options->setVisibility();
		$this->f_3034->setVisibility();
		$this->f_3035_options->setVisibility();
		$this->f_3035->setVisibility();
		$this->f_3036_options->setVisibility();
		$this->f_3036->setVisibility();
		$this->f_3037_options->setVisibility();
		$this->f_3037->setVisibility();
		$this->f_3038_options->setVisibility();
		$this->f_3038->setVisibility();
		$this->f_3039_options->setVisibility();
		$this->f_3039->setVisibility();
		$this->f_3040_options->setVisibility();
		$this->f_3040->setVisibility();
		$this->f_3041_options->setVisibility();
		$this->f_3041->setVisibility();
		$this->f_3042_options->setVisibility();
		$this->f_3042->setVisibility();
		$this->f_3043_options->setVisibility();
		$this->f_3043->setVisibility();
		$this->f_3044_options->setVisibility();
		$this->f_3044->setVisibility();
		$this->n_3045->setVisibility();
		$this->n_3045_distance->setVisibility();
		$this->n_3045_distance_by->setVisibility();
		$this->n_3046->setVisibility();
		$this->n_3046_distance->setVisibility();
		$this->n_3046_distance_by->setVisibility();
		$this->n_3047->setVisibility();
		$this->n_3047_distance->setVisibility();
		$this->n_3047_distance_by->setVisibility();
		$this->n_3048->setVisibility();
		$this->n_3048_distance->setVisibility();
		$this->n_3048_distance_by->setVisibility();
		$this->n_3049->setVisibility();
		$this->n_3049_distance->setVisibility();
		$this->n_3049_distance_by->setVisibility();
		$this->n_3050->setVisibility();
		$this->n_3050_distance->setVisibility();
		$this->n_3050_distance_by->setVisibility();
		$this->n_3051->setVisibility();
		$this->n_3051_distance->setVisibility();
		$this->n_3051_distance_by->setVisibility();
		$this->n_3052->setVisibility();
		$this->n_3052_distance->setVisibility();
		$this->n_3052_distance_by->setVisibility();
		$this->n_3053->setVisibility();
		$this->n_3053_distance->setVisibility();
		$this->n_3053_distance_by->setVisibility();
		$this->n_3054->setVisibility();
		$this->n_3054_distance->setVisibility();
		$this->n_3054_distance_by->setVisibility();
		$this->n_3055->setVisibility();
		$this->n_3055_distance->setVisibility();
		$this->n_3055_distance_by->setVisibility();
		$this->n_3056->setVisibility();
		$this->n_3056_distance->setVisibility();
		$this->n_3056_distance_by->setVisibility();
		$this->n_3057->setVisibility();
		$this->n_3057_distance->setVisibility();
		$this->n_3057_distance_by->setVisibility();
		$this->n_3058->setVisibility();
		$this->n_3058_distance->setVisibility();
		$this->n_3058_distance_by->setVisibility();
		$this->n_3059->setVisibility();
		$this->n_3059_distance->setVisibility();
		$this->n_3059_distance_by->setVisibility();
		$this->f_3060_options->setVisibility();
		$this->f_3060->setVisibility();
		$this->f_3061_options->setVisibility();
		$this->f_3061->setVisibility();
		$this->f_3062_options->setVisibility();
		$this->f_3062->setVisibility();
		$this->field_3063->setVisibility();
		$this->field_3064->setVisibility();
		$this->field_3065->setVisibility();
		$this->field_308_en_us->setVisibility();
		$this->field_308_fr_fr->setVisibility();
		$this->field_313_en_us->setVisibility();
		$this->field_313_fr_fr->setVisibility();
		$this->field_312_en_us->setVisibility();
		$this->field_312_fr_fr->setVisibility();
		$this->field_3017_en_us->setVisibility();
		$this->field_3017_fr_fr->setVisibility();
		$this->field_42_en_us->setVisibility();
		$this->field_42_fr_fr->setVisibility();
		$this->field_3067->setVisibility();
		$this->field_3068->setVisibility();
		$this->field_3069->setVisibility();
		$this->field_3070->setVisibility();
		$this->field_3071->setVisibility();
		$this->field_3071_en_us->setVisibility();
		$this->field_3071_fr_fr->setVisibility();
		$this->field_3072->setVisibility();
		$this->field_3073->setVisibility();
		$this->field_3074->setVisibility();
		$this->field_3074_en_us->setVisibility();
		$this->field_3074_fr_fr->setVisibility();
		$this->field_3075->setVisibility();
		$this->field_3076->setVisibility();
		$this->field_3077->setVisibility();
		$this->field_3078->setVisibility();
		$this->field_3079->setVisibility();
		$this->field_3080->setVisibility();
		$this->field_3076_en_us->setVisibility();
		$this->field_3076_fr_fr->setVisibility();
		$this->field_3080_en_us->setVisibility();
		$this->field_3080_fr_fr->setVisibility();
		$this->field_3081->setVisibility();
		$this->field_3081_en_us->setVisibility();
		$this->field_3081_fr_fr->setVisibility();
		$this->field_3082->setVisibility();
		$this->field_3082_en_us->setVisibility();
		$this->field_3082_fr_fr->setVisibility();
		$this->field_3084->setVisibility();
		$this->field_3085->setVisibility();
		$this->field_3086->setVisibility();
		$this->field_3096->setVisibility();
		$this->field_3097->setVisibility();
		$this->field_3098->setVisibility();
		$this->field_3099->setVisibility();
		$this->field_3100->setVisibility();
		$this->field_3101->setVisibility();
		$this->field_3102->setVisibility();
		$this->field_3103->setVisibility();
		$this->field_3104->setVisibility();
		$this->field_3105->setVisibility();
		$this->field_3106->setVisibility();
		$this->field_3107->setVisibility();
		$this->field_3108->setVisibility();
		$this->field_3109->setVisibility();
		$this->field_3110->setVisibility();
		$this->field_3111->setVisibility();
		$this->field_3112->setVisibility();
		$this->field_3113->setVisibility();
		$this->field_3113_en_us->setVisibility();
		$this->field_3113_fr_fr->setVisibility();
		$this->field_3114->setVisibility();
		$this->field_3114_en_us->setVisibility();
		$this->field_3114_fr_fr->setVisibility();
		$this->field_3115->setVisibility();
		$this->field_3115_si->setVisibility();
		$this->field_3115_unit->setVisibility();
		$this->field_3116->setVisibility();
		$this->field_3117->setVisibility();
		$this->field_3117_en_us->setVisibility();
		$this->field_3117_fr_fr->setVisibility();
		$this->field_3118->setVisibility();
		$this->field_3118_en_us->setVisibility();
		$this->field_3118_fr_fr->setVisibility();
		$this->field_3119->setVisibility();
		$this->field_3119_en_us->setVisibility();
		$this->field_3119_fr_fr->setVisibility();
		$this->field_3120->setVisibility();
		$this->field_3120_en_us->setVisibility();
		$this->field_3120_fr_fr->setVisibility();
		$this->field_3121->setVisibility();
		$this->field_3122->setVisibility();
		$this->field_3122_si->setVisibility();
		$this->field_3122_unit->setVisibility();
		$this->field_3123->setVisibility();
		$this->field_3124->setVisibility();
		$this->field_3125->setVisibility();
		$this->field_3126->setVisibility();
		$this->field_3127->setVisibility();
		$this->field_3128->setVisibility();
		$this->field_3129->setVisibility();
		$this->field_3130->setVisibility();
		$this->field_3131->setVisibility();
		$this->field_3132->setVisibility();
		$this->field_3133->setVisibility();
		$this->field_3134->setVisibility();
		$this->field_3135->setVisibility();
		$this->field_3136->setVisibility();
		$this->field_3137->setVisibility();
		$this->field_3138->setVisibility();
		$this->field_3139->setVisibility();
		$this->field_3140->setVisibility();
		$this->field_3141->setVisibility();
		$this->field_3142->setVisibility();
		$this->field_3143->setVisibility();
		$this->field_3144->setVisibility();
		$this->field_3145->setVisibility();
		$this->field_3146->setVisibility();
		$this->field_3147->setVisibility();
		$this->field_3148->setVisibility();
		$this->field_3149->setVisibility();
		$this->field_3150->setVisibility();
		$this->field_3151->setVisibility();
		$this->field_3152->setVisibility();
		$this->field_3153->setVisibility();
		$this->field_3154->setVisibility();
		$this->field_3155->setVisibility();
		$this->field_3156->setVisibility();
		$this->field_3157->setVisibility();
		$this->field_3158->setVisibility();
		$this->field_3159->setVisibility();
		$this->field_3160->setVisibility();
		$this->field_3161->setVisibility();
		$this->field_3162->setVisibility();
		$this->field_3163->setVisibility();
		$this->field_3164->setVisibility();
		$this->field_3165->setVisibility();
		$this->field_3166->setVisibility();
		$this->field_3167->setVisibility();
		$this->field_3168->setVisibility();
		$this->field_3169->setVisibility();
		$this->field_3170->setVisibility();
		$this->field_3171->setVisibility();
		$this->field_3172->setVisibility();
		$this->field_3173->setVisibility();
		$this->field_3173_si->setVisibility();
		$this->field_3173_unit->setVisibility();
		$this->field_3180->setVisibility();
		$this->field_3180_en_us->setVisibility();
		$this->field_3180_fr_fr->setVisibility();
		$this->field_3181->setVisibility();
		$this->field_3182->setVisibility();
		$this->n_3189->setVisibility();
		$this->n_3189_distance->setVisibility();
		$this->n_3189_distance_by->setVisibility();
		$this->hideFieldsForAddEdit();

		// Do not use lookup cache
		$this->setUseLookupCache(FALSE);

		// Global Page Loading event (in userfn*.php)
		Page_Loading();

		// Page Load event
		$this->Page_Load();

		// Check token
		if (!$this->validPost()) {
			Write($Language->phrase("InvalidPostRequest"));
			$this->terminate();
		}

		// Create Token
		$this->createToken();

		// Set up lookup cache
		// Check modal

		if ($this->IsModal)
			$SkipHeaderFooter = TRUE;

		// Load current record
		$loadCurrentRecord = FALSE;
		$returnUrl = "";
		$matchRecord = FALSE;
		if ($this->isPageRequest()) { // Validate request
			if (Get("id") !== NULL) {
				$this->id->setQueryStringValue(Get("id"));
				$this->RecKey["id"] = $this->id->QueryStringValue;
			} elseif (IsApi() && Key(0) !== NULL) {
				$this->id->setQueryStringValue(Key(0));
				$this->RecKey["id"] = $this->id->QueryStringValue;
			} elseif (Post("id") !== NULL) {
				$this->id->setFormValue(Post("id"));
				$this->RecKey["id"] = $this->id->FormValue;
			} elseif (IsApi() && Route(2) !== NULL) {
				$this->id->setFormValue(Route(2));
				$this->RecKey["id"] = $this->id->FormValue;
			} else {
				$returnUrl = "wp_wpl_propertieslist.php"; // Return to list
			}

			// Get action
			$this->CurrentAction = "show"; // Display
			switch ($this->CurrentAction) {
				case "show": // Get a record to display

					// Load record based on key
					if (IsApi()) {
						$filter = $this->getRecordFilter();
						$this->CurrentFilter = $filter;
						$sql = $this->getCurrentSql();
						$conn = $this->getConnection();
						$this->Recordset = LoadRecordset($sql, $conn);
						$res = $this->Recordset && !$this->Recordset->EOF;
					} else {
						$res = $this->loadRow();
					}
					if (!$res) { // Load record based on key
						if ($this->getSuccessMessage() == "" && $this->getFailureMessage() == "")
							$this->setFailureMessage($Language->phrase("NoRecord")); // Set no record message
						$returnUrl = "wp_wpl_propertieslist.php"; // No matching record, return to list
					}
			}

			// Export data only
			if (!$this->CustomExport && in_array($this->Export, array_keys(Config("EXPORT_CLASSES")))) {
				$this->exportData();
				$this->terminate();
			}
		} else {
			$returnUrl = "wp_wpl_propertieslist.php"; // Not page request, return to list
		}
		if ($returnUrl != "") {
			$this->terminate($returnUrl);
			return;
		}

		// Set up Breadcrumb
		if (!$this->isExport())
			$this->setupBreadcrumb();

		// Render row
		$this->RowType = ROWTYPE_VIEW;
		$this->resetAttributes();
		$this->renderRow();

		// Normal return
		if (IsApi()) {
			$rows = $this->getRecordsFromRecordset($this->Recordset, TRUE); // Get current record only
			$this->Recordset->close();
			WriteJson(["success" => TRUE, $this->TableVar => $rows]);
			$this->terminate(TRUE);
		}
	}

	// Set up other options
	protected function setupOtherOptions()
	{
		global $Language, $Security;
		$options = &$this->OtherOptions;
		$option = $options["action"];

		// Add
		$item = &$option->add("add");
		$addcaption = HtmlTitle($Language->phrase("ViewPageAddLink"));
		if ($this->IsModal) // Modal
			$item->Body = "<a class=\"ew-action ew-add\" title=\"" . $addcaption . "\" data-caption=\"" . $addcaption . "\" href=\"#\" onclick=\"return ew.modalDialogShow({lnk:this,url:'" . HtmlEncode($this->AddUrl) . "'});\">" . $Language->phrase("ViewPageAddLink") . "</a>";
		else
			$item->Body = "<a class=\"ew-action ew-add\" title=\"" . $addcaption . "\" data-caption=\"" . $addcaption . "\" href=\"" . HtmlEncode($this->AddUrl) . "\">" . $Language->phrase("ViewPageAddLink") . "</a>";
		$item->Visible = ($this->AddUrl != "" && $Security->canAdd());

		// Edit
		$item = &$option->add("edit");
		$editcaption = HtmlTitle($Language->phrase("ViewPageEditLink"));
		if ($this->IsModal) // Modal
			$item->Body = "<a class=\"ew-action ew-edit\" title=\"" . $editcaption . "\" data-caption=\"" . $editcaption . "\" href=\"#\" onclick=\"return ew.modalDialogShow({lnk:this,url:'" . HtmlEncode($this->EditUrl) . "'});\">" . $Language->phrase("ViewPageEditLink") . "</a>";
		else
			$item->Body = "<a class=\"ew-action ew-edit\" title=\"" . $editcaption . "\" data-caption=\"" . $editcaption . "\" href=\"" . HtmlEncode($this->EditUrl) . "\">" . $Language->phrase("ViewPageEditLink") . "</a>";
		$item->Visible = ($this->EditUrl != "" && $Security->canEdit());

		// Copy
		$item = &$option->add("copy");
		$copycaption = HtmlTitle($Language->phrase("ViewPageCopyLink"));
		if ($this->IsModal) // Modal
			$item->Body = "<a class=\"ew-action ew-copy\" title=\"" . $copycaption . "\" data-caption=\"" . $copycaption . "\" href=\"#\" onclick=\"return ew.modalDialogShow({lnk:this,btn:'AddBtn',url:'" . HtmlEncode($this->CopyUrl) . "'});\">" . $Language->phrase("ViewPageCopyLink") . "</a>";
		else
			$item->Body = "<a class=\"ew-action ew-copy\" title=\"" . $copycaption . "\" data-caption=\"" . $copycaption . "\" href=\"" . HtmlEncode($this->CopyUrl) . "\">" . $Language->phrase("ViewPageCopyLink") . "</a>";
		$item->Visible = ($this->CopyUrl != "" && $Security->canAdd());

		// Delete
		$item = &$option->add("delete");
		if ($this->IsModal) // Handle as inline delete
			$item->Body = "<a onclick=\"return ew.confirmDelete(this);\" class=\"ew-action ew-delete\" title=\"" . HtmlTitle($Language->phrase("ViewPageDeleteLink")) . "\" data-caption=\"" . HtmlTitle($Language->phrase("ViewPageDeleteLink")) . "\" href=\"" . HtmlEncode(UrlAddQuery($this->DeleteUrl, "action=1")) . "\">" . $Language->phrase("ViewPageDeleteLink") . "</a>";
		else
			$item->Body = "<a class=\"ew-action ew-delete\" title=\"" . HtmlTitle($Language->phrase("ViewPageDeleteLink")) . "\" data-caption=\"" . HtmlTitle($Language->phrase("ViewPageDeleteLink")) . "\" href=\"" . HtmlEncode($this->DeleteUrl) . "\">" . $Language->phrase("ViewPageDeleteLink") . "</a>";
		$item->Visible = ($this->DeleteUrl != "" && $Security->canDelete());

		// Set up action default
		$option = $options["action"];
		$option->DropDownButtonPhrase = $Language->phrase("ButtonActions");
		$option->UseDropDownButton = FALSE;
		$option->UseButtonGroup = TRUE;
		$item = &$option->add($option->GroupOptionName);
		$item->Body = "";
		$item->Visible = FALSE;
	}

	// Load recordset
	public function loadRecordset($offset = -1, $rowcnt = -1)
	{

		// Load List page SQL
		$sql = $this->getListSql();
		$conn = $this->getConnection();

		// Load recordset
		$dbtype = GetConnectionType($this->Dbid);
		if ($this->UseSelectLimit) {
			$conn->raiseErrorFn = Config("ERROR_FUNC");
			if ($dbtype == "MSSQL") {
				$rs = $conn->selectLimit($sql, $rowcnt, $offset, ["_hasOrderBy" => trim($this->getOrderBy()) || trim($this->getSessionOrderBy())]);
			} else {
				$rs = $conn->selectLimit($sql, $rowcnt, $offset);
			}
			$conn->raiseErrorFn = "";
		} else {
			$rs = LoadRecordset($sql, $conn);
		}

		// Call Recordset Selected event
		$this->Recordset_Selected($rs);
		return $rs;
	}

	// Load row based on key values
	public function loadRow()
	{
		global $Security, $Language;
		$filter = $this->getRecordFilter();

		// Call Row Selecting event
		$this->Row_Selecting($filter);

		// Load SQL based on filter
		$this->CurrentFilter = $filter;
		$sql = $this->getCurrentSql();
		$conn = $this->getConnection();
		$res = FALSE;
		$rs = LoadRecordset($sql, $conn);
		if ($rs && !$rs->EOF) {
			$res = TRUE;
			$this->loadRowValues($rs); // Load row values
			$rs->close();
		}
		return $res;
	}

	// Load row values from recordset
	public function loadRowValues($rs = NULL)
	{
		if ($rs && !$rs->EOF)
			$row = $rs->fields;
		else
			$row = $this->newRow();

		// Call Row Selected event
		$this->Row_Selected($row);
		if (!$rs || $rs->EOF)
			return;
		$this->id->setDbValue($row['id']);
		$this->kind->setDbValue($row['kind']);
		$this->deleted->setDbValue($row['deleted']);
		$this->mls_id->setDbValue($row['mls_id']);
		$this->mls_id_num->setDbValue($row['mls_id_num']);
		$this->parent->setDbValue($row['parent']);
		$this->pic_numb->setDbValue($row['pic_numb']);
		$this->user_id->setDbValue($row['user_id']);
		$this->listing->setDbValue($row['listing']);
		$this->property_type->setDbValue($row['property_type']);
		$this->location1_id->setDbValue($row['location1_id']);
		$this->location2_id->setDbValue($row['location2_id']);
		$this->location3_id->setDbValue($row['location3_id']);
		$this->location4_id->setDbValue($row['location4_id']);
		$this->location5_id->setDbValue($row['location5_id']);
		$this->location6_id->setDbValue($row['location6_id']);
		$this->location7_id->setDbValue($row['location7_id']);
		$this->location1_name->setDbValue($row['location1_name']);
		$this->location2_name->setDbValue($row['location2_name']);
		$this->location3_name->setDbValue($row['location3_name']);
		$this->location4_name->setDbValue($row['location4_name']);
		$this->location5_name->setDbValue($row['location5_name']);
		$this->location6_name->setDbValue($row['location6_name']);
		$this->location7_name->setDbValue($row['location7_name']);
		$this->show_address->setDbValue($row['show_address']);
		$this->show_marker->setDbValue($row['show_marker']);
		$this->price->setDbValue($row['price']);
		$this->price_unit->setDbValue($row['price_unit']);
		$this->price_si->setDbValue($row['price_si']);
		$this->price_period->setDbValue($row['price_period']);
		$this->bedrooms->setDbValue($row['bedrooms']);
		$this->rooms->setDbValue($row['rooms']);
		$this->bathrooms->setDbValue($row['bathrooms']);
		$this->living_area->setDbValue($row['living_area']);
		$this->living_area_unit->setDbValue($row['living_area_unit']);
		$this->living_area_si->setDbValue($row['living_area_si']);
		$this->lot_area->setDbValue($row['lot_area']);
		$this->lot_area_unit->setDbValue($row['lot_area_unit']);
		$this->lot_area_si->setDbValue($row['lot_area_si']);
		$this->googlemap_lt->setDbValue($row['googlemap_lt']);
		$this->googlemap_ln->setDbValue($row['googlemap_ln']);
		$this->finalized->setDbValue($row['finalized']);
		$this->add_date->setDbValue($row['add_date']);
		$this->last_finalize_date->setDbValue($row['last_finalize_date']);
		$this->expire_days->setDbValue($row['expire_days']);
		$this->confirmed->setDbValue($row['confirmed']);
		$this->expired->setDbValue($row['expired']);
		$this->build_year->setDbValue($row['build_year']);
		$this->zip_id->setDbValue($row['zip_id']);
		$this->zip_name->setDbValue($row['zip_name']);
		$this->last_modified_time_stamp->setDbValue($row['last_modified_time_stamp']);
		$this->post_code->setDbValue($row['post_code']);
		$this->meta_description->setDbValue($row['meta_description']);
		$this->meta_description_manual->setDbValue($row['meta_description_manual']);
		$this->meta_keywords->setDbValue($row['meta_keywords']);
		$this->meta_keywords_manual->setDbValue($row['meta_keywords_manual']);
		$this->street_no->setDbValue($row['street_no']);
		$this->sp_featured->setDbValue($row['sp_featured']);
		$this->sp_hot->setDbValue($row['sp_hot']);
		$this->sp_openhouse->setDbValue($row['sp_openhouse']);
		$this->sp_forclosure->setDbValue($row['sp_forclosure']);
		$this->textsearch->setDbValue($row['textsearch']);
		$this->location_text->setDbValue($row['location_text']);
		$this->field_42->setDbValue($row['field_42']);
		$this->field_312->setDbValue($row['field_312']);
		$this->field_313->setDbValue($row['field_313']);
		$this->field_308->setDbValue($row['field_308']);
		$this->field_7->setDbValue($row['field_7']);
		$this->n_103->setDbValue($row['n_103']);
		$this->n_103_distance->setDbValue($row['n_103_distance']);
		$this->n_103_distance_by->setDbValue($row['n_103_distance_by']);
		$this->n_105->setDbValue($row['n_105']);
		$this->n_105_distance->setDbValue($row['n_105_distance']);
		$this->n_105_distance_by->setDbValue($row['n_105_distance_by']);
		$this->n_107->setDbValue($row['n_107']);
		$this->n_107_distance->setDbValue($row['n_107_distance']);
		$this->n_107_distance_by->setDbValue($row['n_107_distance_by']);
		$this->n_108->setDbValue($row['n_108']);
		$this->n_108_distance->setDbValue($row['n_108_distance']);
		$this->n_108_distance_by->setDbValue($row['n_108_distance_by']);
		$this->n_109->setDbValue($row['n_109']);
		$this->n_109_distance->setDbValue($row['n_109_distance']);
		$this->n_109_distance_by->setDbValue($row['n_109_distance_by']);
		$this->f_131_options->setDbValue($row['f_131_options']);
		$this->f_131->setDbValue($row['f_131']);
		$this->f_137_options->setDbValue($row['f_137_options']);
		$this->f_137->setDbValue($row['f_137']);
		$this->f_139_options->setDbValue($row['f_139_options']);
		$this->f_139->setDbValue($row['f_139']);
		$this->f_144_options->setDbValue($row['f_144_options']);
		$this->f_144->setDbValue($row['f_144']);
		$this->f_146_options->setDbValue($row['f_146_options']);
		$this->f_146->setDbValue($row['f_146']);
		$this->f_149_options->setDbValue($row['f_149_options']);
		$this->f_149->setDbValue($row['f_149']);
		$this->f_150_options->setDbValue($row['f_150_options']);
		$this->f_150->setDbValue($row['f_150']);
		$this->f_156_options->setDbValue($row['f_156_options']);
		$this->f_156->setDbValue($row['f_156']);
		$this->f_157_options->setDbValue($row['f_157_options']);
		$this->f_157->setDbValue($row['f_157']);
		$this->f_159_options->setDbValue($row['f_159_options']);
		$this->f_159->setDbValue($row['f_159']);
		$this->f_161_options->setDbValue($row['f_161_options']);
		$this->f_161->setDbValue($row['f_161']);
		$this->f_163_options->setDbValue($row['f_163_options']);
		$this->f_163->setDbValue($row['f_163']);
		$this->f_165_options->setDbValue($row['f_165_options']);
		$this->f_165->setDbValue($row['f_165']);
		$this->f_166_options->setDbValue($row['f_166_options']);
		$this->f_166->setDbValue($row['f_166']);
		$this->ref_id->setDbValue($row['ref_id']);
		$this->field_54->setDbValue($row['field_54']);
		$this->half_bathrooms->setDbValue($row['half_bathrooms']);
		$this->field_55->setDbValue($row['field_55']);
		$this->rendered->setDbValue($row['rendered']);
		$this->alias->setDbValue($row['alias']);
		$this->source->setDbValue($row['source']);
		$this->last_sync_date->setDbValue($row['last_sync_date']);
		$this->street_suffix->setDbValue($row['street_suffix']);
		$this->energy_tag->setDbValue($row['energy_tag']);
		$this->field_3006->setDbValue($row['field_3006']);
		$this->field_3007->setDbValue($row['field_3007']);
		$this->field_3008->setDbValue($row['field_3008']);
		$this->importer_structure_id->setDbValue($row['importer_structure_id']);
		$this->importer_params->setDbValue($row['importer_params']);
		$this->field_3009->setDbValue($row['field_3009']);
		$this->field_3010->setDbValue($row['field_3010']);
		$this->field_3012->setDbValue($row['field_3012']);
		$this->rendered_en_us->setDbValue($row['rendered_en_us']);
		$this->textsearch_en_us->setDbValue($row['textsearch_en_us']);
		$this->rendered_fr_fr->setDbValue($row['rendered_fr_fr']);
		$this->textsearch_fr_fr->setDbValue($row['textsearch_fr_fr']);
		$this->field_3013->setDbValue($row['field_3013']);
		$this->field_3014->setDbValue($row['field_3014']);
		$this->f_3014_options->setDbValue($row['f_3014_options']);
		$this->f_3014->setDbValue($row['f_3014']);
		$this->field_3015->setDbValue($row['field_3015']);
		$this->field_3016->setDbValue($row['field_3016']);
		$this->field_3017->setDbValue($row['field_3017']);
		$this->f_3018_options->setDbValue($row['f_3018_options']);
		$this->f_3018->setDbValue($row['f_3018']);
		$this->f_3019_options->setDbValue($row['f_3019_options']);
		$this->f_3019->setDbValue($row['f_3019']);
		$this->f_3020_options->setDbValue($row['f_3020_options']);
		$this->f_3020->setDbValue($row['f_3020']);
		$this->f_3021_options->setDbValue($row['f_3021_options']);
		$this->f_3021->setDbValue($row['f_3021']);
		$this->f_3022_options->setDbValue($row['f_3022_options']);
		$this->f_3022->setDbValue($row['f_3022']);
		$this->f_3023_options->setDbValue($row['f_3023_options']);
		$this->f_3023->setDbValue($row['f_3023']);
		$this->f_3024_options->setDbValue($row['f_3024_options']);
		$this->f_3024->setDbValue($row['f_3024']);
		$this->f_3025_options->setDbValue($row['f_3025_options']);
		$this->f_3025->setDbValue($row['f_3025']);
		$this->f_3026_options->setDbValue($row['f_3026_options']);
		$this->f_3026->setDbValue($row['f_3026']);
		$this->f_3027_options->setDbValue($row['f_3027_options']);
		$this->f_3027->setDbValue($row['f_3027']);
		$this->f_3028_options->setDbValue($row['f_3028_options']);
		$this->f_3028->setDbValue($row['f_3028']);
		$this->f_3029_options->setDbValue($row['f_3029_options']);
		$this->f_3029->setDbValue($row['f_3029']);
		$this->f_3031_options->setDbValue($row['f_3031_options']);
		$this->f_3031->setDbValue($row['f_3031']);
		$this->f_3032_options->setDbValue($row['f_3032_options']);
		$this->f_3032->setDbValue($row['f_3032']);
		$this->f_3033_options->setDbValue($row['f_3033_options']);
		$this->f_3033->setDbValue($row['f_3033']);
		$this->f_3034_options->setDbValue($row['f_3034_options']);
		$this->f_3034->setDbValue($row['f_3034']);
		$this->f_3035_options->setDbValue($row['f_3035_options']);
		$this->f_3035->setDbValue($row['f_3035']);
		$this->f_3036_options->setDbValue($row['f_3036_options']);
		$this->f_3036->setDbValue($row['f_3036']);
		$this->f_3037_options->setDbValue($row['f_3037_options']);
		$this->f_3037->setDbValue($row['f_3037']);
		$this->f_3038_options->setDbValue($row['f_3038_options']);
		$this->f_3038->setDbValue($row['f_3038']);
		$this->f_3039_options->setDbValue($row['f_3039_options']);
		$this->f_3039->setDbValue($row['f_3039']);
		$this->f_3040_options->setDbValue($row['f_3040_options']);
		$this->f_3040->setDbValue($row['f_3040']);
		$this->f_3041_options->setDbValue($row['f_3041_options']);
		$this->f_3041->setDbValue($row['f_3041']);
		$this->f_3042_options->setDbValue($row['f_3042_options']);
		$this->f_3042->setDbValue($row['f_3042']);
		$this->f_3043_options->setDbValue($row['f_3043_options']);
		$this->f_3043->setDbValue($row['f_3043']);
		$this->f_3044_options->setDbValue($row['f_3044_options']);
		$this->f_3044->setDbValue($row['f_3044']);
		$this->n_3045->setDbValue($row['n_3045']);
		$this->n_3045_distance->setDbValue($row['n_3045_distance']);
		$this->n_3045_distance_by->setDbValue($row['n_3045_distance_by']);
		$this->n_3046->setDbValue($row['n_3046']);
		$this->n_3046_distance->setDbValue($row['n_3046_distance']);
		$this->n_3046_distance_by->setDbValue($row['n_3046_distance_by']);
		$this->n_3047->setDbValue($row['n_3047']);
		$this->n_3047_distance->setDbValue($row['n_3047_distance']);
		$this->n_3047_distance_by->setDbValue($row['n_3047_distance_by']);
		$this->n_3048->setDbValue($row['n_3048']);
		$this->n_3048_distance->setDbValue($row['n_3048_distance']);
		$this->n_3048_distance_by->setDbValue($row['n_3048_distance_by']);
		$this->n_3049->setDbValue($row['n_3049']);
		$this->n_3049_distance->setDbValue($row['n_3049_distance']);
		$this->n_3049_distance_by->setDbValue($row['n_3049_distance_by']);
		$this->n_3050->setDbValue($row['n_3050']);
		$this->n_3050_distance->setDbValue($row['n_3050_distance']);
		$this->n_3050_distance_by->setDbValue($row['n_3050_distance_by']);
		$this->n_3051->setDbValue($row['n_3051']);
		$this->n_3051_distance->setDbValue($row['n_3051_distance']);
		$this->n_3051_distance_by->setDbValue($row['n_3051_distance_by']);
		$this->n_3052->setDbValue($row['n_3052']);
		$this->n_3052_distance->setDbValue($row['n_3052_distance']);
		$this->n_3052_distance_by->setDbValue($row['n_3052_distance_by']);
		$this->n_3053->setDbValue($row['n_3053']);
		$this->n_3053_distance->setDbValue($row['n_3053_distance']);
		$this->n_3053_distance_by->setDbValue($row['n_3053_distance_by']);
		$this->n_3054->setDbValue($row['n_3054']);
		$this->n_3054_distance->setDbValue($row['n_3054_distance']);
		$this->n_3054_distance_by->setDbValue($row['n_3054_distance_by']);
		$this->n_3055->setDbValue($row['n_3055']);
		$this->n_3055_distance->setDbValue($row['n_3055_distance']);
		$this->n_3055_distance_by->setDbValue($row['n_3055_distance_by']);
		$this->n_3056->setDbValue($row['n_3056']);
		$this->n_3056_distance->setDbValue($row['n_3056_distance']);
		$this->n_3056_distance_by->setDbValue($row['n_3056_distance_by']);
		$this->n_3057->setDbValue($row['n_3057']);
		$this->n_3057_distance->setDbValue($row['n_3057_distance']);
		$this->n_3057_distance_by->setDbValue($row['n_3057_distance_by']);
		$this->n_3058->setDbValue($row['n_3058']);
		$this->n_3058_distance->setDbValue($row['n_3058_distance']);
		$this->n_3058_distance_by->setDbValue($row['n_3058_distance_by']);
		$this->n_3059->setDbValue($row['n_3059']);
		$this->n_3059_distance->setDbValue($row['n_3059_distance']);
		$this->n_3059_distance_by->setDbValue($row['n_3059_distance_by']);
		$this->f_3060_options->setDbValue($row['f_3060_options']);
		$this->f_3060->setDbValue($row['f_3060']);
		$this->f_3061_options->setDbValue($row['f_3061_options']);
		$this->f_3061->setDbValue($row['f_3061']);
		$this->f_3062_options->setDbValue($row['f_3062_options']);
		$this->f_3062->setDbValue($row['f_3062']);
		$this->field_3063->setDbValue($row['field_3063']);
		$this->field_3064->setDbValue($row['field_3064']);
		$this->field_3065->setDbValue($row['field_3065']);
		$this->field_308_en_us->setDbValue($row['field_308_en_us']);
		$this->field_308_fr_fr->setDbValue($row['field_308_fr_fr']);
		$this->field_313_en_us->setDbValue($row['field_313_en_us']);
		$this->field_313_fr_fr->setDbValue($row['field_313_fr_fr']);
		$this->field_312_en_us->setDbValue($row['field_312_en_us']);
		$this->field_312_fr_fr->setDbValue($row['field_312_fr_fr']);
		$this->field_3017_en_us->setDbValue($row['field_3017_en_us']);
		$this->field_3017_fr_fr->setDbValue($row['field_3017_fr_fr']);
		$this->field_42_en_us->setDbValue($row['field_42_en_us']);
		$this->field_42_fr_fr->setDbValue($row['field_42_fr_fr']);
		$this->field_3067->setDbValue($row['field_3067']);
		$this->field_3068->setDbValue($row['field_3068']);
		$this->field_3069->setDbValue($row['field_3069']);
		$this->field_3070->setDbValue($row['field_3070']);
		$this->field_3071->setDbValue($row['field_3071']);
		$this->field_3071_en_us->setDbValue($row['field_3071_en_us']);
		$this->field_3071_fr_fr->setDbValue($row['field_3071_fr_fr']);
		$this->field_3072->setDbValue($row['field_3072']);
		$this->field_3073->setDbValue($row['field_3073']);
		$this->field_3074->setDbValue($row['field_3074']);
		$this->field_3074_en_us->setDbValue($row['field_3074_en_us']);
		$this->field_3074_fr_fr->setDbValue($row['field_3074_fr_fr']);
		$this->field_3075->setDbValue($row['field_3075']);
		$this->field_3076->setDbValue($row['field_3076']);
		$this->field_3077->setDbValue($row['field_3077']);
		$this->field_3078->setDbValue($row['field_3078']);
		$this->field_3079->setDbValue($row['field_3079']);
		$this->field_3080->setDbValue($row['field_3080']);
		$this->field_3076_en_us->setDbValue($row['field_3076_en_us']);
		$this->field_3076_fr_fr->setDbValue($row['field_3076_fr_fr']);
		$this->field_3080_en_us->setDbValue($row['field_3080_en_us']);
		$this->field_3080_fr_fr->setDbValue($row['field_3080_fr_fr']);
		$this->field_3081->setDbValue($row['field_3081']);
		$this->field_3081_en_us->setDbValue($row['field_3081_en_us']);
		$this->field_3081_fr_fr->setDbValue($row['field_3081_fr_fr']);
		$this->field_3082->setDbValue($row['field_3082']);
		$this->field_3082_en_us->setDbValue($row['field_3082_en_us']);
		$this->field_3082_fr_fr->setDbValue($row['field_3082_fr_fr']);
		$this->field_3084->setDbValue($row['field_3084']);
		$this->field_3085->setDbValue($row['field_3085']);
		$this->field_3086->setDbValue($row['field_3086']);
		$this->field_3096->setDbValue($row['field_3096']);
		$this->field_3097->setDbValue($row['field_3097']);
		$this->field_3098->setDbValue($row['field_3098']);
		$this->field_3099->setDbValue($row['field_3099']);
		$this->field_3100->setDbValue($row['field_3100']);
		$this->field_3101->setDbValue($row['field_3101']);
		$this->field_3102->setDbValue($row['field_3102']);
		$this->field_3103->setDbValue($row['field_3103']);
		$this->field_3104->setDbValue($row['field_3104']);
		$this->field_3105->setDbValue($row['field_3105']);
		$this->field_3106->setDbValue($row['field_3106']);
		$this->field_3107->setDbValue($row['field_3107']);
		$this->field_3108->setDbValue($row['field_3108']);
		$this->field_3109->setDbValue($row['field_3109']);
		$this->field_3110->setDbValue($row['field_3110']);
		$this->field_3111->setDbValue($row['field_3111']);
		$this->field_3112->setDbValue($row['field_3112']);
		$this->field_3113->setDbValue($row['field_3113']);
		$this->field_3113_en_us->setDbValue($row['field_3113_en_us']);
		$this->field_3113_fr_fr->setDbValue($row['field_3113_fr_fr']);
		$this->field_3114->setDbValue($row['field_3114']);
		$this->field_3114_en_us->setDbValue($row['field_3114_en_us']);
		$this->field_3114_fr_fr->setDbValue($row['field_3114_fr_fr']);
		$this->field_3115->setDbValue($row['field_3115']);
		$this->field_3115_si->setDbValue($row['field_3115_si']);
		$this->field_3115_unit->setDbValue($row['field_3115_unit']);
		$this->field_3116->setDbValue($row['field_3116']);
		$this->field_3117->setDbValue($row['field_3117']);
		$this->field_3117_en_us->setDbValue($row['field_3117_en_us']);
		$this->field_3117_fr_fr->setDbValue($row['field_3117_fr_fr']);
		$this->field_3118->setDbValue($row['field_3118']);
		$this->field_3118_en_us->setDbValue($row['field_3118_en_us']);
		$this->field_3118_fr_fr->setDbValue($row['field_3118_fr_fr']);
		$this->field_3119->setDbValue($row['field_3119']);
		$this->field_3119_en_us->setDbValue($row['field_3119_en_us']);
		$this->field_3119_fr_fr->setDbValue($row['field_3119_fr_fr']);
		$this->field_3120->setDbValue($row['field_3120']);
		$this->field_3120_en_us->setDbValue($row['field_3120_en_us']);
		$this->field_3120_fr_fr->setDbValue($row['field_3120_fr_fr']);
		$this->field_3121->setDbValue($row['field_3121']);
		$this->field_3122->setDbValue($row['field_3122']);
		$this->field_3122_si->setDbValue($row['field_3122_si']);
		$this->field_3122_unit->setDbValue($row['field_3122_unit']);
		$this->field_3123->setDbValue($row['field_3123']);
		$this->field_3124->setDbValue($row['field_3124']);
		$this->field_3125->setDbValue($row['field_3125']);
		$this->field_3126->setDbValue($row['field_3126']);
		$this->field_3127->setDbValue($row['field_3127']);
		$this->field_3128->setDbValue($row['field_3128']);
		$this->field_3129->setDbValue($row['field_3129']);
		$this->field_3130->setDbValue($row['field_3130']);
		$this->field_3131->setDbValue($row['field_3131']);
		$this->field_3132->setDbValue($row['field_3132']);
		$this->field_3133->setDbValue($row['field_3133']);
		$this->field_3134->setDbValue($row['field_3134']);
		$this->field_3135->setDbValue($row['field_3135']);
		$this->field_3136->setDbValue($row['field_3136']);
		$this->field_3137->setDbValue($row['field_3137']);
		$this->field_3138->setDbValue($row['field_3138']);
		$this->field_3139->setDbValue($row['field_3139']);
		$this->field_3140->setDbValue($row['field_3140']);
		$this->field_3141->setDbValue($row['field_3141']);
		$this->field_3142->setDbValue($row['field_3142']);
		$this->field_3143->setDbValue($row['field_3143']);
		$this->field_3144->setDbValue($row['field_3144']);
		$this->field_3145->setDbValue($row['field_3145']);
		$this->field_3146->setDbValue($row['field_3146']);
		$this->field_3147->setDbValue($row['field_3147']);
		$this->field_3148->setDbValue($row['field_3148']);
		$this->field_3149->setDbValue($row['field_3149']);
		$this->field_3150->setDbValue($row['field_3150']);
		$this->field_3151->setDbValue($row['field_3151']);
		$this->field_3152->setDbValue($row['field_3152']);
		$this->field_3153->setDbValue($row['field_3153']);
		$this->field_3154->setDbValue($row['field_3154']);
		$this->field_3155->setDbValue($row['field_3155']);
		$this->field_3156->setDbValue($row['field_3156']);
		$this->field_3157->setDbValue($row['field_3157']);
		$this->field_3158->setDbValue($row['field_3158']);
		$this->field_3159->setDbValue($row['field_3159']);
		$this->field_3160->setDbValue($row['field_3160']);
		$this->field_3161->setDbValue($row['field_3161']);
		$this->field_3162->setDbValue($row['field_3162']);
		$this->field_3163->setDbValue($row['field_3163']);
		$this->field_3164->setDbValue($row['field_3164']);
		$this->field_3165->setDbValue($row['field_3165']);
		$this->field_3166->setDbValue($row['field_3166']);
		$this->field_3167->setDbValue($row['field_3167']);
		$this->field_3168->setDbValue($row['field_3168']);
		$this->field_3169->setDbValue($row['field_3169']);
		$this->field_3170->setDbValue($row['field_3170']);
		$this->field_3171->setDbValue($row['field_3171']);
		$this->field_3172->setDbValue($row['field_3172']);
		$this->field_3173->setDbValue($row['field_3173']);
		$this->field_3173_si->setDbValue($row['field_3173_si']);
		$this->field_3173_unit->setDbValue($row['field_3173_unit']);
		$this->field_3180->setDbValue($row['field_3180']);
		$this->field_3180_en_us->setDbValue($row['field_3180_en_us']);
		$this->field_3180_fr_fr->setDbValue($row['field_3180_fr_fr']);
		$this->field_3181->setDbValue($row['field_3181']);
		$this->field_3182->setDbValue($row['field_3182']);
		$this->n_3189->setDbValue($row['n_3189']);
		$this->n_3189_distance->setDbValue($row['n_3189_distance']);
		$this->n_3189_distance_by->setDbValue($row['n_3189_distance_by']);
	}

	// Return a row with default values
	protected function newRow()
	{
		$row = [];
		$row['id'] = NULL;
		$row['kind'] = NULL;
		$row['deleted'] = NULL;
		$row['mls_id'] = NULL;
		$row['mls_id_num'] = NULL;
		$row['parent'] = NULL;
		$row['pic_numb'] = NULL;
		$row['user_id'] = NULL;
		$row['listing'] = NULL;
		$row['property_type'] = NULL;
		$row['location1_id'] = NULL;
		$row['location2_id'] = NULL;
		$row['location3_id'] = NULL;
		$row['location4_id'] = NULL;
		$row['location5_id'] = NULL;
		$row['location6_id'] = NULL;
		$row['location7_id'] = NULL;
		$row['location1_name'] = NULL;
		$row['location2_name'] = NULL;
		$row['location3_name'] = NULL;
		$row['location4_name'] = NULL;
		$row['location5_name'] = NULL;
		$row['location6_name'] = NULL;
		$row['location7_name'] = NULL;
		$row['show_address'] = NULL;
		$row['show_marker'] = NULL;
		$row['price'] = NULL;
		$row['price_unit'] = NULL;
		$row['price_si'] = NULL;
		$row['price_period'] = NULL;
		$row['bedrooms'] = NULL;
		$row['rooms'] = NULL;
		$row['bathrooms'] = NULL;
		$row['living_area'] = NULL;
		$row['living_area_unit'] = NULL;
		$row['living_area_si'] = NULL;
		$row['lot_area'] = NULL;
		$row['lot_area_unit'] = NULL;
		$row['lot_area_si'] = NULL;
		$row['googlemap_lt'] = NULL;
		$row['googlemap_ln'] = NULL;
		$row['finalized'] = NULL;
		$row['add_date'] = NULL;
		$row['last_finalize_date'] = NULL;
		$row['expire_days'] = NULL;
		$row['confirmed'] = NULL;
		$row['expired'] = NULL;
		$row['build_year'] = NULL;
		$row['zip_id'] = NULL;
		$row['zip_name'] = NULL;
		$row['last_modified_time_stamp'] = NULL;
		$row['post_code'] = NULL;
		$row['meta_description'] = NULL;
		$row['meta_description_manual'] = NULL;
		$row['meta_keywords'] = NULL;
		$row['meta_keywords_manual'] = NULL;
		$row['street_no'] = NULL;
		$row['sp_featured'] = NULL;
		$row['sp_hot'] = NULL;
		$row['sp_openhouse'] = NULL;
		$row['sp_forclosure'] = NULL;
		$row['textsearch'] = NULL;
		$row['location_text'] = NULL;
		$row['field_42'] = NULL;
		$row['field_312'] = NULL;
		$row['field_313'] = NULL;
		$row['field_308'] = NULL;
		$row['field_7'] = NULL;
		$row['n_103'] = NULL;
		$row['n_103_distance'] = NULL;
		$row['n_103_distance_by'] = NULL;
		$row['n_105'] = NULL;
		$row['n_105_distance'] = NULL;
		$row['n_105_distance_by'] = NULL;
		$row['n_107'] = NULL;
		$row['n_107_distance'] = NULL;
		$row['n_107_distance_by'] = NULL;
		$row['n_108'] = NULL;
		$row['n_108_distance'] = NULL;
		$row['n_108_distance_by'] = NULL;
		$row['n_109'] = NULL;
		$row['n_109_distance'] = NULL;
		$row['n_109_distance_by'] = NULL;
		$row['f_131_options'] = NULL;
		$row['f_131'] = NULL;
		$row['f_137_options'] = NULL;
		$row['f_137'] = NULL;
		$row['f_139_options'] = NULL;
		$row['f_139'] = NULL;
		$row['f_144_options'] = NULL;
		$row['f_144'] = NULL;
		$row['f_146_options'] = NULL;
		$row['f_146'] = NULL;
		$row['f_149_options'] = NULL;
		$row['f_149'] = NULL;
		$row['f_150_options'] = NULL;
		$row['f_150'] = NULL;
		$row['f_156_options'] = NULL;
		$row['f_156'] = NULL;
		$row['f_157_options'] = NULL;
		$row['f_157'] = NULL;
		$row['f_159_options'] = NULL;
		$row['f_159'] = NULL;
		$row['f_161_options'] = NULL;
		$row['f_161'] = NULL;
		$row['f_163_options'] = NULL;
		$row['f_163'] = NULL;
		$row['f_165_options'] = NULL;
		$row['f_165'] = NULL;
		$row['f_166_options'] = NULL;
		$row['f_166'] = NULL;
		$row['ref_id'] = NULL;
		$row['field_54'] = NULL;
		$row['half_bathrooms'] = NULL;
		$row['field_55'] = NULL;
		$row['rendered'] = NULL;
		$row['alias'] = NULL;
		$row['source'] = NULL;
		$row['last_sync_date'] = NULL;
		$row['street_suffix'] = NULL;
		$row['energy_tag'] = NULL;
		$row['field_3006'] = NULL;
		$row['field_3007'] = NULL;
		$row['field_3008'] = NULL;
		$row['importer_structure_id'] = NULL;
		$row['importer_params'] = NULL;
		$row['field_3009'] = NULL;
		$row['field_3010'] = NULL;
		$row['field_3012'] = NULL;
		$row['rendered_en_us'] = NULL;
		$row['textsearch_en_us'] = NULL;
		$row['rendered_fr_fr'] = NULL;
		$row['textsearch_fr_fr'] = NULL;
		$row['field_3013'] = NULL;
		$row['field_3014'] = NULL;
		$row['f_3014_options'] = NULL;
		$row['f_3014'] = NULL;
		$row['field_3015'] = NULL;
		$row['field_3016'] = NULL;
		$row['field_3017'] = NULL;
		$row['f_3018_options'] = NULL;
		$row['f_3018'] = NULL;
		$row['f_3019_options'] = NULL;
		$row['f_3019'] = NULL;
		$row['f_3020_options'] = NULL;
		$row['f_3020'] = NULL;
		$row['f_3021_options'] = NULL;
		$row['f_3021'] = NULL;
		$row['f_3022_options'] = NULL;
		$row['f_3022'] = NULL;
		$row['f_3023_options'] = NULL;
		$row['f_3023'] = NULL;
		$row['f_3024_options'] = NULL;
		$row['f_3024'] = NULL;
		$row['f_3025_options'] = NULL;
		$row['f_3025'] = NULL;
		$row['f_3026_options'] = NULL;
		$row['f_3026'] = NULL;
		$row['f_3027_options'] = NULL;
		$row['f_3027'] = NULL;
		$row['f_3028_options'] = NULL;
		$row['f_3028'] = NULL;
		$row['f_3029_options'] = NULL;
		$row['f_3029'] = NULL;
		$row['f_3031_options'] = NULL;
		$row['f_3031'] = NULL;
		$row['f_3032_options'] = NULL;
		$row['f_3032'] = NULL;
		$row['f_3033_options'] = NULL;
		$row['f_3033'] = NULL;
		$row['f_3034_options'] = NULL;
		$row['f_3034'] = NULL;
		$row['f_3035_options'] = NULL;
		$row['f_3035'] = NULL;
		$row['f_3036_options'] = NULL;
		$row['f_3036'] = NULL;
		$row['f_3037_options'] = NULL;
		$row['f_3037'] = NULL;
		$row['f_3038_options'] = NULL;
		$row['f_3038'] = NULL;
		$row['f_3039_options'] = NULL;
		$row['f_3039'] = NULL;
		$row['f_3040_options'] = NULL;
		$row['f_3040'] = NULL;
		$row['f_3041_options'] = NULL;
		$row['f_3041'] = NULL;
		$row['f_3042_options'] = NULL;
		$row['f_3042'] = NULL;
		$row['f_3043_options'] = NULL;
		$row['f_3043'] = NULL;
		$row['f_3044_options'] = NULL;
		$row['f_3044'] = NULL;
		$row['n_3045'] = NULL;
		$row['n_3045_distance'] = NULL;
		$row['n_3045_distance_by'] = NULL;
		$row['n_3046'] = NULL;
		$row['n_3046_distance'] = NULL;
		$row['n_3046_distance_by'] = NULL;
		$row['n_3047'] = NULL;
		$row['n_3047_distance'] = NULL;
		$row['n_3047_distance_by'] = NULL;
		$row['n_3048'] = NULL;
		$row['n_3048_distance'] = NULL;
		$row['n_3048_distance_by'] = NULL;
		$row['n_3049'] = NULL;
		$row['n_3049_distance'] = NULL;
		$row['n_3049_distance_by'] = NULL;
		$row['n_3050'] = NULL;
		$row['n_3050_distance'] = NULL;
		$row['n_3050_distance_by'] = NULL;
		$row['n_3051'] = NULL;
		$row['n_3051_distance'] = NULL;
		$row['n_3051_distance_by'] = NULL;
		$row['n_3052'] = NULL;
		$row['n_3052_distance'] = NULL;
		$row['n_3052_distance_by'] = NULL;
		$row['n_3053'] = NULL;
		$row['n_3053_distance'] = NULL;
		$row['n_3053_distance_by'] = NULL;
		$row['n_3054'] = NULL;
		$row['n_3054_distance'] = NULL;
		$row['n_3054_distance_by'] = NULL;
		$row['n_3055'] = NULL;
		$row['n_3055_distance'] = NULL;
		$row['n_3055_distance_by'] = NULL;
		$row['n_3056'] = NULL;
		$row['n_3056_distance'] = NULL;
		$row['n_3056_distance_by'] = NULL;
		$row['n_3057'] = NULL;
		$row['n_3057_distance'] = NULL;
		$row['n_3057_distance_by'] = NULL;
		$row['n_3058'] = NULL;
		$row['n_3058_distance'] = NULL;
		$row['n_3058_distance_by'] = NULL;
		$row['n_3059'] = NULL;
		$row['n_3059_distance'] = NULL;
		$row['n_3059_distance_by'] = NULL;
		$row['f_3060_options'] = NULL;
		$row['f_3060'] = NULL;
		$row['f_3061_options'] = NULL;
		$row['f_3061'] = NULL;
		$row['f_3062_options'] = NULL;
		$row['f_3062'] = NULL;
		$row['field_3063'] = NULL;
		$row['field_3064'] = NULL;
		$row['field_3065'] = NULL;
		$row['field_308_en_us'] = NULL;
		$row['field_308_fr_fr'] = NULL;
		$row['field_313_en_us'] = NULL;
		$row['field_313_fr_fr'] = NULL;
		$row['field_312_en_us'] = NULL;
		$row['field_312_fr_fr'] = NULL;
		$row['field_3017_en_us'] = NULL;
		$row['field_3017_fr_fr'] = NULL;
		$row['field_42_en_us'] = NULL;
		$row['field_42_fr_fr'] = NULL;
		$row['field_3067'] = NULL;
		$row['field_3068'] = NULL;
		$row['field_3069'] = NULL;
		$row['field_3070'] = NULL;
		$row['field_3071'] = NULL;
		$row['field_3071_en_us'] = NULL;
		$row['field_3071_fr_fr'] = NULL;
		$row['field_3072'] = NULL;
		$row['field_3073'] = NULL;
		$row['field_3074'] = NULL;
		$row['field_3074_en_us'] = NULL;
		$row['field_3074_fr_fr'] = NULL;
		$row['field_3075'] = NULL;
		$row['field_3076'] = NULL;
		$row['field_3077'] = NULL;
		$row['field_3078'] = NULL;
		$row['field_3079'] = NULL;
		$row['field_3080'] = NULL;
		$row['field_3076_en_us'] = NULL;
		$row['field_3076_fr_fr'] = NULL;
		$row['field_3080_en_us'] = NULL;
		$row['field_3080_fr_fr'] = NULL;
		$row['field_3081'] = NULL;
		$row['field_3081_en_us'] = NULL;
		$row['field_3081_fr_fr'] = NULL;
		$row['field_3082'] = NULL;
		$row['field_3082_en_us'] = NULL;
		$row['field_3082_fr_fr'] = NULL;
		$row['field_3084'] = NULL;
		$row['field_3085'] = NULL;
		$row['field_3086'] = NULL;
		$row['field_3096'] = NULL;
		$row['field_3097'] = NULL;
		$row['field_3098'] = NULL;
		$row['field_3099'] = NULL;
		$row['field_3100'] = NULL;
		$row['field_3101'] = NULL;
		$row['field_3102'] = NULL;
		$row['field_3103'] = NULL;
		$row['field_3104'] = NULL;
		$row['field_3105'] = NULL;
		$row['field_3106'] = NULL;
		$row['field_3107'] = NULL;
		$row['field_3108'] = NULL;
		$row['field_3109'] = NULL;
		$row['field_3110'] = NULL;
		$row['field_3111'] = NULL;
		$row['field_3112'] = NULL;
		$row['field_3113'] = NULL;
		$row['field_3113_en_us'] = NULL;
		$row['field_3113_fr_fr'] = NULL;
		$row['field_3114'] = NULL;
		$row['field_3114_en_us'] = NULL;
		$row['field_3114_fr_fr'] = NULL;
		$row['field_3115'] = NULL;
		$row['field_3115_si'] = NULL;
		$row['field_3115_unit'] = NULL;
		$row['field_3116'] = NULL;
		$row['field_3117'] = NULL;
		$row['field_3117_en_us'] = NULL;
		$row['field_3117_fr_fr'] = NULL;
		$row['field_3118'] = NULL;
		$row['field_3118_en_us'] = NULL;
		$row['field_3118_fr_fr'] = NULL;
		$row['field_3119'] = NULL;
		$row['field_3119_en_us'] = NULL;
		$row['field_3119_fr_fr'] = NULL;
		$row['field_3120'] = NULL;
		$row['field_3120_en_us'] = NULL;
		$row['field_3120_fr_fr'] = NULL;
		$row['field_3121'] = NULL;
		$row['field_3122'] = NULL;
		$row['field_3122_si'] = NULL;
		$row['field_3122_unit'] = NULL;
		$row['field_3123'] = NULL;
		$row['field_3124'] = NULL;
		$row['field_3125'] = NULL;
		$row['field_3126'] = NULL;
		$row['field_3127'] = NULL;
		$row['field_3128'] = NULL;
		$row['field_3129'] = NULL;
		$row['field_3130'] = NULL;
		$row['field_3131'] = NULL;
		$row['field_3132'] = NULL;
		$row['field_3133'] = NULL;
		$row['field_3134'] = NULL;
		$row['field_3135'] = NULL;
		$row['field_3136'] = NULL;
		$row['field_3137'] = NULL;
		$row['field_3138'] = NULL;
		$row['field_3139'] = NULL;
		$row['field_3140'] = NULL;
		$row['field_3141'] = NULL;
		$row['field_3142'] = NULL;
		$row['field_3143'] = NULL;
		$row['field_3144'] = NULL;
		$row['field_3145'] = NULL;
		$row['field_3146'] = NULL;
		$row['field_3147'] = NULL;
		$row['field_3148'] = NULL;
		$row['field_3149'] = NULL;
		$row['field_3150'] = NULL;
		$row['field_3151'] = NULL;
		$row['field_3152'] = NULL;
		$row['field_3153'] = NULL;
		$row['field_3154'] = NULL;
		$row['field_3155'] = NULL;
		$row['field_3156'] = NULL;
		$row['field_3157'] = NULL;
		$row['field_3158'] = NULL;
		$row['field_3159'] = NULL;
		$row['field_3160'] = NULL;
		$row['field_3161'] = NULL;
		$row['field_3162'] = NULL;
		$row['field_3163'] = NULL;
		$row['field_3164'] = NULL;
		$row['field_3165'] = NULL;
		$row['field_3166'] = NULL;
		$row['field_3167'] = NULL;
		$row['field_3168'] = NULL;
		$row['field_3169'] = NULL;
		$row['field_3170'] = NULL;
		$row['field_3171'] = NULL;
		$row['field_3172'] = NULL;
		$row['field_3173'] = NULL;
		$row['field_3173_si'] = NULL;
		$row['field_3173_unit'] = NULL;
		$row['field_3180'] = NULL;
		$row['field_3180_en_us'] = NULL;
		$row['field_3180_fr_fr'] = NULL;
		$row['field_3181'] = NULL;
		$row['field_3182'] = NULL;
		$row['n_3189'] = NULL;
		$row['n_3189_distance'] = NULL;
		$row['n_3189_distance_by'] = NULL;
		return $row;
	}

	// Render row values based on field settings
	public function renderRow()
	{
		global $Security, $Language, $CurrentLanguage;

		// Initialize URLs
		$this->AddUrl = $this->getAddUrl();
		$this->EditUrl = $this->getEditUrl();
		$this->CopyUrl = $this->getCopyUrl();
		$this->DeleteUrl = $this->getDeleteUrl();
		$this->ListUrl = $this->getListUrl();
		$this->setupOtherOptions();

		// Convert decimal values if posted back
		if ($this->price->FormValue == $this->price->CurrentValue && is_numeric(ConvertToFloatString($this->price->CurrentValue)))
			$this->price->CurrentValue = ConvertToFloatString($this->price->CurrentValue);

		// Convert decimal values if posted back
		if ($this->price_si->FormValue == $this->price_si->CurrentValue && is_numeric(ConvertToFloatString($this->price_si->CurrentValue)))
			$this->price_si->CurrentValue = ConvertToFloatString($this->price_si->CurrentValue);

		// Convert decimal values if posted back
		if ($this->bedrooms->FormValue == $this->bedrooms->CurrentValue && is_numeric(ConvertToFloatString($this->bedrooms->CurrentValue)))
			$this->bedrooms->CurrentValue = ConvertToFloatString($this->bedrooms->CurrentValue);

		// Convert decimal values if posted back
		if ($this->rooms->FormValue == $this->rooms->CurrentValue && is_numeric(ConvertToFloatString($this->rooms->CurrentValue)))
			$this->rooms->CurrentValue = ConvertToFloatString($this->rooms->CurrentValue);

		// Convert decimal values if posted back
		if ($this->bathrooms->FormValue == $this->bathrooms->CurrentValue && is_numeric(ConvertToFloatString($this->bathrooms->CurrentValue)))
			$this->bathrooms->CurrentValue = ConvertToFloatString($this->bathrooms->CurrentValue);

		// Convert decimal values if posted back
		if ($this->living_area->FormValue == $this->living_area->CurrentValue && is_numeric(ConvertToFloatString($this->living_area->CurrentValue)))
			$this->living_area->CurrentValue = ConvertToFloatString($this->living_area->CurrentValue);

		// Convert decimal values if posted back
		if ($this->living_area_si->FormValue == $this->living_area_si->CurrentValue && is_numeric(ConvertToFloatString($this->living_area_si->CurrentValue)))
			$this->living_area_si->CurrentValue = ConvertToFloatString($this->living_area_si->CurrentValue);

		// Convert decimal values if posted back
		if ($this->lot_area->FormValue == $this->lot_area->CurrentValue && is_numeric(ConvertToFloatString($this->lot_area->CurrentValue)))
			$this->lot_area->CurrentValue = ConvertToFloatString($this->lot_area->CurrentValue);

		// Convert decimal values if posted back
		if ($this->lot_area_si->FormValue == $this->lot_area_si->CurrentValue && is_numeric(ConvertToFloatString($this->lot_area_si->CurrentValue)))
			$this->lot_area_si->CurrentValue = ConvertToFloatString($this->lot_area_si->CurrentValue);

		// Convert decimal values if posted back
		if ($this->googlemap_lt->FormValue == $this->googlemap_lt->CurrentValue && is_numeric(ConvertToFloatString($this->googlemap_lt->CurrentValue)))
			$this->googlemap_lt->CurrentValue = ConvertToFloatString($this->googlemap_lt->CurrentValue);

		// Convert decimal values if posted back
		if ($this->googlemap_ln->FormValue == $this->googlemap_ln->CurrentValue && is_numeric(ConvertToFloatString($this->googlemap_ln->CurrentValue)))
			$this->googlemap_ln->CurrentValue = ConvertToFloatString($this->googlemap_ln->CurrentValue);

		// Convert decimal values if posted back
		if ($this->half_bathrooms->FormValue == $this->half_bathrooms->CurrentValue && is_numeric(ConvertToFloatString($this->half_bathrooms->CurrentValue)))
			$this->half_bathrooms->CurrentValue = ConvertToFloatString($this->half_bathrooms->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_55->FormValue == $this->field_55->CurrentValue && is_numeric(ConvertToFloatString($this->field_55->CurrentValue)))
			$this->field_55->CurrentValue = ConvertToFloatString($this->field_55->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3096->FormValue == $this->field_3096->CurrentValue && is_numeric(ConvertToFloatString($this->field_3096->CurrentValue)))
			$this->field_3096->CurrentValue = ConvertToFloatString($this->field_3096->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3098->FormValue == $this->field_3098->CurrentValue && is_numeric(ConvertToFloatString($this->field_3098->CurrentValue)))
			$this->field_3098->CurrentValue = ConvertToFloatString($this->field_3098->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3099->FormValue == $this->field_3099->CurrentValue && is_numeric(ConvertToFloatString($this->field_3099->CurrentValue)))
			$this->field_3099->CurrentValue = ConvertToFloatString($this->field_3099->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3100->FormValue == $this->field_3100->CurrentValue && is_numeric(ConvertToFloatString($this->field_3100->CurrentValue)))
			$this->field_3100->CurrentValue = ConvertToFloatString($this->field_3100->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3101->FormValue == $this->field_3101->CurrentValue && is_numeric(ConvertToFloatString($this->field_3101->CurrentValue)))
			$this->field_3101->CurrentValue = ConvertToFloatString($this->field_3101->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3102->FormValue == $this->field_3102->CurrentValue && is_numeric(ConvertToFloatString($this->field_3102->CurrentValue)))
			$this->field_3102->CurrentValue = ConvertToFloatString($this->field_3102->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3103->FormValue == $this->field_3103->CurrentValue && is_numeric(ConvertToFloatString($this->field_3103->CurrentValue)))
			$this->field_3103->CurrentValue = ConvertToFloatString($this->field_3103->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3104->FormValue == $this->field_3104->CurrentValue && is_numeric(ConvertToFloatString($this->field_3104->CurrentValue)))
			$this->field_3104->CurrentValue = ConvertToFloatString($this->field_3104->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3115->FormValue == $this->field_3115->CurrentValue && is_numeric(ConvertToFloatString($this->field_3115->CurrentValue)))
			$this->field_3115->CurrentValue = ConvertToFloatString($this->field_3115->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3115_si->FormValue == $this->field_3115_si->CurrentValue && is_numeric(ConvertToFloatString($this->field_3115_si->CurrentValue)))
			$this->field_3115_si->CurrentValue = ConvertToFloatString($this->field_3115_si->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3122->FormValue == $this->field_3122->CurrentValue && is_numeric(ConvertToFloatString($this->field_3122->CurrentValue)))
			$this->field_3122->CurrentValue = ConvertToFloatString($this->field_3122->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3122_si->FormValue == $this->field_3122_si->CurrentValue && is_numeric(ConvertToFloatString($this->field_3122_si->CurrentValue)))
			$this->field_3122_si->CurrentValue = ConvertToFloatString($this->field_3122_si->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3167->FormValue == $this->field_3167->CurrentValue && is_numeric(ConvertToFloatString($this->field_3167->CurrentValue)))
			$this->field_3167->CurrentValue = ConvertToFloatString($this->field_3167->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3168->FormValue == $this->field_3168->CurrentValue && is_numeric(ConvertToFloatString($this->field_3168->CurrentValue)))
			$this->field_3168->CurrentValue = ConvertToFloatString($this->field_3168->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3173->FormValue == $this->field_3173->CurrentValue && is_numeric(ConvertToFloatString($this->field_3173->CurrentValue)))
			$this->field_3173->CurrentValue = ConvertToFloatString($this->field_3173->CurrentValue);

		// Convert decimal values if posted back
		if ($this->field_3173_si->FormValue == $this->field_3173_si->CurrentValue && is_numeric(ConvertToFloatString($this->field_3173_si->CurrentValue)))
			$this->field_3173_si->CurrentValue = ConvertToFloatString($this->field_3173_si->CurrentValue);

		// Call Row_Rendering event
		$this->Row_Rendering();

		// Common render codes for all row types
		// id
		// kind
		// deleted
		// mls_id
		// mls_id_num
		// parent
		// pic_numb
		// user_id
		// listing
		// property_type
		// location1_id
		// location2_id
		// location3_id
		// location4_id
		// location5_id
		// location6_id
		// location7_id
		// location1_name
		// location2_name
		// location3_name
		// location4_name
		// location5_name
		// location6_name
		// location7_name
		// show_address
		// show_marker
		// price
		// price_unit
		// price_si
		// price_period
		// bedrooms
		// rooms
		// bathrooms
		// living_area
		// living_area_unit
		// living_area_si
		// lot_area
		// lot_area_unit
		// lot_area_si
		// googlemap_lt
		// googlemap_ln
		// finalized
		// add_date
		// last_finalize_date
		// expire_days
		// confirmed
		// expired
		// build_year
		// zip_id
		// zip_name
		// last_modified_time_stamp
		// post_code
		// meta_description
		// meta_description_manual
		// meta_keywords
		// meta_keywords_manual
		// street_no
		// sp_featured
		// sp_hot
		// sp_openhouse
		// sp_forclosure
		// textsearch
		// location_text
		// field_42
		// field_312
		// field_313
		// field_308
		// field_7
		// n_103
		// n_103_distance
		// n_103_distance_by
		// n_105
		// n_105_distance
		// n_105_distance_by
		// n_107
		// n_107_distance
		// n_107_distance_by
		// n_108
		// n_108_distance
		// n_108_distance_by
		// n_109
		// n_109_distance
		// n_109_distance_by
		// f_131_options
		// f_131
		// f_137_options
		// f_137
		// f_139_options
		// f_139
		// f_144_options
		// f_144
		// f_146_options
		// f_146
		// f_149_options
		// f_149
		// f_150_options
		// f_150
		// f_156_options
		// f_156
		// f_157_options
		// f_157
		// f_159_options
		// f_159
		// f_161_options
		// f_161
		// f_163_options
		// f_163
		// f_165_options
		// f_165
		// f_166_options
		// f_166
		// ref_id
		// field_54
		// half_bathrooms
		// field_55
		// rendered
		// alias
		// source
		// last_sync_date
		// street_suffix
		// energy_tag
		// field_3006
		// field_3007
		// field_3008
		// importer_structure_id
		// importer_params
		// field_3009
		// field_3010
		// field_3012
		// rendered_en_us
		// textsearch_en_us
		// rendered_fr_fr
		// textsearch_fr_fr
		// field_3013
		// field_3014
		// f_3014_options
		// f_3014
		// field_3015
		// field_3016
		// field_3017
		// f_3018_options
		// f_3018
		// f_3019_options
		// f_3019
		// f_3020_options
		// f_3020
		// f_3021_options
		// f_3021
		// f_3022_options
		// f_3022
		// f_3023_options
		// f_3023
		// f_3024_options
		// f_3024
		// f_3025_options
		// f_3025
		// f_3026_options
		// f_3026
		// f_3027_options
		// f_3027
		// f_3028_options
		// f_3028
		// f_3029_options
		// f_3029
		// f_3031_options
		// f_3031
		// f_3032_options
		// f_3032
		// f_3033_options
		// f_3033
		// f_3034_options
		// f_3034
		// f_3035_options
		// f_3035
		// f_3036_options
		// f_3036
		// f_3037_options
		// f_3037
		// f_3038_options
		// f_3038
		// f_3039_options
		// f_3039
		// f_3040_options
		// f_3040
		// f_3041_options
		// f_3041
		// f_3042_options
		// f_3042
		// f_3043_options
		// f_3043
		// f_3044_options
		// f_3044
		// n_3045
		// n_3045_distance
		// n_3045_distance_by
		// n_3046
		// n_3046_distance
		// n_3046_distance_by
		// n_3047
		// n_3047_distance
		// n_3047_distance_by
		// n_3048
		// n_3048_distance
		// n_3048_distance_by
		// n_3049
		// n_3049_distance
		// n_3049_distance_by
		// n_3050
		// n_3050_distance
		// n_3050_distance_by
		// n_3051
		// n_3051_distance
		// n_3051_distance_by
		// n_3052
		// n_3052_distance
		// n_3052_distance_by
		// n_3053
		// n_3053_distance
		// n_3053_distance_by
		// n_3054
		// n_3054_distance
		// n_3054_distance_by
		// n_3055
		// n_3055_distance
		// n_3055_distance_by
		// n_3056
		// n_3056_distance
		// n_3056_distance_by
		// n_3057
		// n_3057_distance
		// n_3057_distance_by
		// n_3058
		// n_3058_distance
		// n_3058_distance_by
		// n_3059
		// n_3059_distance
		// n_3059_distance_by
		// f_3060_options
		// f_3060
		// f_3061_options
		// f_3061
		// f_3062_options
		// f_3062
		// field_3063
		// field_3064
		// field_3065
		// field_308_en_us
		// field_308_fr_fr
		// field_313_en_us
		// field_313_fr_fr
		// field_312_en_us
		// field_312_fr_fr
		// field_3017_en_us
		// field_3017_fr_fr
		// field_42_en_us
		// field_42_fr_fr
		// field_3067
		// field_3068
		// field_3069
		// field_3070
		// field_3071
		// field_3071_en_us
		// field_3071_fr_fr
		// field_3072
		// field_3073
		// field_3074
		// field_3074_en_us
		// field_3074_fr_fr
		// field_3075
		// field_3076
		// field_3077
		// field_3078
		// field_3079
		// field_3080
		// field_3076_en_us
		// field_3076_fr_fr
		// field_3080_en_us
		// field_3080_fr_fr
		// field_3081
		// field_3081_en_us
		// field_3081_fr_fr
		// field_3082
		// field_3082_en_us
		// field_3082_fr_fr
		// field_3084
		// field_3085
		// field_3086
		// field_3096
		// field_3097
		// field_3098
		// field_3099
		// field_3100
		// field_3101
		// field_3102
		// field_3103
		// field_3104
		// field_3105
		// field_3106
		// field_3107
		// field_3108
		// field_3109
		// field_3110
		// field_3111
		// field_3112
		// field_3113
		// field_3113_en_us
		// field_3113_fr_fr
		// field_3114
		// field_3114_en_us
		// field_3114_fr_fr
		// field_3115
		// field_3115_si
		// field_3115_unit
		// field_3116
		// field_3117
		// field_3117_en_us
		// field_3117_fr_fr
		// field_3118
		// field_3118_en_us
		// field_3118_fr_fr
		// field_3119
		// field_3119_en_us
		// field_3119_fr_fr
		// field_3120
		// field_3120_en_us
		// field_3120_fr_fr
		// field_3121
		// field_3122
		// field_3122_si
		// field_3122_unit
		// field_3123
		// field_3124
		// field_3125
		// field_3126
		// field_3127
		// field_3128
		// field_3129
		// field_3130
		// field_3131
		// field_3132
		// field_3133
		// field_3134
		// field_3135
		// field_3136
		// field_3137
		// field_3138
		// field_3139
		// field_3140
		// field_3141
		// field_3142
		// field_3143
		// field_3144
		// field_3145
		// field_3146
		// field_3147
		// field_3148
		// field_3149
		// field_3150
		// field_3151
		// field_3152
		// field_3153
		// field_3154
		// field_3155
		// field_3156
		// field_3157
		// field_3158
		// field_3159
		// field_3160
		// field_3161
		// field_3162
		// field_3163
		// field_3164
		// field_3165
		// field_3166
		// field_3167
		// field_3168
		// field_3169
		// field_3170
		// field_3171
		// field_3172
		// field_3173
		// field_3173_si
		// field_3173_unit
		// field_3180
		// field_3180_en_us
		// field_3180_fr_fr
		// field_3181
		// field_3182
		// n_3189
		// n_3189_distance
		// n_3189_distance_by

		if ($this->RowType == ROWTYPE_VIEW) { // View row

			// id
			$this->id->ViewValue = $this->id->CurrentValue;
			$this->id->ViewCustomAttributes = "";

			// kind
			$this->kind->ViewValue = $this->kind->CurrentValue;
			$this->kind->ViewValue = FormatNumber($this->kind->ViewValue, 0, -2, -2, -2);
			$this->kind->ViewCustomAttributes = "";

			// deleted
			if (ConvertToBool($this->deleted->CurrentValue)) {
				$this->deleted->ViewValue = $this->deleted->tagCaption(1) != "" ? $this->deleted->tagCaption(1) : "Yes";
			} else {
				$this->deleted->ViewValue = $this->deleted->tagCaption(2) != "" ? $this->deleted->tagCaption(2) : "No";
			}
			$this->deleted->ViewCustomAttributes = "";

			// mls_id
			$this->mls_id->ViewValue = $this->mls_id->CurrentValue;
			$this->mls_id->ViewCustomAttributes = "";

			// mls_id_num
			$this->mls_id_num->ViewValue = $this->mls_id_num->CurrentValue;
			$this->mls_id_num->ViewValue = FormatNumber($this->mls_id_num->ViewValue, 0, -2, -2, -2);
			$this->mls_id_num->ViewCustomAttributes = "";

			// parent
			$this->parent->ViewValue = $this->parent->CurrentValue;
			$this->parent->ViewValue = FormatNumber($this->parent->ViewValue, 0, -2, -2, -2);
			$this->parent->ViewCustomAttributes = "";

			// pic_numb
			$this->pic_numb->ViewValue = $this->pic_numb->CurrentValue;
			$this->pic_numb->ViewValue = FormatNumber($this->pic_numb->ViewValue, 0, -2, -2, -2);
			$this->pic_numb->ViewCustomAttributes = "";

			// user_id
			$this->user_id->ViewValue = $this->user_id->CurrentValue;
			$this->user_id->ViewValue = FormatNumber($this->user_id->ViewValue, 0, -2, -2, -2);
			$this->user_id->ViewCustomAttributes = "";

			// listing
			$this->listing->ViewValue = $this->listing->CurrentValue;
			$this->listing->ViewValue = FormatNumber($this->listing->ViewValue, 0, -2, -2, -2);
			$this->listing->ViewCustomAttributes = "";

			// property_type
			$this->property_type->ViewValue = $this->property_type->CurrentValue;
			$this->property_type->ViewValue = FormatNumber($this->property_type->ViewValue, 0, -2, -2, -2);
			$this->property_type->ViewCustomAttributes = "";

			// location1_id
			$this->location1_id->ViewValue = $this->location1_id->CurrentValue;
			$this->location1_id->ViewValue = FormatNumber($this->location1_id->ViewValue, 0, -2, -2, -2);
			$this->location1_id->ViewCustomAttributes = "";

			// location2_id
			$this->location2_id->ViewValue = $this->location2_id->CurrentValue;
			$this->location2_id->ViewValue = FormatNumber($this->location2_id->ViewValue, 0, -2, -2, -2);
			$this->location2_id->ViewCustomAttributes = "";

			// location3_id
			$this->location3_id->ViewValue = $this->location3_id->CurrentValue;
			$this->location3_id->ViewValue = FormatNumber($this->location3_id->ViewValue, 0, -2, -2, -2);
			$this->location3_id->ViewCustomAttributes = "";

			// location4_id
			$this->location4_id->ViewValue = $this->location4_id->CurrentValue;
			$this->location4_id->ViewValue = FormatNumber($this->location4_id->ViewValue, 0, -2, -2, -2);
			$this->location4_id->ViewCustomAttributes = "";

			// location5_id
			$this->location5_id->ViewValue = $this->location5_id->CurrentValue;
			$this->location5_id->ViewValue = FormatNumber($this->location5_id->ViewValue, 0, -2, -2, -2);
			$this->location5_id->ViewCustomAttributes = "";

			// location6_id
			$this->location6_id->ViewValue = $this->location6_id->CurrentValue;
			$this->location6_id->ViewValue = FormatNumber($this->location6_id->ViewValue, 0, -2, -2, -2);
			$this->location6_id->ViewCustomAttributes = "";

			// location7_id
			$this->location7_id->ViewValue = $this->location7_id->CurrentValue;
			$this->location7_id->ViewValue = FormatNumber($this->location7_id->ViewValue, 0, -2, -2, -2);
			$this->location7_id->ViewCustomAttributes = "";

			// location1_name
			$this->location1_name->ViewValue = $this->location1_name->CurrentValue;
			$this->location1_name->ViewCustomAttributes = "";

			// location2_name
			$this->location2_name->ViewValue = $this->location2_name->CurrentValue;
			$this->location2_name->ViewCustomAttributes = "";

			// location3_name
			$this->location3_name->ViewValue = $this->location3_name->CurrentValue;
			$this->location3_name->ViewCustomAttributes = "";

			// location4_name
			$this->location4_name->ViewValue = $this->location4_name->CurrentValue;
			$this->location4_name->ViewCustomAttributes = "";

			// location5_name
			$this->location5_name->ViewValue = $this->location5_name->CurrentValue;
			$this->location5_name->ViewCustomAttributes = "";

			// location6_name
			$this->location6_name->ViewValue = $this->location6_name->CurrentValue;
			$this->location6_name->ViewCustomAttributes = "";

			// location7_name
			$this->location7_name->ViewValue = $this->location7_name->CurrentValue;
			$this->location7_name->ViewCustomAttributes = "";

			// show_address
			$this->show_address->ViewValue = $this->show_address->CurrentValue;
			$this->show_address->ViewValue = FormatNumber($this->show_address->ViewValue, 0, -2, -2, -2);
			$this->show_address->ViewCustomAttributes = "";

			// show_marker
			$this->show_marker->ViewValue = $this->show_marker->CurrentValue;
			$this->show_marker->ViewValue = FormatNumber($this->show_marker->ViewValue, 0, -2, -2, -2);
			$this->show_marker->ViewCustomAttributes = "";

			// price
			$this->price->ViewValue = $this->price->CurrentValue;
			$this->price->ViewValue = FormatNumber($this->price->ViewValue, 2, -2, -2, -2);
			$this->price->ViewCustomAttributes = "";

			// price_unit
			$this->price_unit->ViewValue = $this->price_unit->CurrentValue;
			$this->price_unit->ViewValue = FormatNumber($this->price_unit->ViewValue, 0, -2, -2, -2);
			$this->price_unit->ViewCustomAttributes = "";

			// price_si
			$this->price_si->ViewValue = $this->price_si->CurrentValue;
			$this->price_si->ViewValue = FormatNumber($this->price_si->ViewValue, 2, -2, -2, -2);
			$this->price_si->ViewCustomAttributes = "";

			// price_period
			$this->price_period->ViewValue = $this->price_period->CurrentValue;
			$this->price_period->ViewValue = FormatNumber($this->price_period->ViewValue, 0, -2, -2, -2);
			$this->price_period->ViewCustomAttributes = "";

			// bedrooms
			$this->bedrooms->ViewValue = $this->bedrooms->CurrentValue;
			$this->bedrooms->ViewValue = FormatNumber($this->bedrooms->ViewValue, 2, -2, -2, -2);
			$this->bedrooms->ViewCustomAttributes = "";

			// rooms
			$this->rooms->ViewValue = $this->rooms->CurrentValue;
			$this->rooms->ViewValue = FormatNumber($this->rooms->ViewValue, 2, -2, -2, -2);
			$this->rooms->ViewCustomAttributes = "";

			// bathrooms
			$this->bathrooms->ViewValue = $this->bathrooms->CurrentValue;
			$this->bathrooms->ViewValue = FormatNumber($this->bathrooms->ViewValue, 2, -2, -2, -2);
			$this->bathrooms->ViewCustomAttributes = "";

			// living_area
			$this->living_area->ViewValue = $this->living_area->CurrentValue;
			$this->living_area->ViewValue = FormatNumber($this->living_area->ViewValue, 2, -2, -2, -2);
			$this->living_area->ViewCustomAttributes = "";

			// living_area_unit
			$this->living_area_unit->ViewValue = $this->living_area_unit->CurrentValue;
			$this->living_area_unit->ViewValue = FormatNumber($this->living_area_unit->ViewValue, 0, -2, -2, -2);
			$this->living_area_unit->ViewCustomAttributes = "";

			// living_area_si
			$this->living_area_si->ViewValue = $this->living_area_si->CurrentValue;
			$this->living_area_si->ViewValue = FormatNumber($this->living_area_si->ViewValue, 2, -2, -2, -2);
			$this->living_area_si->ViewCustomAttributes = "";

			// lot_area
			$this->lot_area->ViewValue = $this->lot_area->CurrentValue;
			$this->lot_area->ViewValue = FormatNumber($this->lot_area->ViewValue, 2, -2, -2, -2);
			$this->lot_area->ViewCustomAttributes = "";

			// lot_area_unit
			$this->lot_area_unit->ViewValue = $this->lot_area_unit->CurrentValue;
			$this->lot_area_unit->ViewValue = FormatNumber($this->lot_area_unit->ViewValue, 0, -2, -2, -2);
			$this->lot_area_unit->ViewCustomAttributes = "";

			// lot_area_si
			$this->lot_area_si->ViewValue = $this->lot_area_si->CurrentValue;
			$this->lot_area_si->ViewValue = FormatNumber($this->lot_area_si->ViewValue, 2, -2, -2, -2);
			$this->lot_area_si->ViewCustomAttributes = "";

			// googlemap_lt
			$this->googlemap_lt->ViewValue = $this->googlemap_lt->CurrentValue;
			$this->googlemap_lt->ViewValue = FormatNumber($this->googlemap_lt->ViewValue, 2, -2, -2, -2);
			$this->googlemap_lt->ViewCustomAttributes = "";

			// googlemap_ln
			$this->googlemap_ln->ViewValue = $this->googlemap_ln->CurrentValue;
			$this->googlemap_ln->ViewValue = FormatNumber($this->googlemap_ln->ViewValue, 2, -2, -2, -2);
			$this->googlemap_ln->ViewCustomAttributes = "";

			// finalized
			$this->finalized->ViewValue = $this->finalized->CurrentValue;
			$this->finalized->ViewValue = FormatNumber($this->finalized->ViewValue, 0, -2, -2, -2);
			$this->finalized->ViewCustomAttributes = "";

			// add_date
			$this->add_date->ViewValue = $this->add_date->CurrentValue;
			$this->add_date->ViewValue = FormatDateTime($this->add_date->ViewValue, 0);
			$this->add_date->ViewCustomAttributes = "";

			// last_finalize_date
			$this->last_finalize_date->ViewValue = $this->last_finalize_date->CurrentValue;
			$this->last_finalize_date->ViewValue = FormatDateTime($this->last_finalize_date->ViewValue, 0);
			$this->last_finalize_date->ViewCustomAttributes = "";

			// expire_days
			$this->expire_days->ViewValue = $this->expire_days->CurrentValue;
			$this->expire_days->ViewValue = FormatNumber($this->expire_days->ViewValue, 0, -2, -2, -2);
			$this->expire_days->ViewCustomAttributes = "";

			// confirmed
			$this->confirmed->ViewValue = $this->confirmed->CurrentValue;
			$this->confirmed->ViewValue = FormatNumber($this->confirmed->ViewValue, 0, -2, -2, -2);
			$this->confirmed->ViewCustomAttributes = "";

			// expired
			$this->expired->ViewValue = $this->expired->CurrentValue;
			$this->expired->ViewValue = FormatNumber($this->expired->ViewValue, 0, -2, -2, -2);
			$this->expired->ViewCustomAttributes = "";

			// build_year
			$this->build_year->ViewValue = $this->build_year->CurrentValue;
			$this->build_year->ViewValue = FormatNumber($this->build_year->ViewValue, 0, -2, -2, -2);
			$this->build_year->ViewCustomAttributes = "";

			// zip_id
			$this->zip_id->ViewValue = $this->zip_id->CurrentValue;
			$this->zip_id->ViewValue = FormatNumber($this->zip_id->ViewValue, 0, -2, -2, -2);
			$this->zip_id->ViewCustomAttributes = "";

			// zip_name
			$this->zip_name->ViewValue = $this->zip_name->CurrentValue;
			$this->zip_name->ViewCustomAttributes = "";

			// last_modified_time_stamp
			$this->last_modified_time_stamp->ViewValue = $this->last_modified_time_stamp->CurrentValue;
			$this->last_modified_time_stamp->ViewValue = FormatDateTime($this->last_modified_time_stamp->ViewValue, 0);
			$this->last_modified_time_stamp->ViewCustomAttributes = "";

			// post_code
			$this->post_code->ViewValue = $this->post_code->CurrentValue;
			$this->post_code->ViewCustomAttributes = "";

			// meta_description
			$this->meta_description->ViewValue = $this->meta_description->CurrentValue;
			$this->meta_description->ViewCustomAttributes = "";

			// meta_description_manual
			$this->meta_description_manual->ViewValue = $this->meta_description_manual->CurrentValue;
			$this->meta_description_manual->ViewValue = FormatNumber($this->meta_description_manual->ViewValue, 0, -2, -2, -2);
			$this->meta_description_manual->ViewCustomAttributes = "";

			// meta_keywords
			$this->meta_keywords->ViewValue = $this->meta_keywords->CurrentValue;
			$this->meta_keywords->ViewCustomAttributes = "";

			// meta_keywords_manual
			$this->meta_keywords_manual->ViewValue = $this->meta_keywords_manual->CurrentValue;
			$this->meta_keywords_manual->ViewValue = FormatNumber($this->meta_keywords_manual->ViewValue, 0, -2, -2, -2);
			$this->meta_keywords_manual->ViewCustomAttributes = "";

			// street_no
			$this->street_no->ViewValue = $this->street_no->CurrentValue;
			$this->street_no->ViewCustomAttributes = "";

			// sp_featured
			$this->sp_featured->ViewValue = $this->sp_featured->CurrentValue;
			$this->sp_featured->ViewValue = FormatNumber($this->sp_featured->ViewValue, 0, -2, -2, -2);
			$this->sp_featured->ViewCustomAttributes = "";

			// sp_hot
			$this->sp_hot->ViewValue = $this->sp_hot->CurrentValue;
			$this->sp_hot->ViewValue = FormatNumber($this->sp_hot->ViewValue, 0, -2, -2, -2);
			$this->sp_hot->ViewCustomAttributes = "";

			// sp_openhouse
			$this->sp_openhouse->ViewValue = $this->sp_openhouse->CurrentValue;
			$this->sp_openhouse->ViewValue = FormatNumber($this->sp_openhouse->ViewValue, 0, -2, -2, -2);
			$this->sp_openhouse->ViewCustomAttributes = "";

			// sp_forclosure
			$this->sp_forclosure->ViewValue = $this->sp_forclosure->CurrentValue;
			$this->sp_forclosure->ViewValue = FormatNumber($this->sp_forclosure->ViewValue, 0, -2, -2, -2);
			$this->sp_forclosure->ViewCustomAttributes = "";

			// textsearch
			$this->textsearch->ViewValue = $this->textsearch->CurrentValue;
			$this->textsearch->ViewCustomAttributes = "";

			// location_text
			$this->location_text->ViewValue = $this->location_text->CurrentValue;
			$this->location_text->ViewCustomAttributes = "";

			// field_42
			$this->field_42->ViewValue = $this->field_42->CurrentValue;
			$this->field_42->ViewCustomAttributes = "";

			// field_312
			$this->field_312->ViewValue = $this->field_312->CurrentValue;
			$this->field_312->ViewCustomAttributes = "";

			// field_313
			$this->field_313->ViewValue = $this->field_313->CurrentValue;
			$this->field_313->ViewCustomAttributes = "";

			// field_308
			$this->field_308->ViewValue = $this->field_308->CurrentValue;
			$this->field_308->ViewCustomAttributes = "";

			// field_7
			$this->field_7->ViewValue = $this->field_7->CurrentValue;
			$this->field_7->ViewValue = FormatNumber($this->field_7->ViewValue, 0, -2, -2, -2);
			$this->field_7->ViewCustomAttributes = "";

			// n_103
			$this->n_103->ViewValue = $this->n_103->CurrentValue;
			$this->n_103->ViewValue = FormatNumber($this->n_103->ViewValue, 0, -2, -2, -2);
			$this->n_103->ViewCustomAttributes = "";

			// n_103_distance
			$this->n_103_distance->ViewValue = $this->n_103_distance->CurrentValue;
			$this->n_103_distance->ViewValue = FormatNumber($this->n_103_distance->ViewValue, 0, -2, -2, -2);
			$this->n_103_distance->ViewCustomAttributes = "";

			// n_103_distance_by
			$this->n_103_distance_by->ViewValue = $this->n_103_distance_by->CurrentValue;
			$this->n_103_distance_by->ViewValue = FormatNumber($this->n_103_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_103_distance_by->ViewCustomAttributes = "";

			// n_105
			$this->n_105->ViewValue = $this->n_105->CurrentValue;
			$this->n_105->ViewValue = FormatNumber($this->n_105->ViewValue, 0, -2, -2, -2);
			$this->n_105->ViewCustomAttributes = "";

			// n_105_distance
			$this->n_105_distance->ViewValue = $this->n_105_distance->CurrentValue;
			$this->n_105_distance->ViewValue = FormatNumber($this->n_105_distance->ViewValue, 0, -2, -2, -2);
			$this->n_105_distance->ViewCustomAttributes = "";

			// n_105_distance_by
			$this->n_105_distance_by->ViewValue = $this->n_105_distance_by->CurrentValue;
			$this->n_105_distance_by->ViewValue = FormatNumber($this->n_105_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_105_distance_by->ViewCustomAttributes = "";

			// n_107
			$this->n_107->ViewValue = $this->n_107->CurrentValue;
			$this->n_107->ViewValue = FormatNumber($this->n_107->ViewValue, 0, -2, -2, -2);
			$this->n_107->ViewCustomAttributes = "";

			// n_107_distance
			$this->n_107_distance->ViewValue = $this->n_107_distance->CurrentValue;
			$this->n_107_distance->ViewValue = FormatNumber($this->n_107_distance->ViewValue, 0, -2, -2, -2);
			$this->n_107_distance->ViewCustomAttributes = "";

			// n_107_distance_by
			$this->n_107_distance_by->ViewValue = $this->n_107_distance_by->CurrentValue;
			$this->n_107_distance_by->ViewValue = FormatNumber($this->n_107_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_107_distance_by->ViewCustomAttributes = "";

			// n_108
			$this->n_108->ViewValue = $this->n_108->CurrentValue;
			$this->n_108->ViewValue = FormatNumber($this->n_108->ViewValue, 0, -2, -2, -2);
			$this->n_108->ViewCustomAttributes = "";

			// n_108_distance
			$this->n_108_distance->ViewValue = $this->n_108_distance->CurrentValue;
			$this->n_108_distance->ViewValue = FormatNumber($this->n_108_distance->ViewValue, 0, -2, -2, -2);
			$this->n_108_distance->ViewCustomAttributes = "";

			// n_108_distance_by
			$this->n_108_distance_by->ViewValue = $this->n_108_distance_by->CurrentValue;
			$this->n_108_distance_by->ViewValue = FormatNumber($this->n_108_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_108_distance_by->ViewCustomAttributes = "";

			// n_109
			$this->n_109->ViewValue = $this->n_109->CurrentValue;
			$this->n_109->ViewValue = FormatNumber($this->n_109->ViewValue, 0, -2, -2, -2);
			$this->n_109->ViewCustomAttributes = "";

			// n_109_distance
			$this->n_109_distance->ViewValue = $this->n_109_distance->CurrentValue;
			$this->n_109_distance->ViewValue = FormatNumber($this->n_109_distance->ViewValue, 0, -2, -2, -2);
			$this->n_109_distance->ViewCustomAttributes = "";

			// n_109_distance_by
			$this->n_109_distance_by->ViewValue = $this->n_109_distance_by->CurrentValue;
			$this->n_109_distance_by->ViewValue = FormatNumber($this->n_109_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_109_distance_by->ViewCustomAttributes = "";

			// f_131_options
			$this->f_131_options->ViewValue = $this->f_131_options->CurrentValue;
			$this->f_131_options->ViewCustomAttributes = "";

			// f_131
			$this->f_131->ViewValue = $this->f_131->CurrentValue;
			$this->f_131->ViewValue = FormatNumber($this->f_131->ViewValue, 0, -2, -2, -2);
			$this->f_131->ViewCustomAttributes = "";

			// f_137_options
			$this->f_137_options->ViewValue = $this->f_137_options->CurrentValue;
			$this->f_137_options->ViewCustomAttributes = "";

			// f_137
			$this->f_137->ViewValue = $this->f_137->CurrentValue;
			$this->f_137->ViewValue = FormatNumber($this->f_137->ViewValue, 0, -2, -2, -2);
			$this->f_137->ViewCustomAttributes = "";

			// f_139_options
			$this->f_139_options->ViewValue = $this->f_139_options->CurrentValue;
			$this->f_139_options->ViewCustomAttributes = "";

			// f_139
			$this->f_139->ViewValue = $this->f_139->CurrentValue;
			$this->f_139->ViewValue = FormatNumber($this->f_139->ViewValue, 0, -2, -2, -2);
			$this->f_139->ViewCustomAttributes = "";

			// f_144_options
			$this->f_144_options->ViewValue = $this->f_144_options->CurrentValue;
			$this->f_144_options->ViewCustomAttributes = "";

			// f_144
			$this->f_144->ViewValue = $this->f_144->CurrentValue;
			$this->f_144->ViewValue = FormatNumber($this->f_144->ViewValue, 0, -2, -2, -2);
			$this->f_144->ViewCustomAttributes = "";

			// f_146_options
			$this->f_146_options->ViewValue = $this->f_146_options->CurrentValue;
			$this->f_146_options->ViewCustomAttributes = "";

			// f_146
			$this->f_146->ViewValue = $this->f_146->CurrentValue;
			$this->f_146->ViewValue = FormatNumber($this->f_146->ViewValue, 0, -2, -2, -2);
			$this->f_146->ViewCustomAttributes = "";

			// f_149_options
			$this->f_149_options->ViewValue = $this->f_149_options->CurrentValue;
			$this->f_149_options->ViewCustomAttributes = "";

			// f_149
			$this->f_149->ViewValue = $this->f_149->CurrentValue;
			$this->f_149->ViewValue = FormatNumber($this->f_149->ViewValue, 0, -2, -2, -2);
			$this->f_149->ViewCustomAttributes = "";

			// f_150_options
			$this->f_150_options->ViewValue = $this->f_150_options->CurrentValue;
			$this->f_150_options->ViewCustomAttributes = "";

			// f_150
			$this->f_150->ViewValue = $this->f_150->CurrentValue;
			$this->f_150->ViewValue = FormatNumber($this->f_150->ViewValue, 0, -2, -2, -2);
			$this->f_150->ViewCustomAttributes = "";

			// f_156_options
			$this->f_156_options->ViewValue = $this->f_156_options->CurrentValue;
			$this->f_156_options->ViewCustomAttributes = "";

			// f_156
			$this->f_156->ViewValue = $this->f_156->CurrentValue;
			$this->f_156->ViewValue = FormatNumber($this->f_156->ViewValue, 0, -2, -2, -2);
			$this->f_156->ViewCustomAttributes = "";

			// f_157_options
			$this->f_157_options->ViewValue = $this->f_157_options->CurrentValue;
			$this->f_157_options->ViewCustomAttributes = "";

			// f_157
			$this->f_157->ViewValue = $this->f_157->CurrentValue;
			$this->f_157->ViewValue = FormatNumber($this->f_157->ViewValue, 0, -2, -2, -2);
			$this->f_157->ViewCustomAttributes = "";

			// f_159_options
			$this->f_159_options->ViewValue = $this->f_159_options->CurrentValue;
			$this->f_159_options->ViewCustomAttributes = "";

			// f_159
			$this->f_159->ViewValue = $this->f_159->CurrentValue;
			$this->f_159->ViewValue = FormatNumber($this->f_159->ViewValue, 0, -2, -2, -2);
			$this->f_159->ViewCustomAttributes = "";

			// f_161_options
			$this->f_161_options->ViewValue = $this->f_161_options->CurrentValue;
			$this->f_161_options->ViewCustomAttributes = "";

			// f_161
			$this->f_161->ViewValue = $this->f_161->CurrentValue;
			$this->f_161->ViewValue = FormatNumber($this->f_161->ViewValue, 0, -2, -2, -2);
			$this->f_161->ViewCustomAttributes = "";

			// f_163_options
			$this->f_163_options->ViewValue = $this->f_163_options->CurrentValue;
			$this->f_163_options->ViewCustomAttributes = "";

			// f_163
			$this->f_163->ViewValue = $this->f_163->CurrentValue;
			$this->f_163->ViewValue = FormatNumber($this->f_163->ViewValue, 0, -2, -2, -2);
			$this->f_163->ViewCustomAttributes = "";

			// f_165_options
			$this->f_165_options->ViewValue = $this->f_165_options->CurrentValue;
			$this->f_165_options->ViewCustomAttributes = "";

			// f_165
			$this->f_165->ViewValue = $this->f_165->CurrentValue;
			$this->f_165->ViewValue = FormatNumber($this->f_165->ViewValue, 0, -2, -2, -2);
			$this->f_165->ViewCustomAttributes = "";

			// f_166_options
			$this->f_166_options->ViewValue = $this->f_166_options->CurrentValue;
			$this->f_166_options->ViewCustomAttributes = "";

			// f_166
			$this->f_166->ViewValue = $this->f_166->CurrentValue;
			$this->f_166->ViewValue = FormatNumber($this->f_166->ViewValue, 0, -2, -2, -2);
			$this->f_166->ViewCustomAttributes = "";

			// ref_id
			$this->ref_id->ViewValue = $this->ref_id->CurrentValue;
			$this->ref_id->ViewCustomAttributes = "";

			// field_54
			$this->field_54->ViewValue = $this->field_54->CurrentValue;
			$this->field_54->ViewCustomAttributes = "";

			// half_bathrooms
			$this->half_bathrooms->ViewValue = $this->half_bathrooms->CurrentValue;
			$this->half_bathrooms->ViewValue = FormatNumber($this->half_bathrooms->ViewValue, 2, -2, -2, -2);
			$this->half_bathrooms->ViewCustomAttributes = "";

			// field_55
			$this->field_55->ViewValue = $this->field_55->CurrentValue;
			$this->field_55->ViewValue = FormatNumber($this->field_55->ViewValue, 2, -2, -2, -2);
			$this->field_55->ViewCustomAttributes = "";

			// rendered
			$this->rendered->ViewValue = $this->rendered->CurrentValue;
			$this->rendered->ViewCustomAttributes = "";

			// alias
			$this->alias->ViewValue = $this->alias->CurrentValue;
			$this->alias->ViewCustomAttributes = "";

			// source
			$this->source->ViewValue = $this->source->CurrentValue;
			$this->source->ViewCustomAttributes = "";

			// last_sync_date
			$this->last_sync_date->ViewValue = $this->last_sync_date->CurrentValue;
			$this->last_sync_date->ViewValue = FormatDateTime($this->last_sync_date->ViewValue, 0);
			$this->last_sync_date->ViewCustomAttributes = "";

			// street_suffix
			$this->street_suffix->ViewValue = $this->street_suffix->CurrentValue;
			$this->street_suffix->ViewCustomAttributes = "";

			// energy_tag
			$this->energy_tag->ViewValue = $this->energy_tag->CurrentValue;
			$this->energy_tag->ViewValue = FormatNumber($this->energy_tag->ViewValue, 0, -2, -2, -2);
			$this->energy_tag->ViewCustomAttributes = "";

			// field_3006
			$this->field_3006->ViewValue = $this->field_3006->CurrentValue;
			$this->field_3006->ViewCustomAttributes = "";

			// field_3007
			$this->field_3007->ViewValue = $this->field_3007->CurrentValue;
			$this->field_3007->ViewCustomAttributes = "";

			// field_3008
			$this->field_3008->ViewValue = $this->field_3008->CurrentValue;
			$this->field_3008->ViewCustomAttributes = "";

			// importer_structure_id
			$this->importer_structure_id->ViewValue = $this->importer_structure_id->CurrentValue;
			$this->importer_structure_id->ViewValue = FormatNumber($this->importer_structure_id->ViewValue, 0, -2, -2, -2);
			$this->importer_structure_id->ViewCustomAttributes = "";

			// importer_params
			$this->importer_params->ViewValue = $this->importer_params->CurrentValue;
			$this->importer_params->ViewCustomAttributes = "";

			// field_3009
			$this->field_3009->ViewValue = $this->field_3009->CurrentValue;
			$this->field_3009->ViewCustomAttributes = "";

			// field_3010
			$this->field_3010->ViewValue = $this->field_3010->CurrentValue;
			$this->field_3010->ViewCustomAttributes = "";

			// field_3012
			$this->field_3012->ViewValue = $this->field_3012->CurrentValue;
			$this->field_3012->ViewValue = FormatNumber($this->field_3012->ViewValue, 0, -2, -2, -2);
			$this->field_3012->ViewCustomAttributes = "";

			// rendered_en_us
			$this->rendered_en_us->ViewValue = $this->rendered_en_us->CurrentValue;
			$this->rendered_en_us->ViewCustomAttributes = "";

			// textsearch_en_us
			$this->textsearch_en_us->ViewValue = $this->textsearch_en_us->CurrentValue;
			$this->textsearch_en_us->ViewCustomAttributes = "";

			// rendered_fr_fr
			$this->rendered_fr_fr->ViewValue = $this->rendered_fr_fr->CurrentValue;
			$this->rendered_fr_fr->ViewCustomAttributes = "";

			// textsearch_fr_fr
			$this->textsearch_fr_fr->ViewValue = $this->textsearch_fr_fr->CurrentValue;
			$this->textsearch_fr_fr->ViewCustomAttributes = "";

			// field_3013
			$this->field_3013->ViewValue = $this->field_3013->CurrentValue;
			$this->field_3013->ViewValue = FormatNumber($this->field_3013->ViewValue, 0, -2, -2, -2);
			$this->field_3013->ViewCustomAttributes = "";

			// field_3014
			$this->field_3014->ViewValue = $this->field_3014->CurrentValue;
			$this->field_3014->ViewValue = FormatNumber($this->field_3014->ViewValue, 0, -2, -2, -2);
			$this->field_3014->ViewCustomAttributes = "";

			// f_3014_options
			$this->f_3014_options->ViewValue = $this->f_3014_options->CurrentValue;
			$this->f_3014_options->ViewCustomAttributes = "";

			// f_3014
			$this->f_3014->ViewValue = $this->f_3014->CurrentValue;
			$this->f_3014->ViewValue = FormatNumber($this->f_3014->ViewValue, 0, -2, -2, -2);
			$this->f_3014->ViewCustomAttributes = "";

			// field_3015
			$this->field_3015->ViewValue = $this->field_3015->CurrentValue;
			$this->field_3015->ViewCustomAttributes = "";

			// field_3016
			$this->field_3016->ViewValue = $this->field_3016->CurrentValue;
			$this->field_3016->ViewValue = FormatNumber($this->field_3016->ViewValue, 0, -2, -2, -2);
			$this->field_3016->ViewCustomAttributes = "";

			// field_3017
			$this->field_3017->ViewValue = $this->field_3017->CurrentValue;
			$this->field_3017->ViewCustomAttributes = "";

			// f_3018_options
			$this->f_3018_options->ViewValue = $this->f_3018_options->CurrentValue;
			$this->f_3018_options->ViewCustomAttributes = "";

			// f_3018
			$this->f_3018->ViewValue = $this->f_3018->CurrentValue;
			$this->f_3018->ViewValue = FormatNumber($this->f_3018->ViewValue, 0, -2, -2, -2);
			$this->f_3018->ViewCustomAttributes = "";

			// f_3019_options
			$this->f_3019_options->ViewValue = $this->f_3019_options->CurrentValue;
			$this->f_3019_options->ViewCustomAttributes = "";

			// f_3019
			$this->f_3019->ViewValue = $this->f_3019->CurrentValue;
			$this->f_3019->ViewValue = FormatNumber($this->f_3019->ViewValue, 0, -2, -2, -2);
			$this->f_3019->ViewCustomAttributes = "";

			// f_3020_options
			$this->f_3020_options->ViewValue = $this->f_3020_options->CurrentValue;
			$this->f_3020_options->ViewCustomAttributes = "";

			// f_3020
			$this->f_3020->ViewValue = $this->f_3020->CurrentValue;
			$this->f_3020->ViewValue = FormatNumber($this->f_3020->ViewValue, 0, -2, -2, -2);
			$this->f_3020->ViewCustomAttributes = "";

			// f_3021_options
			$this->f_3021_options->ViewValue = $this->f_3021_options->CurrentValue;
			$this->f_3021_options->ViewCustomAttributes = "";

			// f_3021
			$this->f_3021->ViewValue = $this->f_3021->CurrentValue;
			$this->f_3021->ViewValue = FormatNumber($this->f_3021->ViewValue, 0, -2, -2, -2);
			$this->f_3021->ViewCustomAttributes = "";

			// f_3022_options
			$this->f_3022_options->ViewValue = $this->f_3022_options->CurrentValue;
			$this->f_3022_options->ViewCustomAttributes = "";

			// f_3022
			$this->f_3022->ViewValue = $this->f_3022->CurrentValue;
			$this->f_3022->ViewValue = FormatNumber($this->f_3022->ViewValue, 0, -2, -2, -2);
			$this->f_3022->ViewCustomAttributes = "";

			// f_3023_options
			$this->f_3023_options->ViewValue = $this->f_3023_options->CurrentValue;
			$this->f_3023_options->ViewCustomAttributes = "";

			// f_3023
			$this->f_3023->ViewValue = $this->f_3023->CurrentValue;
			$this->f_3023->ViewValue = FormatNumber($this->f_3023->ViewValue, 0, -2, -2, -2);
			$this->f_3023->ViewCustomAttributes = "";

			// f_3024_options
			$this->f_3024_options->ViewValue = $this->f_3024_options->CurrentValue;
			$this->f_3024_options->ViewCustomAttributes = "";

			// f_3024
			$this->f_3024->ViewValue = $this->f_3024->CurrentValue;
			$this->f_3024->ViewValue = FormatNumber($this->f_3024->ViewValue, 0, -2, -2, -2);
			$this->f_3024->ViewCustomAttributes = "";

			// f_3025_options
			$this->f_3025_options->ViewValue = $this->f_3025_options->CurrentValue;
			$this->f_3025_options->ViewCustomAttributes = "";

			// f_3025
			$this->f_3025->ViewValue = $this->f_3025->CurrentValue;
			$this->f_3025->ViewValue = FormatNumber($this->f_3025->ViewValue, 0, -2, -2, -2);
			$this->f_3025->ViewCustomAttributes = "";

			// f_3026_options
			$this->f_3026_options->ViewValue = $this->f_3026_options->CurrentValue;
			$this->f_3026_options->ViewCustomAttributes = "";

			// f_3026
			$this->f_3026->ViewValue = $this->f_3026->CurrentValue;
			$this->f_3026->ViewValue = FormatNumber($this->f_3026->ViewValue, 0, -2, -2, -2);
			$this->f_3026->ViewCustomAttributes = "";

			// f_3027_options
			$this->f_3027_options->ViewValue = $this->f_3027_options->CurrentValue;
			$this->f_3027_options->ViewCustomAttributes = "";

			// f_3027
			$this->f_3027->ViewValue = $this->f_3027->CurrentValue;
			$this->f_3027->ViewValue = FormatNumber($this->f_3027->ViewValue, 0, -2, -2, -2);
			$this->f_3027->ViewCustomAttributes = "";

			// f_3028_options
			$this->f_3028_options->ViewValue = $this->f_3028_options->CurrentValue;
			$this->f_3028_options->ViewCustomAttributes = "";

			// f_3028
			$this->f_3028->ViewValue = $this->f_3028->CurrentValue;
			$this->f_3028->ViewValue = FormatNumber($this->f_3028->ViewValue, 0, -2, -2, -2);
			$this->f_3028->ViewCustomAttributes = "";

			// f_3029_options
			$this->f_3029_options->ViewValue = $this->f_3029_options->CurrentValue;
			$this->f_3029_options->ViewCustomAttributes = "";

			// f_3029
			$this->f_3029->ViewValue = $this->f_3029->CurrentValue;
			$this->f_3029->ViewValue = FormatNumber($this->f_3029->ViewValue, 0, -2, -2, -2);
			$this->f_3029->ViewCustomAttributes = "";

			// f_3031_options
			$this->f_3031_options->ViewValue = $this->f_3031_options->CurrentValue;
			$this->f_3031_options->ViewCustomAttributes = "";

			// f_3031
			$this->f_3031->ViewValue = $this->f_3031->CurrentValue;
			$this->f_3031->ViewValue = FormatNumber($this->f_3031->ViewValue, 0, -2, -2, -2);
			$this->f_3031->ViewCustomAttributes = "";

			// f_3032_options
			$this->f_3032_options->ViewValue = $this->f_3032_options->CurrentValue;
			$this->f_3032_options->ViewCustomAttributes = "";

			// f_3032
			$this->f_3032->ViewValue = $this->f_3032->CurrentValue;
			$this->f_3032->ViewValue = FormatNumber($this->f_3032->ViewValue, 0, -2, -2, -2);
			$this->f_3032->ViewCustomAttributes = "";

			// f_3033_options
			$this->f_3033_options->ViewValue = $this->f_3033_options->CurrentValue;
			$this->f_3033_options->ViewCustomAttributes = "";

			// f_3033
			$this->f_3033->ViewValue = $this->f_3033->CurrentValue;
			$this->f_3033->ViewValue = FormatNumber($this->f_3033->ViewValue, 0, -2, -2, -2);
			$this->f_3033->ViewCustomAttributes = "";

			// f_3034_options
			$this->f_3034_options->ViewValue = $this->f_3034_options->CurrentValue;
			$this->f_3034_options->ViewCustomAttributes = "";

			// f_3034
			$this->f_3034->ViewValue = $this->f_3034->CurrentValue;
			$this->f_3034->ViewValue = FormatNumber($this->f_3034->ViewValue, 0, -2, -2, -2);
			$this->f_3034->ViewCustomAttributes = "";

			// f_3035_options
			$this->f_3035_options->ViewValue = $this->f_3035_options->CurrentValue;
			$this->f_3035_options->ViewCustomAttributes = "";

			// f_3035
			$this->f_3035->ViewValue = $this->f_3035->CurrentValue;
			$this->f_3035->ViewValue = FormatNumber($this->f_3035->ViewValue, 0, -2, -2, -2);
			$this->f_3035->ViewCustomAttributes = "";

			// f_3036_options
			$this->f_3036_options->ViewValue = $this->f_3036_options->CurrentValue;
			$this->f_3036_options->ViewCustomAttributes = "";

			// f_3036
			$this->f_3036->ViewValue = $this->f_3036->CurrentValue;
			$this->f_3036->ViewValue = FormatNumber($this->f_3036->ViewValue, 0, -2, -2, -2);
			$this->f_3036->ViewCustomAttributes = "";

			// f_3037_options
			$this->f_3037_options->ViewValue = $this->f_3037_options->CurrentValue;
			$this->f_3037_options->ViewCustomAttributes = "";

			// f_3037
			$this->f_3037->ViewValue = $this->f_3037->CurrentValue;
			$this->f_3037->ViewValue = FormatNumber($this->f_3037->ViewValue, 0, -2, -2, -2);
			$this->f_3037->ViewCustomAttributes = "";

			// f_3038_options
			$this->f_3038_options->ViewValue = $this->f_3038_options->CurrentValue;
			$this->f_3038_options->ViewCustomAttributes = "";

			// f_3038
			$this->f_3038->ViewValue = $this->f_3038->CurrentValue;
			$this->f_3038->ViewValue = FormatNumber($this->f_3038->ViewValue, 0, -2, -2, -2);
			$this->f_3038->ViewCustomAttributes = "";

			// f_3039_options
			$this->f_3039_options->ViewValue = $this->f_3039_options->CurrentValue;
			$this->f_3039_options->ViewCustomAttributes = "";

			// f_3039
			$this->f_3039->ViewValue = $this->f_3039->CurrentValue;
			$this->f_3039->ViewValue = FormatNumber($this->f_3039->ViewValue, 0, -2, -2, -2);
			$this->f_3039->ViewCustomAttributes = "";

			// f_3040_options
			$this->f_3040_options->ViewValue = $this->f_3040_options->CurrentValue;
			$this->f_3040_options->ViewCustomAttributes = "";

			// f_3040
			$this->f_3040->ViewValue = $this->f_3040->CurrentValue;
			$this->f_3040->ViewValue = FormatNumber($this->f_3040->ViewValue, 0, -2, -2, -2);
			$this->f_3040->ViewCustomAttributes = "";

			// f_3041_options
			$this->f_3041_options->ViewValue = $this->f_3041_options->CurrentValue;
			$this->f_3041_options->ViewCustomAttributes = "";

			// f_3041
			$this->f_3041->ViewValue = $this->f_3041->CurrentValue;
			$this->f_3041->ViewValue = FormatNumber($this->f_3041->ViewValue, 0, -2, -2, -2);
			$this->f_3041->ViewCustomAttributes = "";

			// f_3042_options
			$this->f_3042_options->ViewValue = $this->f_3042_options->CurrentValue;
			$this->f_3042_options->ViewCustomAttributes = "";

			// f_3042
			$this->f_3042->ViewValue = $this->f_3042->CurrentValue;
			$this->f_3042->ViewValue = FormatNumber($this->f_3042->ViewValue, 0, -2, -2, -2);
			$this->f_3042->ViewCustomAttributes = "";

			// f_3043_options
			$this->f_3043_options->ViewValue = $this->f_3043_options->CurrentValue;
			$this->f_3043_options->ViewCustomAttributes = "";

			// f_3043
			$this->f_3043->ViewValue = $this->f_3043->CurrentValue;
			$this->f_3043->ViewValue = FormatNumber($this->f_3043->ViewValue, 0, -2, -2, -2);
			$this->f_3043->ViewCustomAttributes = "";

			// f_3044_options
			$this->f_3044_options->ViewValue = $this->f_3044_options->CurrentValue;
			$this->f_3044_options->ViewCustomAttributes = "";

			// f_3044
			$this->f_3044->ViewValue = $this->f_3044->CurrentValue;
			$this->f_3044->ViewValue = FormatNumber($this->f_3044->ViewValue, 0, -2, -2, -2);
			$this->f_3044->ViewCustomAttributes = "";

			// n_3045
			$this->n_3045->ViewValue = $this->n_3045->CurrentValue;
			$this->n_3045->ViewValue = FormatNumber($this->n_3045->ViewValue, 0, -2, -2, -2);
			$this->n_3045->ViewCustomAttributes = "";

			// n_3045_distance
			$this->n_3045_distance->ViewValue = $this->n_3045_distance->CurrentValue;
			$this->n_3045_distance->ViewValue = FormatNumber($this->n_3045_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3045_distance->ViewCustomAttributes = "";

			// n_3045_distance_by
			$this->n_3045_distance_by->ViewValue = $this->n_3045_distance_by->CurrentValue;
			$this->n_3045_distance_by->ViewValue = FormatNumber($this->n_3045_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3045_distance_by->ViewCustomAttributes = "";

			// n_3046
			$this->n_3046->ViewValue = $this->n_3046->CurrentValue;
			$this->n_3046->ViewValue = FormatNumber($this->n_3046->ViewValue, 0, -2, -2, -2);
			$this->n_3046->ViewCustomAttributes = "";

			// n_3046_distance
			$this->n_3046_distance->ViewValue = $this->n_3046_distance->CurrentValue;
			$this->n_3046_distance->ViewValue = FormatNumber($this->n_3046_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3046_distance->ViewCustomAttributes = "";

			// n_3046_distance_by
			$this->n_3046_distance_by->ViewValue = $this->n_3046_distance_by->CurrentValue;
			$this->n_3046_distance_by->ViewValue = FormatNumber($this->n_3046_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3046_distance_by->ViewCustomAttributes = "";

			// n_3047
			$this->n_3047->ViewValue = $this->n_3047->CurrentValue;
			$this->n_3047->ViewValue = FormatNumber($this->n_3047->ViewValue, 0, -2, -2, -2);
			$this->n_3047->ViewCustomAttributes = "";

			// n_3047_distance
			$this->n_3047_distance->ViewValue = $this->n_3047_distance->CurrentValue;
			$this->n_3047_distance->ViewValue = FormatNumber($this->n_3047_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3047_distance->ViewCustomAttributes = "";

			// n_3047_distance_by
			$this->n_3047_distance_by->ViewValue = $this->n_3047_distance_by->CurrentValue;
			$this->n_3047_distance_by->ViewValue = FormatNumber($this->n_3047_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3047_distance_by->ViewCustomAttributes = "";

			// n_3048
			$this->n_3048->ViewValue = $this->n_3048->CurrentValue;
			$this->n_3048->ViewValue = FormatNumber($this->n_3048->ViewValue, 0, -2, -2, -2);
			$this->n_3048->ViewCustomAttributes = "";

			// n_3048_distance
			$this->n_3048_distance->ViewValue = $this->n_3048_distance->CurrentValue;
			$this->n_3048_distance->ViewValue = FormatNumber($this->n_3048_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3048_distance->ViewCustomAttributes = "";

			// n_3048_distance_by
			$this->n_3048_distance_by->ViewValue = $this->n_3048_distance_by->CurrentValue;
			$this->n_3048_distance_by->ViewValue = FormatNumber($this->n_3048_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3048_distance_by->ViewCustomAttributes = "";

			// n_3049
			$this->n_3049->ViewValue = $this->n_3049->CurrentValue;
			$this->n_3049->ViewValue = FormatNumber($this->n_3049->ViewValue, 0, -2, -2, -2);
			$this->n_3049->ViewCustomAttributes = "";

			// n_3049_distance
			$this->n_3049_distance->ViewValue = $this->n_3049_distance->CurrentValue;
			$this->n_3049_distance->ViewValue = FormatNumber($this->n_3049_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3049_distance->ViewCustomAttributes = "";

			// n_3049_distance_by
			$this->n_3049_distance_by->ViewValue = $this->n_3049_distance_by->CurrentValue;
			$this->n_3049_distance_by->ViewValue = FormatNumber($this->n_3049_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3049_distance_by->ViewCustomAttributes = "";

			// n_3050
			$this->n_3050->ViewValue = $this->n_3050->CurrentValue;
			$this->n_3050->ViewValue = FormatNumber($this->n_3050->ViewValue, 0, -2, -2, -2);
			$this->n_3050->ViewCustomAttributes = "";

			// n_3050_distance
			$this->n_3050_distance->ViewValue = $this->n_3050_distance->CurrentValue;
			$this->n_3050_distance->ViewValue = FormatNumber($this->n_3050_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3050_distance->ViewCustomAttributes = "";

			// n_3050_distance_by
			$this->n_3050_distance_by->ViewValue = $this->n_3050_distance_by->CurrentValue;
			$this->n_3050_distance_by->ViewValue = FormatNumber($this->n_3050_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3050_distance_by->ViewCustomAttributes = "";

			// n_3051
			$this->n_3051->ViewValue = $this->n_3051->CurrentValue;
			$this->n_3051->ViewValue = FormatNumber($this->n_3051->ViewValue, 0, -2, -2, -2);
			$this->n_3051->ViewCustomAttributes = "";

			// n_3051_distance
			$this->n_3051_distance->ViewValue = $this->n_3051_distance->CurrentValue;
			$this->n_3051_distance->ViewValue = FormatNumber($this->n_3051_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3051_distance->ViewCustomAttributes = "";

			// n_3051_distance_by
			$this->n_3051_distance_by->ViewValue = $this->n_3051_distance_by->CurrentValue;
			$this->n_3051_distance_by->ViewValue = FormatNumber($this->n_3051_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3051_distance_by->ViewCustomAttributes = "";

			// n_3052
			$this->n_3052->ViewValue = $this->n_3052->CurrentValue;
			$this->n_3052->ViewValue = FormatNumber($this->n_3052->ViewValue, 0, -2, -2, -2);
			$this->n_3052->ViewCustomAttributes = "";

			// n_3052_distance
			$this->n_3052_distance->ViewValue = $this->n_3052_distance->CurrentValue;
			$this->n_3052_distance->ViewValue = FormatNumber($this->n_3052_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3052_distance->ViewCustomAttributes = "";

			// n_3052_distance_by
			$this->n_3052_distance_by->ViewValue = $this->n_3052_distance_by->CurrentValue;
			$this->n_3052_distance_by->ViewValue = FormatNumber($this->n_3052_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3052_distance_by->ViewCustomAttributes = "";

			// n_3053
			$this->n_3053->ViewValue = $this->n_3053->CurrentValue;
			$this->n_3053->ViewValue = FormatNumber($this->n_3053->ViewValue, 0, -2, -2, -2);
			$this->n_3053->ViewCustomAttributes = "";

			// n_3053_distance
			$this->n_3053_distance->ViewValue = $this->n_3053_distance->CurrentValue;
			$this->n_3053_distance->ViewValue = FormatNumber($this->n_3053_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3053_distance->ViewCustomAttributes = "";

			// n_3053_distance_by
			$this->n_3053_distance_by->ViewValue = $this->n_3053_distance_by->CurrentValue;
			$this->n_3053_distance_by->ViewValue = FormatNumber($this->n_3053_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3053_distance_by->ViewCustomAttributes = "";

			// n_3054
			$this->n_3054->ViewValue = $this->n_3054->CurrentValue;
			$this->n_3054->ViewValue = FormatNumber($this->n_3054->ViewValue, 0, -2, -2, -2);
			$this->n_3054->ViewCustomAttributes = "";

			// n_3054_distance
			$this->n_3054_distance->ViewValue = $this->n_3054_distance->CurrentValue;
			$this->n_3054_distance->ViewValue = FormatNumber($this->n_3054_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3054_distance->ViewCustomAttributes = "";

			// n_3054_distance_by
			$this->n_3054_distance_by->ViewValue = $this->n_3054_distance_by->CurrentValue;
			$this->n_3054_distance_by->ViewValue = FormatNumber($this->n_3054_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3054_distance_by->ViewCustomAttributes = "";

			// n_3055
			$this->n_3055->ViewValue = $this->n_3055->CurrentValue;
			$this->n_3055->ViewValue = FormatNumber($this->n_3055->ViewValue, 0, -2, -2, -2);
			$this->n_3055->ViewCustomAttributes = "";

			// n_3055_distance
			$this->n_3055_distance->ViewValue = $this->n_3055_distance->CurrentValue;
			$this->n_3055_distance->ViewValue = FormatNumber($this->n_3055_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3055_distance->ViewCustomAttributes = "";

			// n_3055_distance_by
			$this->n_3055_distance_by->ViewValue = $this->n_3055_distance_by->CurrentValue;
			$this->n_3055_distance_by->ViewValue = FormatNumber($this->n_3055_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3055_distance_by->ViewCustomAttributes = "";

			// n_3056
			$this->n_3056->ViewValue = $this->n_3056->CurrentValue;
			$this->n_3056->ViewValue = FormatNumber($this->n_3056->ViewValue, 0, -2, -2, -2);
			$this->n_3056->ViewCustomAttributes = "";

			// n_3056_distance
			$this->n_3056_distance->ViewValue = $this->n_3056_distance->CurrentValue;
			$this->n_3056_distance->ViewValue = FormatNumber($this->n_3056_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3056_distance->ViewCustomAttributes = "";

			// n_3056_distance_by
			$this->n_3056_distance_by->ViewValue = $this->n_3056_distance_by->CurrentValue;
			$this->n_3056_distance_by->ViewValue = FormatNumber($this->n_3056_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3056_distance_by->ViewCustomAttributes = "";

			// n_3057
			$this->n_3057->ViewValue = $this->n_3057->CurrentValue;
			$this->n_3057->ViewValue = FormatNumber($this->n_3057->ViewValue, 0, -2, -2, -2);
			$this->n_3057->ViewCustomAttributes = "";

			// n_3057_distance
			$this->n_3057_distance->ViewValue = $this->n_3057_distance->CurrentValue;
			$this->n_3057_distance->ViewValue = FormatNumber($this->n_3057_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3057_distance->ViewCustomAttributes = "";

			// n_3057_distance_by
			$this->n_3057_distance_by->ViewValue = $this->n_3057_distance_by->CurrentValue;
			$this->n_3057_distance_by->ViewValue = FormatNumber($this->n_3057_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3057_distance_by->ViewCustomAttributes = "";

			// n_3058
			$this->n_3058->ViewValue = $this->n_3058->CurrentValue;
			$this->n_3058->ViewValue = FormatNumber($this->n_3058->ViewValue, 0, -2, -2, -2);
			$this->n_3058->ViewCustomAttributes = "";

			// n_3058_distance
			$this->n_3058_distance->ViewValue = $this->n_3058_distance->CurrentValue;
			$this->n_3058_distance->ViewValue = FormatNumber($this->n_3058_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3058_distance->ViewCustomAttributes = "";

			// n_3058_distance_by
			$this->n_3058_distance_by->ViewValue = $this->n_3058_distance_by->CurrentValue;
			$this->n_3058_distance_by->ViewValue = FormatNumber($this->n_3058_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3058_distance_by->ViewCustomAttributes = "";

			// n_3059
			$this->n_3059->ViewValue = $this->n_3059->CurrentValue;
			$this->n_3059->ViewValue = FormatNumber($this->n_3059->ViewValue, 0, -2, -2, -2);
			$this->n_3059->ViewCustomAttributes = "";

			// n_3059_distance
			$this->n_3059_distance->ViewValue = $this->n_3059_distance->CurrentValue;
			$this->n_3059_distance->ViewValue = FormatNumber($this->n_3059_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3059_distance->ViewCustomAttributes = "";

			// n_3059_distance_by
			$this->n_3059_distance_by->ViewValue = $this->n_3059_distance_by->CurrentValue;
			$this->n_3059_distance_by->ViewValue = FormatNumber($this->n_3059_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3059_distance_by->ViewCustomAttributes = "";

			// f_3060_options
			$this->f_3060_options->ViewValue = $this->f_3060_options->CurrentValue;
			$this->f_3060_options->ViewCustomAttributes = "";

			// f_3060
			$this->f_3060->ViewValue = $this->f_3060->CurrentValue;
			$this->f_3060->ViewValue = FormatNumber($this->f_3060->ViewValue, 0, -2, -2, -2);
			$this->f_3060->ViewCustomAttributes = "";

			// f_3061_options
			$this->f_3061_options->ViewValue = $this->f_3061_options->CurrentValue;
			$this->f_3061_options->ViewCustomAttributes = "";

			// f_3061
			$this->f_3061->ViewValue = $this->f_3061->CurrentValue;
			$this->f_3061->ViewValue = FormatNumber($this->f_3061->ViewValue, 0, -2, -2, -2);
			$this->f_3061->ViewCustomAttributes = "";

			// f_3062_options
			$this->f_3062_options->ViewValue = $this->f_3062_options->CurrentValue;
			$this->f_3062_options->ViewCustomAttributes = "";

			// f_3062
			$this->f_3062->ViewValue = $this->f_3062->CurrentValue;
			$this->f_3062->ViewValue = FormatNumber($this->f_3062->ViewValue, 0, -2, -2, -2);
			$this->f_3062->ViewCustomAttributes = "";

			// field_3063
			$this->field_3063->ViewValue = $this->field_3063->CurrentValue;
			$this->field_3063->ViewCustomAttributes = "";

			// field_3064
			$this->field_3064->ViewValue = $this->field_3064->CurrentValue;
			$this->field_3064->ViewCustomAttributes = "";

			// field_3065
			$this->field_3065->ViewValue = $this->field_3065->CurrentValue;
			$this->field_3065->ViewValue = FormatNumber($this->field_3065->ViewValue, 0, -2, -2, -2);
			$this->field_3065->ViewCustomAttributes = "";

			// field_308_en_us
			$this->field_308_en_us->ViewValue = $this->field_308_en_us->CurrentValue;
			$this->field_308_en_us->ViewCustomAttributes = "";

			// field_308_fr_fr
			$this->field_308_fr_fr->ViewValue = $this->field_308_fr_fr->CurrentValue;
			$this->field_308_fr_fr->ViewCustomAttributes = "";

			// field_313_en_us
			$this->field_313_en_us->ViewValue = $this->field_313_en_us->CurrentValue;
			$this->field_313_en_us->ViewCustomAttributes = "";

			// field_313_fr_fr
			$this->field_313_fr_fr->ViewValue = $this->field_313_fr_fr->CurrentValue;
			$this->field_313_fr_fr->ViewCustomAttributes = "";

			// field_312_en_us
			$this->field_312_en_us->ViewValue = $this->field_312_en_us->CurrentValue;
			$this->field_312_en_us->ViewCustomAttributes = "";

			// field_312_fr_fr
			$this->field_312_fr_fr->ViewValue = $this->field_312_fr_fr->CurrentValue;
			$this->field_312_fr_fr->ViewCustomAttributes = "";

			// field_3017_en_us
			$this->field_3017_en_us->ViewValue = $this->field_3017_en_us->CurrentValue;
			$this->field_3017_en_us->ViewCustomAttributes = "";

			// field_3017_fr_fr
			$this->field_3017_fr_fr->ViewValue = $this->field_3017_fr_fr->CurrentValue;
			$this->field_3017_fr_fr->ViewCustomAttributes = "";

			// field_42_en_us
			$this->field_42_en_us->ViewValue = $this->field_42_en_us->CurrentValue;
			$this->field_42_en_us->ViewCustomAttributes = "";

			// field_42_fr_fr
			$this->field_42_fr_fr->ViewValue = $this->field_42_fr_fr->CurrentValue;
			$this->field_42_fr_fr->ViewCustomAttributes = "";

			// field_3067
			$this->field_3067->ViewValue = $this->field_3067->CurrentValue;
			$this->field_3067->ViewValue = FormatNumber($this->field_3067->ViewValue, 0, -2, -2, -2);
			$this->field_3067->ViewCustomAttributes = "";

			// field_3068
			$this->field_3068->ViewValue = $this->field_3068->CurrentValue;
			$this->field_3068->ViewValue = FormatNumber($this->field_3068->ViewValue, 0, -2, -2, -2);
			$this->field_3068->ViewCustomAttributes = "";

			// field_3069
			$this->field_3069->ViewValue = $this->field_3069->CurrentValue;
			$this->field_3069->ViewValue = FormatNumber($this->field_3069->ViewValue, 0, -2, -2, -2);
			$this->field_3069->ViewCustomAttributes = "";

			// field_3070
			$this->field_3070->ViewValue = $this->field_3070->CurrentValue;
			$this->field_3070->ViewValue = FormatNumber($this->field_3070->ViewValue, 0, -2, -2, -2);
			$this->field_3070->ViewCustomAttributes = "";

			// field_3071
			$this->field_3071->ViewValue = $this->field_3071->CurrentValue;
			$this->field_3071->ViewCustomAttributes = "";

			// field_3071_en_us
			$this->field_3071_en_us->ViewValue = $this->field_3071_en_us->CurrentValue;
			$this->field_3071_en_us->ViewCustomAttributes = "";

			// field_3071_fr_fr
			$this->field_3071_fr_fr->ViewValue = $this->field_3071_fr_fr->CurrentValue;
			$this->field_3071_fr_fr->ViewCustomAttributes = "";

			// field_3072
			$this->field_3072->ViewValue = $this->field_3072->CurrentValue;
			$this->field_3072->ViewValue = FormatNumber($this->field_3072->ViewValue, 0, -2, -2, -2);
			$this->field_3072->ViewCustomAttributes = "";

			// field_3073
			$this->field_3073->ViewValue = $this->field_3073->CurrentValue;
			$this->field_3073->ViewValue = FormatNumber($this->field_3073->ViewValue, 0, -2, -2, -2);
			$this->field_3073->ViewCustomAttributes = "";

			// field_3074
			$this->field_3074->ViewValue = $this->field_3074->CurrentValue;
			$this->field_3074->ViewCustomAttributes = "";

			// field_3074_en_us
			$this->field_3074_en_us->ViewValue = $this->field_3074_en_us->CurrentValue;
			$this->field_3074_en_us->ViewCustomAttributes = "";

			// field_3074_fr_fr
			$this->field_3074_fr_fr->ViewValue = $this->field_3074_fr_fr->CurrentValue;
			$this->field_3074_fr_fr->ViewCustomAttributes = "";

			// field_3075
			$this->field_3075->ViewValue = $this->field_3075->CurrentValue;
			$this->field_3075->ViewValue = FormatNumber($this->field_3075->ViewValue, 0, -2, -2, -2);
			$this->field_3075->ViewCustomAttributes = "";

			// field_3076
			$this->field_3076->ViewValue = $this->field_3076->CurrentValue;
			$this->field_3076->ViewCustomAttributes = "";

			// field_3077
			$this->field_3077->ViewValue = $this->field_3077->CurrentValue;
			$this->field_3077->ViewValue = FormatNumber($this->field_3077->ViewValue, 0, -2, -2, -2);
			$this->field_3077->ViewCustomAttributes = "";

			// field_3078
			$this->field_3078->ViewValue = $this->field_3078->CurrentValue;
			$this->field_3078->ViewValue = FormatNumber($this->field_3078->ViewValue, 0, -2, -2, -2);
			$this->field_3078->ViewCustomAttributes = "";

			// field_3079
			$this->field_3079->ViewValue = $this->field_3079->CurrentValue;
			$this->field_3079->ViewValue = FormatNumber($this->field_3079->ViewValue, 0, -2, -2, -2);
			$this->field_3079->ViewCustomAttributes = "";

			// field_3080
			$this->field_3080->ViewValue = $this->field_3080->CurrentValue;
			$this->field_3080->ViewCustomAttributes = "";

			// field_3076_en_us
			$this->field_3076_en_us->ViewValue = $this->field_3076_en_us->CurrentValue;
			$this->field_3076_en_us->ViewCustomAttributes = "";

			// field_3076_fr_fr
			$this->field_3076_fr_fr->ViewValue = $this->field_3076_fr_fr->CurrentValue;
			$this->field_3076_fr_fr->ViewCustomAttributes = "";

			// field_3080_en_us
			$this->field_3080_en_us->ViewValue = $this->field_3080_en_us->CurrentValue;
			$this->field_3080_en_us->ViewCustomAttributes = "";

			// field_3080_fr_fr
			$this->field_3080_fr_fr->ViewValue = $this->field_3080_fr_fr->CurrentValue;
			$this->field_3080_fr_fr->ViewCustomAttributes = "";

			// field_3081
			$this->field_3081->ViewValue = $this->field_3081->CurrentValue;
			$this->field_3081->ViewCustomAttributes = "";

			// field_3081_en_us
			$this->field_3081_en_us->ViewValue = $this->field_3081_en_us->CurrentValue;
			$this->field_3081_en_us->ViewCustomAttributes = "";

			// field_3081_fr_fr
			$this->field_3081_fr_fr->ViewValue = $this->field_3081_fr_fr->CurrentValue;
			$this->field_3081_fr_fr->ViewCustomAttributes = "";

			// field_3082
			$this->field_3082->ViewValue = $this->field_3082->CurrentValue;
			$this->field_3082->ViewCustomAttributes = "";

			// field_3082_en_us
			$this->field_3082_en_us->ViewValue = $this->field_3082_en_us->CurrentValue;
			$this->field_3082_en_us->ViewCustomAttributes = "";

			// field_3082_fr_fr
			$this->field_3082_fr_fr->ViewValue = $this->field_3082_fr_fr->CurrentValue;
			$this->field_3082_fr_fr->ViewCustomAttributes = "";

			// field_3084
			$this->field_3084->ViewValue = $this->field_3084->CurrentValue;
			$this->field_3084->ViewValue = FormatNumber($this->field_3084->ViewValue, 0, -2, -2, -2);
			$this->field_3084->ViewCustomAttributes = "";

			// field_3085
			$this->field_3085->ViewValue = $this->field_3085->CurrentValue;
			$this->field_3085->ViewValue = FormatNumber($this->field_3085->ViewValue, 0, -2, -2, -2);
			$this->field_3085->ViewCustomAttributes = "";

			// field_3086
			$this->field_3086->ViewValue = $this->field_3086->CurrentValue;
			$this->field_3086->ViewValue = FormatNumber($this->field_3086->ViewValue, 0, -2, -2, -2);
			$this->field_3086->ViewCustomAttributes = "";

			// field_3096
			$this->field_3096->ViewValue = $this->field_3096->CurrentValue;
			$this->field_3096->ViewValue = FormatNumber($this->field_3096->ViewValue, 2, -2, -2, -2);
			$this->field_3096->ViewCustomAttributes = "";

			// field_3097
			$this->field_3097->ViewValue = $this->field_3097->CurrentValue;
			$this->field_3097->ViewCustomAttributes = "";

			// field_3098
			$this->field_3098->ViewValue = $this->field_3098->CurrentValue;
			$this->field_3098->ViewValue = FormatNumber($this->field_3098->ViewValue, 2, -2, -2, -2);
			$this->field_3098->ViewCustomAttributes = "";

			// field_3099
			$this->field_3099->ViewValue = $this->field_3099->CurrentValue;
			$this->field_3099->ViewValue = FormatNumber($this->field_3099->ViewValue, 2, -2, -2, -2);
			$this->field_3099->ViewCustomAttributes = "";

			// field_3100
			$this->field_3100->ViewValue = $this->field_3100->CurrentValue;
			$this->field_3100->ViewValue = FormatNumber($this->field_3100->ViewValue, 2, -2, -2, -2);
			$this->field_3100->ViewCustomAttributes = "";

			// field_3101
			$this->field_3101->ViewValue = $this->field_3101->CurrentValue;
			$this->field_3101->ViewValue = FormatNumber($this->field_3101->ViewValue, 2, -2, -2, -2);
			$this->field_3101->ViewCustomAttributes = "";

			// field_3102
			$this->field_3102->ViewValue = $this->field_3102->CurrentValue;
			$this->field_3102->ViewValue = FormatNumber($this->field_3102->ViewValue, 2, -2, -2, -2);
			$this->field_3102->ViewCustomAttributes = "";

			// field_3103
			$this->field_3103->ViewValue = $this->field_3103->CurrentValue;
			$this->field_3103->ViewValue = FormatNumber($this->field_3103->ViewValue, 2, -2, -2, -2);
			$this->field_3103->ViewCustomAttributes = "";

			// field_3104
			$this->field_3104->ViewValue = $this->field_3104->CurrentValue;
			$this->field_3104->ViewValue = FormatNumber($this->field_3104->ViewValue, 2, -2, -2, -2);
			$this->field_3104->ViewCustomAttributes = "";

			// field_3105
			$this->field_3105->ViewValue = $this->field_3105->CurrentValue;
			$this->field_3105->ViewValue = FormatNumber($this->field_3105->ViewValue, 0, -2, -2, -2);
			$this->field_3105->ViewCustomAttributes = "";

			// field_3106
			$this->field_3106->ViewValue = $this->field_3106->CurrentValue;
			$this->field_3106->ViewValue = FormatNumber($this->field_3106->ViewValue, 0, -2, -2, -2);
			$this->field_3106->ViewCustomAttributes = "";

			// field_3107
			$this->field_3107->ViewValue = $this->field_3107->CurrentValue;
			$this->field_3107->ViewValue = FormatNumber($this->field_3107->ViewValue, 0, -2, -2, -2);
			$this->field_3107->ViewCustomAttributes = "";

			// field_3108
			$this->field_3108->ViewValue = $this->field_3108->CurrentValue;
			$this->field_3108->ViewValue = FormatNumber($this->field_3108->ViewValue, 0, -2, -2, -2);
			$this->field_3108->ViewCustomAttributes = "";

			// field_3109
			$this->field_3109->ViewValue = $this->field_3109->CurrentValue;
			$this->field_3109->ViewValue = FormatNumber($this->field_3109->ViewValue, 0, -2, -2, -2);
			$this->field_3109->ViewCustomAttributes = "";

			// field_3110
			$this->field_3110->ViewValue = $this->field_3110->CurrentValue;
			$this->field_3110->ViewValue = FormatNumber($this->field_3110->ViewValue, 0, -2, -2, -2);
			$this->field_3110->ViewCustomAttributes = "";

			// field_3111
			$this->field_3111->ViewValue = $this->field_3111->CurrentValue;
			$this->field_3111->ViewValue = FormatNumber($this->field_3111->ViewValue, 0, -2, -2, -2);
			$this->field_3111->ViewCustomAttributes = "";

			// field_3112
			$this->field_3112->ViewValue = $this->field_3112->CurrentValue;
			$this->field_3112->ViewValue = FormatNumber($this->field_3112->ViewValue, 0, -2, -2, -2);
			$this->field_3112->ViewCustomAttributes = "";

			// field_3113
			$this->field_3113->ViewValue = $this->field_3113->CurrentValue;
			$this->field_3113->ViewCustomAttributes = "";

			// field_3113_en_us
			$this->field_3113_en_us->ViewValue = $this->field_3113_en_us->CurrentValue;
			$this->field_3113_en_us->ViewCustomAttributes = "";

			// field_3113_fr_fr
			$this->field_3113_fr_fr->ViewValue = $this->field_3113_fr_fr->CurrentValue;
			$this->field_3113_fr_fr->ViewCustomAttributes = "";

			// field_3114
			$this->field_3114->ViewValue = $this->field_3114->CurrentValue;
			$this->field_3114->ViewCustomAttributes = "";

			// field_3114_en_us
			$this->field_3114_en_us->ViewValue = $this->field_3114_en_us->CurrentValue;
			$this->field_3114_en_us->ViewCustomAttributes = "";

			// field_3114_fr_fr
			$this->field_3114_fr_fr->ViewValue = $this->field_3114_fr_fr->CurrentValue;
			$this->field_3114_fr_fr->ViewCustomAttributes = "";

			// field_3115
			$this->field_3115->ViewValue = $this->field_3115->CurrentValue;
			$this->field_3115->ViewValue = FormatNumber($this->field_3115->ViewValue, 2, -2, -2, -2);
			$this->field_3115->ViewCustomAttributes = "";

			// field_3115_si
			$this->field_3115_si->ViewValue = $this->field_3115_si->CurrentValue;
			$this->field_3115_si->ViewValue = FormatNumber($this->field_3115_si->ViewValue, 2, -2, -2, -2);
			$this->field_3115_si->ViewCustomAttributes = "";

			// field_3115_unit
			$this->field_3115_unit->ViewValue = $this->field_3115_unit->CurrentValue;
			$this->field_3115_unit->ViewValue = FormatNumber($this->field_3115_unit->ViewValue, 0, -2, -2, -2);
			$this->field_3115_unit->ViewCustomAttributes = "";

			// field_3116
			$this->field_3116->ViewValue = $this->field_3116->CurrentValue;
			$this->field_3116->ViewValue = FormatDateTime($this->field_3116->ViewValue, 0);
			$this->field_3116->ViewCustomAttributes = "";

			// field_3117
			$this->field_3117->ViewValue = $this->field_3117->CurrentValue;
			$this->field_3117->ViewCustomAttributes = "";

			// field_3117_en_us
			$this->field_3117_en_us->ViewValue = $this->field_3117_en_us->CurrentValue;
			$this->field_3117_en_us->ViewCustomAttributes = "";

			// field_3117_fr_fr
			$this->field_3117_fr_fr->ViewValue = $this->field_3117_fr_fr->CurrentValue;
			$this->field_3117_fr_fr->ViewCustomAttributes = "";

			// field_3118
			$this->field_3118->ViewValue = $this->field_3118->CurrentValue;
			$this->field_3118->ViewCustomAttributes = "";

			// field_3118_en_us
			$this->field_3118_en_us->ViewValue = $this->field_3118_en_us->CurrentValue;
			$this->field_3118_en_us->ViewCustomAttributes = "";

			// field_3118_fr_fr
			$this->field_3118_fr_fr->ViewValue = $this->field_3118_fr_fr->CurrentValue;
			$this->field_3118_fr_fr->ViewCustomAttributes = "";

			// field_3119
			$this->field_3119->ViewValue = $this->field_3119->CurrentValue;
			$this->field_3119->ViewCustomAttributes = "";

			// field_3119_en_us
			$this->field_3119_en_us->ViewValue = $this->field_3119_en_us->CurrentValue;
			$this->field_3119_en_us->ViewCustomAttributes = "";

			// field_3119_fr_fr
			$this->field_3119_fr_fr->ViewValue = $this->field_3119_fr_fr->CurrentValue;
			$this->field_3119_fr_fr->ViewCustomAttributes = "";

			// field_3120
			$this->field_3120->ViewValue = $this->field_3120->CurrentValue;
			$this->field_3120->ViewCustomAttributes = "";

			// field_3120_en_us
			$this->field_3120_en_us->ViewValue = $this->field_3120_en_us->CurrentValue;
			$this->field_3120_en_us->ViewCustomAttributes = "";

			// field_3120_fr_fr
			$this->field_3120_fr_fr->ViewValue = $this->field_3120_fr_fr->CurrentValue;
			$this->field_3120_fr_fr->ViewCustomAttributes = "";

			// field_3121
			$this->field_3121->ViewValue = $this->field_3121->CurrentValue;
			$this->field_3121->ViewValue = FormatDateTime($this->field_3121->ViewValue, 0);
			$this->field_3121->ViewCustomAttributes = "";

			// field_3122
			$this->field_3122->ViewValue = $this->field_3122->CurrentValue;
			$this->field_3122->ViewValue = FormatNumber($this->field_3122->ViewValue, 2, -2, -2, -2);
			$this->field_3122->ViewCustomAttributes = "";

			// field_3122_si
			$this->field_3122_si->ViewValue = $this->field_3122_si->CurrentValue;
			$this->field_3122_si->ViewValue = FormatNumber($this->field_3122_si->ViewValue, 2, -2, -2, -2);
			$this->field_3122_si->ViewCustomAttributes = "";

			// field_3122_unit
			$this->field_3122_unit->ViewValue = $this->field_3122_unit->CurrentValue;
			$this->field_3122_unit->ViewValue = FormatNumber($this->field_3122_unit->ViewValue, 0, -2, -2, -2);
			$this->field_3122_unit->ViewCustomAttributes = "";

			// field_3123
			$this->field_3123->ViewValue = $this->field_3123->CurrentValue;
			$this->field_3123->ViewCustomAttributes = "";

			// field_3124
			$this->field_3124->ViewValue = $this->field_3124->CurrentValue;
			$this->field_3124->ViewCustomAttributes = "";

			// field_3125
			$this->field_3125->ViewValue = $this->field_3125->CurrentValue;
			$this->field_3125->ViewCustomAttributes = "";

			// field_3126
			$this->field_3126->ViewValue = $this->field_3126->CurrentValue;
			$this->field_3126->ViewValue = FormatNumber($this->field_3126->ViewValue, 0, -2, -2, -2);
			$this->field_3126->ViewCustomAttributes = "";

			// field_3127
			$this->field_3127->ViewValue = $this->field_3127->CurrentValue;
			$this->field_3127->ViewValue = FormatNumber($this->field_3127->ViewValue, 0, -2, -2, -2);
			$this->field_3127->ViewCustomAttributes = "";

			// field_3128
			$this->field_3128->ViewValue = $this->field_3128->CurrentValue;
			$this->field_3128->ViewValue = FormatNumber($this->field_3128->ViewValue, 0, -2, -2, -2);
			$this->field_3128->ViewCustomAttributes = "";

			// field_3129
			$this->field_3129->ViewValue = $this->field_3129->CurrentValue;
			$this->field_3129->ViewValue = FormatNumber($this->field_3129->ViewValue, 0, -2, -2, -2);
			$this->field_3129->ViewCustomAttributes = "";

			// field_3130
			$this->field_3130->ViewValue = $this->field_3130->CurrentValue;
			$this->field_3130->ViewValue = FormatNumber($this->field_3130->ViewValue, 0, -2, -2, -2);
			$this->field_3130->ViewCustomAttributes = "";

			// field_3131
			$this->field_3131->ViewValue = $this->field_3131->CurrentValue;
			$this->field_3131->ViewValue = FormatNumber($this->field_3131->ViewValue, 0, -2, -2, -2);
			$this->field_3131->ViewCustomAttributes = "";

			// field_3132
			$this->field_3132->ViewValue = $this->field_3132->CurrentValue;
			$this->field_3132->ViewValue = FormatNumber($this->field_3132->ViewValue, 0, -2, -2, -2);
			$this->field_3132->ViewCustomAttributes = "";

			// field_3133
			$this->field_3133->ViewValue = $this->field_3133->CurrentValue;
			$this->field_3133->ViewValue = FormatNumber($this->field_3133->ViewValue, 0, -2, -2, -2);
			$this->field_3133->ViewCustomAttributes = "";

			// field_3134
			$this->field_3134->ViewValue = $this->field_3134->CurrentValue;
			$this->field_3134->ViewValue = FormatNumber($this->field_3134->ViewValue, 0, -2, -2, -2);
			$this->field_3134->ViewCustomAttributes = "";

			// field_3135
			$this->field_3135->ViewValue = $this->field_3135->CurrentValue;
			$this->field_3135->ViewValue = FormatNumber($this->field_3135->ViewValue, 0, -2, -2, -2);
			$this->field_3135->ViewCustomAttributes = "";

			// field_3136
			$this->field_3136->ViewValue = $this->field_3136->CurrentValue;
			$this->field_3136->ViewValue = FormatNumber($this->field_3136->ViewValue, 0, -2, -2, -2);
			$this->field_3136->ViewCustomAttributes = "";

			// field_3137
			$this->field_3137->ViewValue = $this->field_3137->CurrentValue;
			$this->field_3137->ViewValue = FormatNumber($this->field_3137->ViewValue, 0, -2, -2, -2);
			$this->field_3137->ViewCustomAttributes = "";

			// field_3138
			$this->field_3138->ViewValue = $this->field_3138->CurrentValue;
			$this->field_3138->ViewValue = FormatNumber($this->field_3138->ViewValue, 0, -2, -2, -2);
			$this->field_3138->ViewCustomAttributes = "";

			// field_3139
			$this->field_3139->ViewValue = $this->field_3139->CurrentValue;
			$this->field_3139->ViewValue = FormatNumber($this->field_3139->ViewValue, 0, -2, -2, -2);
			$this->field_3139->ViewCustomAttributes = "";

			// field_3140
			$this->field_3140->ViewValue = $this->field_3140->CurrentValue;
			$this->field_3140->ViewValue = FormatNumber($this->field_3140->ViewValue, 0, -2, -2, -2);
			$this->field_3140->ViewCustomAttributes = "";

			// field_3141
			$this->field_3141->ViewValue = $this->field_3141->CurrentValue;
			$this->field_3141->ViewValue = FormatNumber($this->field_3141->ViewValue, 0, -2, -2, -2);
			$this->field_3141->ViewCustomAttributes = "";

			// field_3142
			$this->field_3142->ViewValue = $this->field_3142->CurrentValue;
			$this->field_3142->ViewValue = FormatNumber($this->field_3142->ViewValue, 0, -2, -2, -2);
			$this->field_3142->ViewCustomAttributes = "";

			// field_3143
			$this->field_3143->ViewValue = $this->field_3143->CurrentValue;
			$this->field_3143->ViewValue = FormatNumber($this->field_3143->ViewValue, 0, -2, -2, -2);
			$this->field_3143->ViewCustomAttributes = "";

			// field_3144
			$this->field_3144->ViewValue = $this->field_3144->CurrentValue;
			$this->field_3144->ViewValue = FormatNumber($this->field_3144->ViewValue, 0, -2, -2, -2);
			$this->field_3144->ViewCustomAttributes = "";

			// field_3145
			$this->field_3145->ViewValue = $this->field_3145->CurrentValue;
			$this->field_3145->ViewValue = FormatNumber($this->field_3145->ViewValue, 0, -2, -2, -2);
			$this->field_3145->ViewCustomAttributes = "";

			// field_3146
			$this->field_3146->ViewValue = $this->field_3146->CurrentValue;
			$this->field_3146->ViewValue = FormatNumber($this->field_3146->ViewValue, 0, -2, -2, -2);
			$this->field_3146->ViewCustomAttributes = "";

			// field_3147
			$this->field_3147->ViewValue = $this->field_3147->CurrentValue;
			$this->field_3147->ViewValue = FormatNumber($this->field_3147->ViewValue, 0, -2, -2, -2);
			$this->field_3147->ViewCustomAttributes = "";

			// field_3148
			$this->field_3148->ViewValue = $this->field_3148->CurrentValue;
			$this->field_3148->ViewValue = FormatNumber($this->field_3148->ViewValue, 0, -2, -2, -2);
			$this->field_3148->ViewCustomAttributes = "";

			// field_3149
			$this->field_3149->ViewValue = $this->field_3149->CurrentValue;
			$this->field_3149->ViewValue = FormatNumber($this->field_3149->ViewValue, 0, -2, -2, -2);
			$this->field_3149->ViewCustomAttributes = "";

			// field_3150
			$this->field_3150->ViewValue = $this->field_3150->CurrentValue;
			$this->field_3150->ViewValue = FormatNumber($this->field_3150->ViewValue, 0, -2, -2, -2);
			$this->field_3150->ViewCustomAttributes = "";

			// field_3151
			$this->field_3151->ViewValue = $this->field_3151->CurrentValue;
			$this->field_3151->ViewValue = FormatNumber($this->field_3151->ViewValue, 0, -2, -2, -2);
			$this->field_3151->ViewCustomAttributes = "";

			// field_3152
			$this->field_3152->ViewValue = $this->field_3152->CurrentValue;
			$this->field_3152->ViewValue = FormatNumber($this->field_3152->ViewValue, 0, -2, -2, -2);
			$this->field_3152->ViewCustomAttributes = "";

			// field_3153
			$this->field_3153->ViewValue = $this->field_3153->CurrentValue;
			$this->field_3153->ViewValue = FormatNumber($this->field_3153->ViewValue, 0, -2, -2, -2);
			$this->field_3153->ViewCustomAttributes = "";

			// field_3154
			$this->field_3154->ViewValue = $this->field_3154->CurrentValue;
			$this->field_3154->ViewValue = FormatNumber($this->field_3154->ViewValue, 0, -2, -2, -2);
			$this->field_3154->ViewCustomAttributes = "";

			// field_3155
			$this->field_3155->ViewValue = $this->field_3155->CurrentValue;
			$this->field_3155->ViewValue = FormatNumber($this->field_3155->ViewValue, 0, -2, -2, -2);
			$this->field_3155->ViewCustomAttributes = "";

			// field_3156
			$this->field_3156->ViewValue = $this->field_3156->CurrentValue;
			$this->field_3156->ViewValue = FormatNumber($this->field_3156->ViewValue, 0, -2, -2, -2);
			$this->field_3156->ViewCustomAttributes = "";

			// field_3157
			$this->field_3157->ViewValue = $this->field_3157->CurrentValue;
			$this->field_3157->ViewValue = FormatNumber($this->field_3157->ViewValue, 0, -2, -2, -2);
			$this->field_3157->ViewCustomAttributes = "";

			// field_3158
			$this->field_3158->ViewValue = $this->field_3158->CurrentValue;
			$this->field_3158->ViewValue = FormatNumber($this->field_3158->ViewValue, 0, -2, -2, -2);
			$this->field_3158->ViewCustomAttributes = "";

			// field_3159
			$this->field_3159->ViewValue = $this->field_3159->CurrentValue;
			$this->field_3159->ViewValue = FormatNumber($this->field_3159->ViewValue, 0, -2, -2, -2);
			$this->field_3159->ViewCustomAttributes = "";

			// field_3160
			$this->field_3160->ViewValue = $this->field_3160->CurrentValue;
			$this->field_3160->ViewValue = FormatNumber($this->field_3160->ViewValue, 0, -2, -2, -2);
			$this->field_3160->ViewCustomAttributes = "";

			// field_3161
			$this->field_3161->ViewValue = $this->field_3161->CurrentValue;
			$this->field_3161->ViewValue = FormatNumber($this->field_3161->ViewValue, 0, -2, -2, -2);
			$this->field_3161->ViewCustomAttributes = "";

			// field_3162
			$this->field_3162->ViewValue = $this->field_3162->CurrentValue;
			$this->field_3162->ViewValue = FormatNumber($this->field_3162->ViewValue, 0, -2, -2, -2);
			$this->field_3162->ViewCustomAttributes = "";

			// field_3163
			$this->field_3163->ViewValue = $this->field_3163->CurrentValue;
			$this->field_3163->ViewValue = FormatNumber($this->field_3163->ViewValue, 0, -2, -2, -2);
			$this->field_3163->ViewCustomAttributes = "";

			// field_3164
			$this->field_3164->ViewValue = $this->field_3164->CurrentValue;
			$this->field_3164->ViewValue = FormatNumber($this->field_3164->ViewValue, 0, -2, -2, -2);
			$this->field_3164->ViewCustomAttributes = "";

			// field_3165
			$this->field_3165->ViewValue = $this->field_3165->CurrentValue;
			$this->field_3165->ViewValue = FormatNumber($this->field_3165->ViewValue, 0, -2, -2, -2);
			$this->field_3165->ViewCustomAttributes = "";

			// field_3166
			$this->field_3166->ViewValue = $this->field_3166->CurrentValue;
			$this->field_3166->ViewValue = FormatNumber($this->field_3166->ViewValue, 0, -2, -2, -2);
			$this->field_3166->ViewCustomAttributes = "";

			// field_3167
			$this->field_3167->ViewValue = $this->field_3167->CurrentValue;
			$this->field_3167->ViewValue = FormatNumber($this->field_3167->ViewValue, 2, -2, -2, -2);
			$this->field_3167->ViewCustomAttributes = "";

			// field_3168
			$this->field_3168->ViewValue = $this->field_3168->CurrentValue;
			$this->field_3168->ViewValue = FormatNumber($this->field_3168->ViewValue, 2, -2, -2, -2);
			$this->field_3168->ViewCustomAttributes = "";

			// field_3169
			$this->field_3169->ViewValue = $this->field_3169->CurrentValue;
			$this->field_3169->ViewValue = FormatNumber($this->field_3169->ViewValue, 0, -2, -2, -2);
			$this->field_3169->ViewCustomAttributes = "";

			// field_3170
			$this->field_3170->ViewValue = $this->field_3170->CurrentValue;
			$this->field_3170->ViewValue = FormatNumber($this->field_3170->ViewValue, 0, -2, -2, -2);
			$this->field_3170->ViewCustomAttributes = "";

			// field_3171
			$this->field_3171->ViewValue = $this->field_3171->CurrentValue;
			$this->field_3171->ViewCustomAttributes = "";

			// field_3172
			$this->field_3172->ViewValue = $this->field_3172->CurrentValue;
			$this->field_3172->ViewCustomAttributes = "";

			// field_3173
			$this->field_3173->ViewValue = $this->field_3173->CurrentValue;
			$this->field_3173->ViewValue = FormatNumber($this->field_3173->ViewValue, 2, -2, -2, -2);
			$this->field_3173->ViewCustomAttributes = "";

			// field_3173_si
			$this->field_3173_si->ViewValue = $this->field_3173_si->CurrentValue;
			$this->field_3173_si->ViewValue = FormatNumber($this->field_3173_si->ViewValue, 2, -2, -2, -2);
			$this->field_3173_si->ViewCustomAttributes = "";

			// field_3173_unit
			$this->field_3173_unit->ViewValue = $this->field_3173_unit->CurrentValue;
			$this->field_3173_unit->ViewValue = FormatNumber($this->field_3173_unit->ViewValue, 0, -2, -2, -2);
			$this->field_3173_unit->ViewCustomAttributes = "";

			// field_3180
			$this->field_3180->ViewValue = $this->field_3180->CurrentValue;
			$this->field_3180->ViewCustomAttributes = "";

			// field_3180_en_us
			$this->field_3180_en_us->ViewValue = $this->field_3180_en_us->CurrentValue;
			$this->field_3180_en_us->ViewCustomAttributes = "";

			// field_3180_fr_fr
			$this->field_3180_fr_fr->ViewValue = $this->field_3180_fr_fr->CurrentValue;
			$this->field_3180_fr_fr->ViewCustomAttributes = "";

			// field_3181
			$this->field_3181->ViewValue = $this->field_3181->CurrentValue;
			$this->field_3181->ViewValue = FormatNumber($this->field_3181->ViewValue, 0, -2, -2, -2);
			$this->field_3181->ViewCustomAttributes = "";

			// field_3182
			$this->field_3182->ViewValue = $this->field_3182->CurrentValue;
			$this->field_3182->ViewValue = FormatNumber($this->field_3182->ViewValue, 0, -2, -2, -2);
			$this->field_3182->ViewCustomAttributes = "";

			// n_3189
			$this->n_3189->ViewValue = $this->n_3189->CurrentValue;
			$this->n_3189->ViewValue = FormatNumber($this->n_3189->ViewValue, 0, -2, -2, -2);
			$this->n_3189->ViewCustomAttributes = "";

			// n_3189_distance
			$this->n_3189_distance->ViewValue = $this->n_3189_distance->CurrentValue;
			$this->n_3189_distance->ViewValue = FormatNumber($this->n_3189_distance->ViewValue, 0, -2, -2, -2);
			$this->n_3189_distance->ViewCustomAttributes = "";

			// n_3189_distance_by
			$this->n_3189_distance_by->ViewValue = $this->n_3189_distance_by->CurrentValue;
			$this->n_3189_distance_by->ViewValue = FormatNumber($this->n_3189_distance_by->ViewValue, 0, -2, -2, -2);
			$this->n_3189_distance_by->ViewCustomAttributes = "";

			// id
			$this->id->LinkCustomAttributes = "";
			$this->id->HrefValue = "";
			$this->id->TooltipValue = "";

			// kind
			$this->kind->LinkCustomAttributes = "";
			$this->kind->HrefValue = "";
			$this->kind->TooltipValue = "";

			// deleted
			$this->deleted->LinkCustomAttributes = "";
			$this->deleted->HrefValue = "";
			$this->deleted->TooltipValue = "";

			// mls_id
			$this->mls_id->LinkCustomAttributes = "";
			$this->mls_id->HrefValue = "";
			$this->mls_id->TooltipValue = "";

			// mls_id_num
			$this->mls_id_num->LinkCustomAttributes = "";
			$this->mls_id_num->HrefValue = "";
			$this->mls_id_num->TooltipValue = "";

			// parent
			$this->parent->LinkCustomAttributes = "";
			$this->parent->HrefValue = "";
			$this->parent->TooltipValue = "";

			// pic_numb
			$this->pic_numb->LinkCustomAttributes = "";
			$this->pic_numb->HrefValue = "";
			$this->pic_numb->TooltipValue = "";

			// user_id
			$this->user_id->LinkCustomAttributes = "";
			$this->user_id->HrefValue = "";
			$this->user_id->TooltipValue = "";

			// listing
			$this->listing->LinkCustomAttributes = "";
			$this->listing->HrefValue = "";
			$this->listing->TooltipValue = "";

			// property_type
			$this->property_type->LinkCustomAttributes = "";
			$this->property_type->HrefValue = "";
			$this->property_type->TooltipValue = "";

			// location1_id
			$this->location1_id->LinkCustomAttributes = "";
			$this->location1_id->HrefValue = "";
			$this->location1_id->TooltipValue = "";

			// location2_id
			$this->location2_id->LinkCustomAttributes = "";
			$this->location2_id->HrefValue = "";
			$this->location2_id->TooltipValue = "";

			// location3_id
			$this->location3_id->LinkCustomAttributes = "";
			$this->location3_id->HrefValue = "";
			$this->location3_id->TooltipValue = "";

			// location4_id
			$this->location4_id->LinkCustomAttributes = "";
			$this->location4_id->HrefValue = "";
			$this->location4_id->TooltipValue = "";

			// location5_id
			$this->location5_id->LinkCustomAttributes = "";
			$this->location5_id->HrefValue = "";
			$this->location5_id->TooltipValue = "";

			// location6_id
			$this->location6_id->LinkCustomAttributes = "";
			$this->location6_id->HrefValue = "";
			$this->location6_id->TooltipValue = "";

			// location7_id
			$this->location7_id->LinkCustomAttributes = "";
			$this->location7_id->HrefValue = "";
			$this->location7_id->TooltipValue = "";

			// location1_name
			$this->location1_name->LinkCustomAttributes = "";
			$this->location1_name->HrefValue = "";
			$this->location1_name->TooltipValue = "";

			// location2_name
			$this->location2_name->LinkCustomAttributes = "";
			$this->location2_name->HrefValue = "";
			$this->location2_name->TooltipValue = "";

			// location3_name
			$this->location3_name->LinkCustomAttributes = "";
			$this->location3_name->HrefValue = "";
			$this->location3_name->TooltipValue = "";

			// location4_name
			$this->location4_name->LinkCustomAttributes = "";
			$this->location4_name->HrefValue = "";
			$this->location4_name->TooltipValue = "";

			// location5_name
			$this->location5_name->LinkCustomAttributes = "";
			$this->location5_name->HrefValue = "";
			$this->location5_name->TooltipValue = "";

			// location6_name
			$this->location6_name->LinkCustomAttributes = "";
			$this->location6_name->HrefValue = "";
			$this->location6_name->TooltipValue = "";

			// location7_name
			$this->location7_name->LinkCustomAttributes = "";
			$this->location7_name->HrefValue = "";
			$this->location7_name->TooltipValue = "";

			// show_address
			$this->show_address->LinkCustomAttributes = "";
			$this->show_address->HrefValue = "";
			$this->show_address->TooltipValue = "";

			// show_marker
			$this->show_marker->LinkCustomAttributes = "";
			$this->show_marker->HrefValue = "";
			$this->show_marker->TooltipValue = "";

			// price
			$this->price->LinkCustomAttributes = "";
			$this->price->HrefValue = "";
			$this->price->TooltipValue = "";

			// price_unit
			$this->price_unit->LinkCustomAttributes = "";
			$this->price_unit->HrefValue = "";
			$this->price_unit->TooltipValue = "";

			// price_si
			$this->price_si->LinkCustomAttributes = "";
			$this->price_si->HrefValue = "";
			$this->price_si->TooltipValue = "";

			// price_period
			$this->price_period->LinkCustomAttributes = "";
			$this->price_period->HrefValue = "";
			$this->price_period->TooltipValue = "";

			// bedrooms
			$this->bedrooms->LinkCustomAttributes = "";
			$this->bedrooms->HrefValue = "";
			$this->bedrooms->TooltipValue = "";

			// rooms
			$this->rooms->LinkCustomAttributes = "";
			$this->rooms->HrefValue = "";
			$this->rooms->TooltipValue = "";

			// bathrooms
			$this->bathrooms->LinkCustomAttributes = "";
			$this->bathrooms->HrefValue = "";
			$this->bathrooms->TooltipValue = "";

			// living_area
			$this->living_area->LinkCustomAttributes = "";
			$this->living_area->HrefValue = "";
			$this->living_area->TooltipValue = "";

			// living_area_unit
			$this->living_area_unit->LinkCustomAttributes = "";
			$this->living_area_unit->HrefValue = "";
			$this->living_area_unit->TooltipValue = "";

			// living_area_si
			$this->living_area_si->LinkCustomAttributes = "";
			$this->living_area_si->HrefValue = "";
			$this->living_area_si->TooltipValue = "";

			// lot_area
			$this->lot_area->LinkCustomAttributes = "";
			$this->lot_area->HrefValue = "";
			$this->lot_area->TooltipValue = "";

			// lot_area_unit
			$this->lot_area_unit->LinkCustomAttributes = "";
			$this->lot_area_unit->HrefValue = "";
			$this->lot_area_unit->TooltipValue = "";

			// lot_area_si
			$this->lot_area_si->LinkCustomAttributes = "";
			$this->lot_area_si->HrefValue = "";
			$this->lot_area_si->TooltipValue = "";

			// googlemap_lt
			$this->googlemap_lt->LinkCustomAttributes = "";
			$this->googlemap_lt->HrefValue = "";
			$this->googlemap_lt->TooltipValue = "";

			// googlemap_ln
			$this->googlemap_ln->LinkCustomAttributes = "";
			$this->googlemap_ln->HrefValue = "";
			$this->googlemap_ln->TooltipValue = "";

			// finalized
			$this->finalized->LinkCustomAttributes = "";
			$this->finalized->HrefValue = "";
			$this->finalized->TooltipValue = "";

			// add_date
			$this->add_date->LinkCustomAttributes = "";
			$this->add_date->HrefValue = "";
			$this->add_date->TooltipValue = "";

			// last_finalize_date
			$this->last_finalize_date->LinkCustomAttributes = "";
			$this->last_finalize_date->HrefValue = "";
			$this->last_finalize_date->TooltipValue = "";

			// expire_days
			$this->expire_days->LinkCustomAttributes = "";
			$this->expire_days->HrefValue = "";
			$this->expire_days->TooltipValue = "";

			// confirmed
			$this->confirmed->LinkCustomAttributes = "";
			$this->confirmed->HrefValue = "";
			$this->confirmed->TooltipValue = "";

			// expired
			$this->expired->LinkCustomAttributes = "";
			$this->expired->HrefValue = "";
			$this->expired->TooltipValue = "";

			// build_year
			$this->build_year->LinkCustomAttributes = "";
			$this->build_year->HrefValue = "";
			$this->build_year->TooltipValue = "";

			// zip_id
			$this->zip_id->LinkCustomAttributes = "";
			$this->zip_id->HrefValue = "";
			$this->zip_id->TooltipValue = "";

			// zip_name
			$this->zip_name->LinkCustomAttributes = "";
			$this->zip_name->HrefValue = "";
			$this->zip_name->TooltipValue = "";

			// last_modified_time_stamp
			$this->last_modified_time_stamp->LinkCustomAttributes = "";
			$this->last_modified_time_stamp->HrefValue = "";
			$this->last_modified_time_stamp->TooltipValue = "";

			// post_code
			$this->post_code->LinkCustomAttributes = "";
			$this->post_code->HrefValue = "";
			$this->post_code->TooltipValue = "";

			// meta_description
			$this->meta_description->LinkCustomAttributes = "";
			$this->meta_description->HrefValue = "";
			$this->meta_description->TooltipValue = "";

			// meta_description_manual
			$this->meta_description_manual->LinkCustomAttributes = "";
			$this->meta_description_manual->HrefValue = "";
			$this->meta_description_manual->TooltipValue = "";

			// meta_keywords
			$this->meta_keywords->LinkCustomAttributes = "";
			$this->meta_keywords->HrefValue = "";
			$this->meta_keywords->TooltipValue = "";

			// meta_keywords_manual
			$this->meta_keywords_manual->LinkCustomAttributes = "";
			$this->meta_keywords_manual->HrefValue = "";
			$this->meta_keywords_manual->TooltipValue = "";

			// street_no
			$this->street_no->LinkCustomAttributes = "";
			$this->street_no->HrefValue = "";
			$this->street_no->TooltipValue = "";

			// sp_featured
			$this->sp_featured->LinkCustomAttributes = "";
			$this->sp_featured->HrefValue = "";
			$this->sp_featured->TooltipValue = "";

			// sp_hot
			$this->sp_hot->LinkCustomAttributes = "";
			$this->sp_hot->HrefValue = "";
			$this->sp_hot->TooltipValue = "";

			// sp_openhouse
			$this->sp_openhouse->LinkCustomAttributes = "";
			$this->sp_openhouse->HrefValue = "";
			$this->sp_openhouse->TooltipValue = "";

			// sp_forclosure
			$this->sp_forclosure->LinkCustomAttributes = "";
			$this->sp_forclosure->HrefValue = "";
			$this->sp_forclosure->TooltipValue = "";

			// textsearch
			$this->textsearch->LinkCustomAttributes = "";
			$this->textsearch->HrefValue = "";
			$this->textsearch->TooltipValue = "";

			// location_text
			$this->location_text->LinkCustomAttributes = "";
			$this->location_text->HrefValue = "";
			$this->location_text->TooltipValue = "";

			// field_42
			$this->field_42->LinkCustomAttributes = "";
			$this->field_42->HrefValue = "";
			$this->field_42->TooltipValue = "";

			// field_312
			$this->field_312->LinkCustomAttributes = "";
			$this->field_312->HrefValue = "";
			$this->field_312->TooltipValue = "";

			// field_313
			$this->field_313->LinkCustomAttributes = "";
			$this->field_313->HrefValue = "";
			$this->field_313->TooltipValue = "";

			// field_308
			$this->field_308->LinkCustomAttributes = "";
			$this->field_308->HrefValue = "";
			$this->field_308->TooltipValue = "";

			// field_7
			$this->field_7->LinkCustomAttributes = "";
			$this->field_7->HrefValue = "";
			$this->field_7->TooltipValue = "";

			// n_103
			$this->n_103->LinkCustomAttributes = "";
			$this->n_103->HrefValue = "";
			$this->n_103->TooltipValue = "";

			// n_103_distance
			$this->n_103_distance->LinkCustomAttributes = "";
			$this->n_103_distance->HrefValue = "";
			$this->n_103_distance->TooltipValue = "";

			// n_103_distance_by
			$this->n_103_distance_by->LinkCustomAttributes = "";
			$this->n_103_distance_by->HrefValue = "";
			$this->n_103_distance_by->TooltipValue = "";

			// n_105
			$this->n_105->LinkCustomAttributes = "";
			$this->n_105->HrefValue = "";
			$this->n_105->TooltipValue = "";

			// n_105_distance
			$this->n_105_distance->LinkCustomAttributes = "";
			$this->n_105_distance->HrefValue = "";
			$this->n_105_distance->TooltipValue = "";

			// n_105_distance_by
			$this->n_105_distance_by->LinkCustomAttributes = "";
			$this->n_105_distance_by->HrefValue = "";
			$this->n_105_distance_by->TooltipValue = "";

			// n_107
			$this->n_107->LinkCustomAttributes = "";
			$this->n_107->HrefValue = "";
			$this->n_107->TooltipValue = "";

			// n_107_distance
			$this->n_107_distance->LinkCustomAttributes = "";
			$this->n_107_distance->HrefValue = "";
			$this->n_107_distance->TooltipValue = "";

			// n_107_distance_by
			$this->n_107_distance_by->LinkCustomAttributes = "";
			$this->n_107_distance_by->HrefValue = "";
			$this->n_107_distance_by->TooltipValue = "";

			// n_108
			$this->n_108->LinkCustomAttributes = "";
			$this->n_108->HrefValue = "";
			$this->n_108->TooltipValue = "";

			// n_108_distance
			$this->n_108_distance->LinkCustomAttributes = "";
			$this->n_108_distance->HrefValue = "";
			$this->n_108_distance->TooltipValue = "";

			// n_108_distance_by
			$this->n_108_distance_by->LinkCustomAttributes = "";
			$this->n_108_distance_by->HrefValue = "";
			$this->n_108_distance_by->TooltipValue = "";

			// n_109
			$this->n_109->LinkCustomAttributes = "";
			$this->n_109->HrefValue = "";
			$this->n_109->TooltipValue = "";

			// n_109_distance
			$this->n_109_distance->LinkCustomAttributes = "";
			$this->n_109_distance->HrefValue = "";
			$this->n_109_distance->TooltipValue = "";

			// n_109_distance_by
			$this->n_109_distance_by->LinkCustomAttributes = "";
			$this->n_109_distance_by->HrefValue = "";
			$this->n_109_distance_by->TooltipValue = "";

			// f_131_options
			$this->f_131_options->LinkCustomAttributes = "";
			$this->f_131_options->HrefValue = "";
			$this->f_131_options->TooltipValue = "";

			// f_131
			$this->f_131->LinkCustomAttributes = "";
			$this->f_131->HrefValue = "";
			$this->f_131->TooltipValue = "";

			// f_137_options
			$this->f_137_options->LinkCustomAttributes = "";
			$this->f_137_options->HrefValue = "";
			$this->f_137_options->TooltipValue = "";

			// f_137
			$this->f_137->LinkCustomAttributes = "";
			$this->f_137->HrefValue = "";
			$this->f_137->TooltipValue = "";

			// f_139_options
			$this->f_139_options->LinkCustomAttributes = "";
			$this->f_139_options->HrefValue = "";
			$this->f_139_options->TooltipValue = "";

			// f_139
			$this->f_139->LinkCustomAttributes = "";
			$this->f_139->HrefValue = "";
			$this->f_139->TooltipValue = "";

			// f_144_options
			$this->f_144_options->LinkCustomAttributes = "";
			$this->f_144_options->HrefValue = "";
			$this->f_144_options->TooltipValue = "";

			// f_144
			$this->f_144->LinkCustomAttributes = "";
			$this->f_144->HrefValue = "";
			$this->f_144->TooltipValue = "";

			// f_146_options
			$this->f_146_options->LinkCustomAttributes = "";
			$this->f_146_options->HrefValue = "";
			$this->f_146_options->TooltipValue = "";

			// f_146
			$this->f_146->LinkCustomAttributes = "";
			$this->f_146->HrefValue = "";
			$this->f_146->TooltipValue = "";

			// f_149_options
			$this->f_149_options->LinkCustomAttributes = "";
			$this->f_149_options->HrefValue = "";
			$this->f_149_options->TooltipValue = "";

			// f_149
			$this->f_149->LinkCustomAttributes = "";
			$this->f_149->HrefValue = "";
			$this->f_149->TooltipValue = "";

			// f_150_options
			$this->f_150_options->LinkCustomAttributes = "";
			$this->f_150_options->HrefValue = "";
			$this->f_150_options->TooltipValue = "";

			// f_150
			$this->f_150->LinkCustomAttributes = "";
			$this->f_150->HrefValue = "";
			$this->f_150->TooltipValue = "";

			// f_156_options
			$this->f_156_options->LinkCustomAttributes = "";
			$this->f_156_options->HrefValue = "";
			$this->f_156_options->TooltipValue = "";

			// f_156
			$this->f_156->LinkCustomAttributes = "";
			$this->f_156->HrefValue = "";
			$this->f_156->TooltipValue = "";

			// f_157_options
			$this->f_157_options->LinkCustomAttributes = "";
			$this->f_157_options->HrefValue = "";
			$this->f_157_options->TooltipValue = "";

			// f_157
			$this->f_157->LinkCustomAttributes = "";
			$this->f_157->HrefValue = "";
			$this->f_157->TooltipValue = "";

			// f_159_options
			$this->f_159_options->LinkCustomAttributes = "";
			$this->f_159_options->HrefValue = "";
			$this->f_159_options->TooltipValue = "";

			// f_159
			$this->f_159->LinkCustomAttributes = "";
			$this->f_159->HrefValue = "";
			$this->f_159->TooltipValue = "";

			// f_161_options
			$this->f_161_options->LinkCustomAttributes = "";
			$this->f_161_options->HrefValue = "";
			$this->f_161_options->TooltipValue = "";

			// f_161
			$this->f_161->LinkCustomAttributes = "";
			$this->f_161->HrefValue = "";
			$this->f_161->TooltipValue = "";

			// f_163_options
			$this->f_163_options->LinkCustomAttributes = "";
			$this->f_163_options->HrefValue = "";
			$this->f_163_options->TooltipValue = "";

			// f_163
			$this->f_163->LinkCustomAttributes = "";
			$this->f_163->HrefValue = "";
			$this->f_163->TooltipValue = "";

			// f_165_options
			$this->f_165_options->LinkCustomAttributes = "";
			$this->f_165_options->HrefValue = "";
			$this->f_165_options->TooltipValue = "";

			// f_165
			$this->f_165->LinkCustomAttributes = "";
			$this->f_165->HrefValue = "";
			$this->f_165->TooltipValue = "";

			// f_166_options
			$this->f_166_options->LinkCustomAttributes = "";
			$this->f_166_options->HrefValue = "";
			$this->f_166_options->TooltipValue = "";

			// f_166
			$this->f_166->LinkCustomAttributes = "";
			$this->f_166->HrefValue = "";
			$this->f_166->TooltipValue = "";

			// ref_id
			$this->ref_id->LinkCustomAttributes = "";
			$this->ref_id->HrefValue = "";
			$this->ref_id->TooltipValue = "";

			// field_54
			$this->field_54->LinkCustomAttributes = "";
			$this->field_54->HrefValue = "";
			$this->field_54->TooltipValue = "";

			// half_bathrooms
			$this->half_bathrooms->LinkCustomAttributes = "";
			$this->half_bathrooms->HrefValue = "";
			$this->half_bathrooms->TooltipValue = "";

			// field_55
			$this->field_55->LinkCustomAttributes = "";
			$this->field_55->HrefValue = "";
			$this->field_55->TooltipValue = "";

			// rendered
			$this->rendered->LinkCustomAttributes = "";
			$this->rendered->HrefValue = "";
			$this->rendered->TooltipValue = "";

			// alias
			$this->alias->LinkCustomAttributes = "";
			$this->alias->HrefValue = "";
			$this->alias->TooltipValue = "";

			// source
			$this->source->LinkCustomAttributes = "";
			$this->source->HrefValue = "";
			$this->source->TooltipValue = "";

			// last_sync_date
			$this->last_sync_date->LinkCustomAttributes = "";
			$this->last_sync_date->HrefValue = "";
			$this->last_sync_date->TooltipValue = "";

			// street_suffix
			$this->street_suffix->LinkCustomAttributes = "";
			$this->street_suffix->HrefValue = "";
			$this->street_suffix->TooltipValue = "";

			// energy_tag
			$this->energy_tag->LinkCustomAttributes = "";
			$this->energy_tag->HrefValue = "";
			$this->energy_tag->TooltipValue = "";

			// field_3006
			$this->field_3006->LinkCustomAttributes = "";
			$this->field_3006->HrefValue = "";
			$this->field_3006->TooltipValue = "";

			// field_3007
			$this->field_3007->LinkCustomAttributes = "";
			$this->field_3007->HrefValue = "";
			$this->field_3007->TooltipValue = "";

			// field_3008
			$this->field_3008->LinkCustomAttributes = "";
			$this->field_3008->HrefValue = "";
			$this->field_3008->TooltipValue = "";

			// importer_structure_id
			$this->importer_structure_id->LinkCustomAttributes = "";
			$this->importer_structure_id->HrefValue = "";
			$this->importer_structure_id->TooltipValue = "";

			// importer_params
			$this->importer_params->LinkCustomAttributes = "";
			$this->importer_params->HrefValue = "";
			$this->importer_params->TooltipValue = "";

			// field_3009
			$this->field_3009->LinkCustomAttributes = "";
			$this->field_3009->HrefValue = "";
			$this->field_3009->TooltipValue = "";

			// field_3010
			$this->field_3010->LinkCustomAttributes = "";
			$this->field_3010->HrefValue = "";
			$this->field_3010->TooltipValue = "";

			// field_3012
			$this->field_3012->LinkCustomAttributes = "";
			$this->field_3012->HrefValue = "";
			$this->field_3012->TooltipValue = "";

			// rendered_en_us
			$this->rendered_en_us->LinkCustomAttributes = "";
			$this->rendered_en_us->HrefValue = "";
			$this->rendered_en_us->TooltipValue = "";

			// textsearch_en_us
			$this->textsearch_en_us->LinkCustomAttributes = "";
			$this->textsearch_en_us->HrefValue = "";
			$this->textsearch_en_us->TooltipValue = "";

			// rendered_fr_fr
			$this->rendered_fr_fr->LinkCustomAttributes = "";
			$this->rendered_fr_fr->HrefValue = "";
			$this->rendered_fr_fr->TooltipValue = "";

			// textsearch_fr_fr
			$this->textsearch_fr_fr->LinkCustomAttributes = "";
			$this->textsearch_fr_fr->HrefValue = "";
			$this->textsearch_fr_fr->TooltipValue = "";

			// field_3013
			$this->field_3013->LinkCustomAttributes = "";
			$this->field_3013->HrefValue = "";
			$this->field_3013->TooltipValue = "";

			// field_3014
			$this->field_3014->LinkCustomAttributes = "";
			$this->field_3014->HrefValue = "";
			$this->field_3014->TooltipValue = "";

			// f_3014_options
			$this->f_3014_options->LinkCustomAttributes = "";
			$this->f_3014_options->HrefValue = "";
			$this->f_3014_options->TooltipValue = "";

			// f_3014
			$this->f_3014->LinkCustomAttributes = "";
			$this->f_3014->HrefValue = "";
			$this->f_3014->TooltipValue = "";

			// field_3015
			$this->field_3015->LinkCustomAttributes = "";
			$this->field_3015->HrefValue = "";
			$this->field_3015->TooltipValue = "";

			// field_3016
			$this->field_3016->LinkCustomAttributes = "";
			$this->field_3016->HrefValue = "";
			$this->field_3016->TooltipValue = "";

			// field_3017
			$this->field_3017->LinkCustomAttributes = "";
			$this->field_3017->HrefValue = "";
			$this->field_3017->TooltipValue = "";

			// f_3018_options
			$this->f_3018_options->LinkCustomAttributes = "";
			$this->f_3018_options->HrefValue = "";
			$this->f_3018_options->TooltipValue = "";

			// f_3018
			$this->f_3018->LinkCustomAttributes = "";
			$this->f_3018->HrefValue = "";
			$this->f_3018->TooltipValue = "";

			// f_3019_options
			$this->f_3019_options->LinkCustomAttributes = "";
			$this->f_3019_options->HrefValue = "";
			$this->f_3019_options->TooltipValue = "";

			// f_3019
			$this->f_3019->LinkCustomAttributes = "";
			$this->f_3019->HrefValue = "";
			$this->f_3019->TooltipValue = "";

			// f_3020_options
			$this->f_3020_options->LinkCustomAttributes = "";
			$this->f_3020_options->HrefValue = "";
			$this->f_3020_options->TooltipValue = "";

			// f_3020
			$this->f_3020->LinkCustomAttributes = "";
			$this->f_3020->HrefValue = "";
			$this->f_3020->TooltipValue = "";

			// f_3021_options
			$this->f_3021_options->LinkCustomAttributes = "";
			$this->f_3021_options->HrefValue = "";
			$this->f_3021_options->TooltipValue = "";

			// f_3021
			$this->f_3021->LinkCustomAttributes = "";
			$this->f_3021->HrefValue = "";
			$this->f_3021->TooltipValue = "";

			// f_3022_options
			$this->f_3022_options->LinkCustomAttributes = "";
			$this->f_3022_options->HrefValue = "";
			$this->f_3022_options->TooltipValue = "";

			// f_3022
			$this->f_3022->LinkCustomAttributes = "";
			$this->f_3022->HrefValue = "";
			$this->f_3022->TooltipValue = "";

			// f_3023_options
			$this->f_3023_options->LinkCustomAttributes = "";
			$this->f_3023_options->HrefValue = "";
			$this->f_3023_options->TooltipValue = "";

			// f_3023
			$this->f_3023->LinkCustomAttributes = "";
			$this->f_3023->HrefValue = "";
			$this->f_3023->TooltipValue = "";

			// f_3024_options
			$this->f_3024_options->LinkCustomAttributes = "";
			$this->f_3024_options->HrefValue = "";
			$this->f_3024_options->TooltipValue = "";

			// f_3024
			$this->f_3024->LinkCustomAttributes = "";
			$this->f_3024->HrefValue = "";
			$this->f_3024->TooltipValue = "";

			// f_3025_options
			$this->f_3025_options->LinkCustomAttributes = "";
			$this->f_3025_options->HrefValue = "";
			$this->f_3025_options->TooltipValue = "";

			// f_3025
			$this->f_3025->LinkCustomAttributes = "";
			$this->f_3025->HrefValue = "";
			$this->f_3025->TooltipValue = "";

			// f_3026_options
			$this->f_3026_options->LinkCustomAttributes = "";
			$this->f_3026_options->HrefValue = "";
			$this->f_3026_options->TooltipValue = "";

			// f_3026
			$this->f_3026->LinkCustomAttributes = "";
			$this->f_3026->HrefValue = "";
			$this->f_3026->TooltipValue = "";

			// f_3027_options
			$this->f_3027_options->LinkCustomAttributes = "";
			$this->f_3027_options->HrefValue = "";
			$this->f_3027_options->TooltipValue = "";

			// f_3027
			$this->f_3027->LinkCustomAttributes = "";
			$this->f_3027->HrefValue = "";
			$this->f_3027->TooltipValue = "";

			// f_3028_options
			$this->f_3028_options->LinkCustomAttributes = "";
			$this->f_3028_options->HrefValue = "";
			$this->f_3028_options->TooltipValue = "";

			// f_3028
			$this->f_3028->LinkCustomAttributes = "";
			$this->f_3028->HrefValue = "";
			$this->f_3028->TooltipValue = "";

			// f_3029_options
			$this->f_3029_options->LinkCustomAttributes = "";
			$this->f_3029_options->HrefValue = "";
			$this->f_3029_options->TooltipValue = "";

			// f_3029
			$this->f_3029->LinkCustomAttributes = "";
			$this->f_3029->HrefValue = "";
			$this->f_3029->TooltipValue = "";

			// f_3031_options
			$this->f_3031_options->LinkCustomAttributes = "";
			$this->f_3031_options->HrefValue = "";
			$this->f_3031_options->TooltipValue = "";

			// f_3031
			$this->f_3031->LinkCustomAttributes = "";
			$this->f_3031->HrefValue = "";
			$this->f_3031->TooltipValue = "";

			// f_3032_options
			$this->f_3032_options->LinkCustomAttributes = "";
			$this->f_3032_options->HrefValue = "";
			$this->f_3032_options->TooltipValue = "";

			// f_3032
			$this->f_3032->LinkCustomAttributes = "";
			$this->f_3032->HrefValue = "";
			$this->f_3032->TooltipValue = "";

			// f_3033_options
			$this->f_3033_options->LinkCustomAttributes = "";
			$this->f_3033_options->HrefValue = "";
			$this->f_3033_options->TooltipValue = "";

			// f_3033
			$this->f_3033->LinkCustomAttributes = "";
			$this->f_3033->HrefValue = "";
			$this->f_3033->TooltipValue = "";

			// f_3034_options
			$this->f_3034_options->LinkCustomAttributes = "";
			$this->f_3034_options->HrefValue = "";
			$this->f_3034_options->TooltipValue = "";

			// f_3034
			$this->f_3034->LinkCustomAttributes = "";
			$this->f_3034->HrefValue = "";
			$this->f_3034->TooltipValue = "";

			// f_3035_options
			$this->f_3035_options->LinkCustomAttributes = "";
			$this->f_3035_options->HrefValue = "";
			$this->f_3035_options->TooltipValue = "";

			// f_3035
			$this->f_3035->LinkCustomAttributes = "";
			$this->f_3035->HrefValue = "";
			$this->f_3035->TooltipValue = "";

			// f_3036_options
			$this->f_3036_options->LinkCustomAttributes = "";
			$this->f_3036_options->HrefValue = "";
			$this->f_3036_options->TooltipValue = "";

			// f_3036
			$this->f_3036->LinkCustomAttributes = "";
			$this->f_3036->HrefValue = "";
			$this->f_3036->TooltipValue = "";

			// f_3037_options
			$this->f_3037_options->LinkCustomAttributes = "";
			$this->f_3037_options->HrefValue = "";
			$this->f_3037_options->TooltipValue = "";

			// f_3037
			$this->f_3037->LinkCustomAttributes = "";
			$this->f_3037->HrefValue = "";
			$this->f_3037->TooltipValue = "";

			// f_3038_options
			$this->f_3038_options->LinkCustomAttributes = "";
			$this->f_3038_options->HrefValue = "";
			$this->f_3038_options->TooltipValue = "";

			// f_3038
			$this->f_3038->LinkCustomAttributes = "";
			$this->f_3038->HrefValue = "";
			$this->f_3038->TooltipValue = "";

			// f_3039_options
			$this->f_3039_options->LinkCustomAttributes = "";
			$this->f_3039_options->HrefValue = "";
			$this->f_3039_options->TooltipValue = "";

			// f_3039
			$this->f_3039->LinkCustomAttributes = "";
			$this->f_3039->HrefValue = "";
			$this->f_3039->TooltipValue = "";

			// f_3040_options
			$this->f_3040_options->LinkCustomAttributes = "";
			$this->f_3040_options->HrefValue = "";
			$this->f_3040_options->TooltipValue = "";

			// f_3040
			$this->f_3040->LinkCustomAttributes = "";
			$this->f_3040->HrefValue = "";
			$this->f_3040->TooltipValue = "";

			// f_3041_options
			$this->f_3041_options->LinkCustomAttributes = "";
			$this->f_3041_options->HrefValue = "";
			$this->f_3041_options->TooltipValue = "";

			// f_3041
			$this->f_3041->LinkCustomAttributes = "";
			$this->f_3041->HrefValue = "";
			$this->f_3041->TooltipValue = "";

			// f_3042_options
			$this->f_3042_options->LinkCustomAttributes = "";
			$this->f_3042_options->HrefValue = "";
			$this->f_3042_options->TooltipValue = "";

			// f_3042
			$this->f_3042->LinkCustomAttributes = "";
			$this->f_3042->HrefValue = "";
			$this->f_3042->TooltipValue = "";

			// f_3043_options
			$this->f_3043_options->LinkCustomAttributes = "";
			$this->f_3043_options->HrefValue = "";
			$this->f_3043_options->TooltipValue = "";

			// f_3043
			$this->f_3043->LinkCustomAttributes = "";
			$this->f_3043->HrefValue = "";
			$this->f_3043->TooltipValue = "";

			// f_3044_options
			$this->f_3044_options->LinkCustomAttributes = "";
			$this->f_3044_options->HrefValue = "";
			$this->f_3044_options->TooltipValue = "";

			// f_3044
			$this->f_3044->LinkCustomAttributes = "";
			$this->f_3044->HrefValue = "";
			$this->f_3044->TooltipValue = "";

			// n_3045
			$this->n_3045->LinkCustomAttributes = "";
			$this->n_3045->HrefValue = "";
			$this->n_3045->TooltipValue = "";

			// n_3045_distance
			$this->n_3045_distance->LinkCustomAttributes = "";
			$this->n_3045_distance->HrefValue = "";
			$this->n_3045_distance->TooltipValue = "";

			// n_3045_distance_by
			$this->n_3045_distance_by->LinkCustomAttributes = "";
			$this->n_3045_distance_by->HrefValue = "";
			$this->n_3045_distance_by->TooltipValue = "";

			// n_3046
			$this->n_3046->LinkCustomAttributes = "";
			$this->n_3046->HrefValue = "";
			$this->n_3046->TooltipValue = "";

			// n_3046_distance
			$this->n_3046_distance->LinkCustomAttributes = "";
			$this->n_3046_distance->HrefValue = "";
			$this->n_3046_distance->TooltipValue = "";

			// n_3046_distance_by
			$this->n_3046_distance_by->LinkCustomAttributes = "";
			$this->n_3046_distance_by->HrefValue = "";
			$this->n_3046_distance_by->TooltipValue = "";

			// n_3047
			$this->n_3047->LinkCustomAttributes = "";
			$this->n_3047->HrefValue = "";
			$this->n_3047->TooltipValue = "";

			// n_3047_distance
			$this->n_3047_distance->LinkCustomAttributes = "";
			$this->n_3047_distance->HrefValue = "";
			$this->n_3047_distance->TooltipValue = "";

			// n_3047_distance_by
			$this->n_3047_distance_by->LinkCustomAttributes = "";
			$this->n_3047_distance_by->HrefValue = "";
			$this->n_3047_distance_by->TooltipValue = "";

			// n_3048
			$this->n_3048->LinkCustomAttributes = "";
			$this->n_3048->HrefValue = "";
			$this->n_3048->TooltipValue = "";

			// n_3048_distance
			$this->n_3048_distance->LinkCustomAttributes = "";
			$this->n_3048_distance->HrefValue = "";
			$this->n_3048_distance->TooltipValue = "";

			// n_3048_distance_by
			$this->n_3048_distance_by->LinkCustomAttributes = "";
			$this->n_3048_distance_by->HrefValue = "";
			$this->n_3048_distance_by->TooltipValue = "";

			// n_3049
			$this->n_3049->LinkCustomAttributes = "";
			$this->n_3049->HrefValue = "";
			$this->n_3049->TooltipValue = "";

			// n_3049_distance
			$this->n_3049_distance->LinkCustomAttributes = "";
			$this->n_3049_distance->HrefValue = "";
			$this->n_3049_distance->TooltipValue = "";

			// n_3049_distance_by
			$this->n_3049_distance_by->LinkCustomAttributes = "";
			$this->n_3049_distance_by->HrefValue = "";
			$this->n_3049_distance_by->TooltipValue = "";

			// n_3050
			$this->n_3050->LinkCustomAttributes = "";
			$this->n_3050->HrefValue = "";
			$this->n_3050->TooltipValue = "";

			// n_3050_distance
			$this->n_3050_distance->LinkCustomAttributes = "";
			$this->n_3050_distance->HrefValue = "";
			$this->n_3050_distance->TooltipValue = "";

			// n_3050_distance_by
			$this->n_3050_distance_by->LinkCustomAttributes = "";
			$this->n_3050_distance_by->HrefValue = "";
			$this->n_3050_distance_by->TooltipValue = "";

			// n_3051
			$this->n_3051->LinkCustomAttributes = "";
			$this->n_3051->HrefValue = "";
			$this->n_3051->TooltipValue = "";

			// n_3051_distance
			$this->n_3051_distance->LinkCustomAttributes = "";
			$this->n_3051_distance->HrefValue = "";
			$this->n_3051_distance->TooltipValue = "";

			// n_3051_distance_by
			$this->n_3051_distance_by->LinkCustomAttributes = "";
			$this->n_3051_distance_by->HrefValue = "";
			$this->n_3051_distance_by->TooltipValue = "";

			// n_3052
			$this->n_3052->LinkCustomAttributes = "";
			$this->n_3052->HrefValue = "";
			$this->n_3052->TooltipValue = "";

			// n_3052_distance
			$this->n_3052_distance->LinkCustomAttributes = "";
			$this->n_3052_distance->HrefValue = "";
			$this->n_3052_distance->TooltipValue = "";

			// n_3052_distance_by
			$this->n_3052_distance_by->LinkCustomAttributes = "";
			$this->n_3052_distance_by->HrefValue = "";
			$this->n_3052_distance_by->TooltipValue = "";

			// n_3053
			$this->n_3053->LinkCustomAttributes = "";
			$this->n_3053->HrefValue = "";
			$this->n_3053->TooltipValue = "";

			// n_3053_distance
			$this->n_3053_distance->LinkCustomAttributes = "";
			$this->n_3053_distance->HrefValue = "";
			$this->n_3053_distance->TooltipValue = "";

			// n_3053_distance_by
			$this->n_3053_distance_by->LinkCustomAttributes = "";
			$this->n_3053_distance_by->HrefValue = "";
			$this->n_3053_distance_by->TooltipValue = "";

			// n_3054
			$this->n_3054->LinkCustomAttributes = "";
			$this->n_3054->HrefValue = "";
			$this->n_3054->TooltipValue = "";

			// n_3054_distance
			$this->n_3054_distance->LinkCustomAttributes = "";
			$this->n_3054_distance->HrefValue = "";
			$this->n_3054_distance->TooltipValue = "";

			// n_3054_distance_by
			$this->n_3054_distance_by->LinkCustomAttributes = "";
			$this->n_3054_distance_by->HrefValue = "";
			$this->n_3054_distance_by->TooltipValue = "";

			// n_3055
			$this->n_3055->LinkCustomAttributes = "";
			$this->n_3055->HrefValue = "";
			$this->n_3055->TooltipValue = "";

			// n_3055_distance
			$this->n_3055_distance->LinkCustomAttributes = "";
			$this->n_3055_distance->HrefValue = "";
			$this->n_3055_distance->TooltipValue = "";

			// n_3055_distance_by
			$this->n_3055_distance_by->LinkCustomAttributes = "";
			$this->n_3055_distance_by->HrefValue = "";
			$this->n_3055_distance_by->TooltipValue = "";

			// n_3056
			$this->n_3056->LinkCustomAttributes = "";
			$this->n_3056->HrefValue = "";
			$this->n_3056->TooltipValue = "";

			// n_3056_distance
			$this->n_3056_distance->LinkCustomAttributes = "";
			$this->n_3056_distance->HrefValue = "";
			$this->n_3056_distance->TooltipValue = "";

			// n_3056_distance_by
			$this->n_3056_distance_by->LinkCustomAttributes = "";
			$this->n_3056_distance_by->HrefValue = "";
			$this->n_3056_distance_by->TooltipValue = "";

			// n_3057
			$this->n_3057->LinkCustomAttributes = "";
			$this->n_3057->HrefValue = "";
			$this->n_3057->TooltipValue = "";

			// n_3057_distance
			$this->n_3057_distance->LinkCustomAttributes = "";
			$this->n_3057_distance->HrefValue = "";
			$this->n_3057_distance->TooltipValue = "";

			// n_3057_distance_by
			$this->n_3057_distance_by->LinkCustomAttributes = "";
			$this->n_3057_distance_by->HrefValue = "";
			$this->n_3057_distance_by->TooltipValue = "";

			// n_3058
			$this->n_3058->LinkCustomAttributes = "";
			$this->n_3058->HrefValue = "";
			$this->n_3058->TooltipValue = "";

			// n_3058_distance
			$this->n_3058_distance->LinkCustomAttributes = "";
			$this->n_3058_distance->HrefValue = "";
			$this->n_3058_distance->TooltipValue = "";

			// n_3058_distance_by
			$this->n_3058_distance_by->LinkCustomAttributes = "";
			$this->n_3058_distance_by->HrefValue = "";
			$this->n_3058_distance_by->TooltipValue = "";

			// n_3059
			$this->n_3059->LinkCustomAttributes = "";
			$this->n_3059->HrefValue = "";
			$this->n_3059->TooltipValue = "";

			// n_3059_distance
			$this->n_3059_distance->LinkCustomAttributes = "";
			$this->n_3059_distance->HrefValue = "";
			$this->n_3059_distance->TooltipValue = "";

			// n_3059_distance_by
			$this->n_3059_distance_by->LinkCustomAttributes = "";
			$this->n_3059_distance_by->HrefValue = "";
			$this->n_3059_distance_by->TooltipValue = "";

			// f_3060_options
			$this->f_3060_options->LinkCustomAttributes = "";
			$this->f_3060_options->HrefValue = "";
			$this->f_3060_options->TooltipValue = "";

			// f_3060
			$this->f_3060->LinkCustomAttributes = "";
			$this->f_3060->HrefValue = "";
			$this->f_3060->TooltipValue = "";

			// f_3061_options
			$this->f_3061_options->LinkCustomAttributes = "";
			$this->f_3061_options->HrefValue = "";
			$this->f_3061_options->TooltipValue = "";

			// f_3061
			$this->f_3061->LinkCustomAttributes = "";
			$this->f_3061->HrefValue = "";
			$this->f_3061->TooltipValue = "";

			// f_3062_options
			$this->f_3062_options->LinkCustomAttributes = "";
			$this->f_3062_options->HrefValue = "";
			$this->f_3062_options->TooltipValue = "";

			// f_3062
			$this->f_3062->LinkCustomAttributes = "";
			$this->f_3062->HrefValue = "";
			$this->f_3062->TooltipValue = "";

			// field_3063
			$this->field_3063->LinkCustomAttributes = "";
			$this->field_3063->HrefValue = "";
			$this->field_3063->TooltipValue = "";

			// field_3064
			$this->field_3064->LinkCustomAttributes = "";
			$this->field_3064->HrefValue = "";
			$this->field_3064->TooltipValue = "";

			// field_3065
			$this->field_3065->LinkCustomAttributes = "";
			$this->field_3065->HrefValue = "";
			$this->field_3065->TooltipValue = "";

			// field_308_en_us
			$this->field_308_en_us->LinkCustomAttributes = "";
			$this->field_308_en_us->HrefValue = "";
			$this->field_308_en_us->TooltipValue = "";

			// field_308_fr_fr
			$this->field_308_fr_fr->LinkCustomAttributes = "";
			$this->field_308_fr_fr->HrefValue = "";
			$this->field_308_fr_fr->TooltipValue = "";

			// field_313_en_us
			$this->field_313_en_us->LinkCustomAttributes = "";
			$this->field_313_en_us->HrefValue = "";
			$this->field_313_en_us->TooltipValue = "";

			// field_313_fr_fr
			$this->field_313_fr_fr->LinkCustomAttributes = "";
			$this->field_313_fr_fr->HrefValue = "";
			$this->field_313_fr_fr->TooltipValue = "";

			// field_312_en_us
			$this->field_312_en_us->LinkCustomAttributes = "";
			$this->field_312_en_us->HrefValue = "";
			$this->field_312_en_us->TooltipValue = "";

			// field_312_fr_fr
			$this->field_312_fr_fr->LinkCustomAttributes = "";
			$this->field_312_fr_fr->HrefValue = "";
			$this->field_312_fr_fr->TooltipValue = "";

			// field_3017_en_us
			$this->field_3017_en_us->LinkCustomAttributes = "";
			$this->field_3017_en_us->HrefValue = "";
			$this->field_3017_en_us->TooltipValue = "";

			// field_3017_fr_fr
			$this->field_3017_fr_fr->LinkCustomAttributes = "";
			$this->field_3017_fr_fr->HrefValue = "";
			$this->field_3017_fr_fr->TooltipValue = "";

			// field_42_en_us
			$this->field_42_en_us->LinkCustomAttributes = "";
			$this->field_42_en_us->HrefValue = "";
			$this->field_42_en_us->TooltipValue = "";

			// field_42_fr_fr
			$this->field_42_fr_fr->LinkCustomAttributes = "";
			$this->field_42_fr_fr->HrefValue = "";
			$this->field_42_fr_fr->TooltipValue = "";

			// field_3067
			$this->field_3067->LinkCustomAttributes = "";
			$this->field_3067->HrefValue = "";
			$this->field_3067->TooltipValue = "";

			// field_3068
			$this->field_3068->LinkCustomAttributes = "";
			$this->field_3068->HrefValue = "";
			$this->field_3068->TooltipValue = "";

			// field_3069
			$this->field_3069->LinkCustomAttributes = "";
			$this->field_3069->HrefValue = "";
			$this->field_3069->TooltipValue = "";

			// field_3070
			$this->field_3070->LinkCustomAttributes = "";
			$this->field_3070->HrefValue = "";
			$this->field_3070->TooltipValue = "";

			// field_3071
			$this->field_3071->LinkCustomAttributes = "";
			$this->field_3071->HrefValue = "";
			$this->field_3071->TooltipValue = "";

			// field_3071_en_us
			$this->field_3071_en_us->LinkCustomAttributes = "";
			$this->field_3071_en_us->HrefValue = "";
			$this->field_3071_en_us->TooltipValue = "";

			// field_3071_fr_fr
			$this->field_3071_fr_fr->LinkCustomAttributes = "";
			$this->field_3071_fr_fr->HrefValue = "";
			$this->field_3071_fr_fr->TooltipValue = "";

			// field_3072
			$this->field_3072->LinkCustomAttributes = "";
			$this->field_3072->HrefValue = "";
			$this->field_3072->TooltipValue = "";

			// field_3073
			$this->field_3073->LinkCustomAttributes = "";
			$this->field_3073->HrefValue = "";
			$this->field_3073->TooltipValue = "";

			// field_3074
			$this->field_3074->LinkCustomAttributes = "";
			$this->field_3074->HrefValue = "";
			$this->field_3074->TooltipValue = "";

			// field_3074_en_us
			$this->field_3074_en_us->LinkCustomAttributes = "";
			$this->field_3074_en_us->HrefValue = "";
			$this->field_3074_en_us->TooltipValue = "";

			// field_3074_fr_fr
			$this->field_3074_fr_fr->LinkCustomAttributes = "";
			$this->field_3074_fr_fr->HrefValue = "";
			$this->field_3074_fr_fr->TooltipValue = "";

			// field_3075
			$this->field_3075->LinkCustomAttributes = "";
			$this->field_3075->HrefValue = "";
			$this->field_3075->TooltipValue = "";

			// field_3076
			$this->field_3076->LinkCustomAttributes = "";
			$this->field_3076->HrefValue = "";
			$this->field_3076->TooltipValue = "";

			// field_3077
			$this->field_3077->LinkCustomAttributes = "";
			$this->field_3077->HrefValue = "";
			$this->field_3077->TooltipValue = "";

			// field_3078
			$this->field_3078->LinkCustomAttributes = "";
			$this->field_3078->HrefValue = "";
			$this->field_3078->TooltipValue = "";

			// field_3079
			$this->field_3079->LinkCustomAttributes = "";
			$this->field_3079->HrefValue = "";
			$this->field_3079->TooltipValue = "";

			// field_3080
			$this->field_3080->LinkCustomAttributes = "";
			$this->field_3080->HrefValue = "";
			$this->field_3080->TooltipValue = "";

			// field_3076_en_us
			$this->field_3076_en_us->LinkCustomAttributes = "";
			$this->field_3076_en_us->HrefValue = "";
			$this->field_3076_en_us->TooltipValue = "";

			// field_3076_fr_fr
			$this->field_3076_fr_fr->LinkCustomAttributes = "";
			$this->field_3076_fr_fr->HrefValue = "";
			$this->field_3076_fr_fr->TooltipValue = "";

			// field_3080_en_us
			$this->field_3080_en_us->LinkCustomAttributes = "";
			$this->field_3080_en_us->HrefValue = "";
			$this->field_3080_en_us->TooltipValue = "";

			// field_3080_fr_fr
			$this->field_3080_fr_fr->LinkCustomAttributes = "";
			$this->field_3080_fr_fr->HrefValue = "";
			$this->field_3080_fr_fr->TooltipValue = "";

			// field_3081
			$this->field_3081->LinkCustomAttributes = "";
			$this->field_3081->HrefValue = "";
			$this->field_3081->TooltipValue = "";

			// field_3081_en_us
			$this->field_3081_en_us->LinkCustomAttributes = "";
			$this->field_3081_en_us->HrefValue = "";
			$this->field_3081_en_us->TooltipValue = "";

			// field_3081_fr_fr
			$this->field_3081_fr_fr->LinkCustomAttributes = "";
			$this->field_3081_fr_fr->HrefValue = "";
			$this->field_3081_fr_fr->TooltipValue = "";

			// field_3082
			$this->field_3082->LinkCustomAttributes = "";
			$this->field_3082->HrefValue = "";
			$this->field_3082->TooltipValue = "";

			// field_3082_en_us
			$this->field_3082_en_us->LinkCustomAttributes = "";
			$this->field_3082_en_us->HrefValue = "";
			$this->field_3082_en_us->TooltipValue = "";

			// field_3082_fr_fr
			$this->field_3082_fr_fr->LinkCustomAttributes = "";
			$this->field_3082_fr_fr->HrefValue = "";
			$this->field_3082_fr_fr->TooltipValue = "";

			// field_3084
			$this->field_3084->LinkCustomAttributes = "";
			$this->field_3084->HrefValue = "";
			$this->field_3084->TooltipValue = "";

			// field_3085
			$this->field_3085->LinkCustomAttributes = "";
			$this->field_3085->HrefValue = "";
			$this->field_3085->TooltipValue = "";

			// field_3086
			$this->field_3086->LinkCustomAttributes = "";
			$this->field_3086->HrefValue = "";
			$this->field_3086->TooltipValue = "";

			// field_3096
			$this->field_3096->LinkCustomAttributes = "";
			$this->field_3096->HrefValue = "";
			$this->field_3096->TooltipValue = "";

			// field_3097
			$this->field_3097->LinkCustomAttributes = "";
			$this->field_3097->HrefValue = "";
			$this->field_3097->TooltipValue = "";

			// field_3098
			$this->field_3098->LinkCustomAttributes = "";
			$this->field_3098->HrefValue = "";
			$this->field_3098->TooltipValue = "";

			// field_3099
			$this->field_3099->LinkCustomAttributes = "";
			$this->field_3099->HrefValue = "";
			$this->field_3099->TooltipValue = "";

			// field_3100
			$this->field_3100->LinkCustomAttributes = "";
			$this->field_3100->HrefValue = "";
			$this->field_3100->TooltipValue = "";

			// field_3101
			$this->field_3101->LinkCustomAttributes = "";
			$this->field_3101->HrefValue = "";
			$this->field_3101->TooltipValue = "";

			// field_3102
			$this->field_3102->LinkCustomAttributes = "";
			$this->field_3102->HrefValue = "";
			$this->field_3102->TooltipValue = "";

			// field_3103
			$this->field_3103->LinkCustomAttributes = "";
			$this->field_3103->HrefValue = "";
			$this->field_3103->TooltipValue = "";

			// field_3104
			$this->field_3104->LinkCustomAttributes = "";
			$this->field_3104->HrefValue = "";
			$this->field_3104->TooltipValue = "";

			// field_3105
			$this->field_3105->LinkCustomAttributes = "";
			$this->field_3105->HrefValue = "";
			$this->field_3105->TooltipValue = "";

			// field_3106
			$this->field_3106->LinkCustomAttributes = "";
			$this->field_3106->HrefValue = "";
			$this->field_3106->TooltipValue = "";

			// field_3107
			$this->field_3107->LinkCustomAttributes = "";
			$this->field_3107->HrefValue = "";
			$this->field_3107->TooltipValue = "";

			// field_3108
			$this->field_3108->LinkCustomAttributes = "";
			$this->field_3108->HrefValue = "";
			$this->field_3108->TooltipValue = "";

			// field_3109
			$this->field_3109->LinkCustomAttributes = "";
			$this->field_3109->HrefValue = "";
			$this->field_3109->TooltipValue = "";

			// field_3110
			$this->field_3110->LinkCustomAttributes = "";
			$this->field_3110->HrefValue = "";
			$this->field_3110->TooltipValue = "";

			// field_3111
			$this->field_3111->LinkCustomAttributes = "";
			$this->field_3111->HrefValue = "";
			$this->field_3111->TooltipValue = "";

			// field_3112
			$this->field_3112->LinkCustomAttributes = "";
			$this->field_3112->HrefValue = "";
			$this->field_3112->TooltipValue = "";

			// field_3113
			$this->field_3113->LinkCustomAttributes = "";
			$this->field_3113->HrefValue = "";
			$this->field_3113->TooltipValue = "";

			// field_3113_en_us
			$this->field_3113_en_us->LinkCustomAttributes = "";
			$this->field_3113_en_us->HrefValue = "";
			$this->field_3113_en_us->TooltipValue = "";

			// field_3113_fr_fr
			$this->field_3113_fr_fr->LinkCustomAttributes = "";
			$this->field_3113_fr_fr->HrefValue = "";
			$this->field_3113_fr_fr->TooltipValue = "";

			// field_3114
			$this->field_3114->LinkCustomAttributes = "";
			$this->field_3114->HrefValue = "";
			$this->field_3114->TooltipValue = "";

			// field_3114_en_us
			$this->field_3114_en_us->LinkCustomAttributes = "";
			$this->field_3114_en_us->HrefValue = "";
			$this->field_3114_en_us->TooltipValue = "";

			// field_3114_fr_fr
			$this->field_3114_fr_fr->LinkCustomAttributes = "";
			$this->field_3114_fr_fr->HrefValue = "";
			$this->field_3114_fr_fr->TooltipValue = "";

			// field_3115
			$this->field_3115->LinkCustomAttributes = "";
			$this->field_3115->HrefValue = "";
			$this->field_3115->TooltipValue = "";

			// field_3115_si
			$this->field_3115_si->LinkCustomAttributes = "";
			$this->field_3115_si->HrefValue = "";
			$this->field_3115_si->TooltipValue = "";

			// field_3115_unit
			$this->field_3115_unit->LinkCustomAttributes = "";
			$this->field_3115_unit->HrefValue = "";
			$this->field_3115_unit->TooltipValue = "";

			// field_3116
			$this->field_3116->LinkCustomAttributes = "";
			$this->field_3116->HrefValue = "";
			$this->field_3116->TooltipValue = "";

			// field_3117
			$this->field_3117->LinkCustomAttributes = "";
			$this->field_3117->HrefValue = "";
			$this->field_3117->TooltipValue = "";

			// field_3117_en_us
			$this->field_3117_en_us->LinkCustomAttributes = "";
			$this->field_3117_en_us->HrefValue = "";
			$this->field_3117_en_us->TooltipValue = "";

			// field_3117_fr_fr
			$this->field_3117_fr_fr->LinkCustomAttributes = "";
			$this->field_3117_fr_fr->HrefValue = "";
			$this->field_3117_fr_fr->TooltipValue = "";

			// field_3118
			$this->field_3118->LinkCustomAttributes = "";
			$this->field_3118->HrefValue = "";
			$this->field_3118->TooltipValue = "";

			// field_3118_en_us
			$this->field_3118_en_us->LinkCustomAttributes = "";
			$this->field_3118_en_us->HrefValue = "";
			$this->field_3118_en_us->TooltipValue = "";

			// field_3118_fr_fr
			$this->field_3118_fr_fr->LinkCustomAttributes = "";
			$this->field_3118_fr_fr->HrefValue = "";
			$this->field_3118_fr_fr->TooltipValue = "";

			// field_3119
			$this->field_3119->LinkCustomAttributes = "";
			$this->field_3119->HrefValue = "";
			$this->field_3119->TooltipValue = "";

			// field_3119_en_us
			$this->field_3119_en_us->LinkCustomAttributes = "";
			$this->field_3119_en_us->HrefValue = "";
			$this->field_3119_en_us->TooltipValue = "";

			// field_3119_fr_fr
			$this->field_3119_fr_fr->LinkCustomAttributes = "";
			$this->field_3119_fr_fr->HrefValue = "";
			$this->field_3119_fr_fr->TooltipValue = "";

			// field_3120
			$this->field_3120->LinkCustomAttributes = "";
			$this->field_3120->HrefValue = "";
			$this->field_3120->TooltipValue = "";

			// field_3120_en_us
			$this->field_3120_en_us->LinkCustomAttributes = "";
			$this->field_3120_en_us->HrefValue = "";
			$this->field_3120_en_us->TooltipValue = "";

			// field_3120_fr_fr
			$this->field_3120_fr_fr->LinkCustomAttributes = "";
			$this->field_3120_fr_fr->HrefValue = "";
			$this->field_3120_fr_fr->TooltipValue = "";

			// field_3121
			$this->field_3121->LinkCustomAttributes = "";
			$this->field_3121->HrefValue = "";
			$this->field_3121->TooltipValue = "";

			// field_3122
			$this->field_3122->LinkCustomAttributes = "";
			$this->field_3122->HrefValue = "";
			$this->field_3122->TooltipValue = "";

			// field_3122_si
			$this->field_3122_si->LinkCustomAttributes = "";
			$this->field_3122_si->HrefValue = "";
			$this->field_3122_si->TooltipValue = "";

			// field_3122_unit
			$this->field_3122_unit->LinkCustomAttributes = "";
			$this->field_3122_unit->HrefValue = "";
			$this->field_3122_unit->TooltipValue = "";

			// field_3123
			$this->field_3123->LinkCustomAttributes = "";
			$this->field_3123->HrefValue = "";
			$this->field_3123->TooltipValue = "";

			// field_3124
			$this->field_3124->LinkCustomAttributes = "";
			$this->field_3124->HrefValue = "";
			$this->field_3124->TooltipValue = "";

			// field_3125
			$this->field_3125->LinkCustomAttributes = "";
			$this->field_3125->HrefValue = "";
			$this->field_3125->TooltipValue = "";

			// field_3126
			$this->field_3126->LinkCustomAttributes = "";
			$this->field_3126->HrefValue = "";
			$this->field_3126->TooltipValue = "";

			// field_3127
			$this->field_3127->LinkCustomAttributes = "";
			$this->field_3127->HrefValue = "";
			$this->field_3127->TooltipValue = "";

			// field_3128
			$this->field_3128->LinkCustomAttributes = "";
			$this->field_3128->HrefValue = "";
			$this->field_3128->TooltipValue = "";

			// field_3129
			$this->field_3129->LinkCustomAttributes = "";
			$this->field_3129->HrefValue = "";
			$this->field_3129->TooltipValue = "";

			// field_3130
			$this->field_3130->LinkCustomAttributes = "";
			$this->field_3130->HrefValue = "";
			$this->field_3130->TooltipValue = "";

			// field_3131
			$this->field_3131->LinkCustomAttributes = "";
			$this->field_3131->HrefValue = "";
			$this->field_3131->TooltipValue = "";

			// field_3132
			$this->field_3132->LinkCustomAttributes = "";
			$this->field_3132->HrefValue = "";
			$this->field_3132->TooltipValue = "";

			// field_3133
			$this->field_3133->LinkCustomAttributes = "";
			$this->field_3133->HrefValue = "";
			$this->field_3133->TooltipValue = "";

			// field_3134
			$this->field_3134->LinkCustomAttributes = "";
			$this->field_3134->HrefValue = "";
			$this->field_3134->TooltipValue = "";

			// field_3135
			$this->field_3135->LinkCustomAttributes = "";
			$this->field_3135->HrefValue = "";
			$this->field_3135->TooltipValue = "";

			// field_3136
			$this->field_3136->LinkCustomAttributes = "";
			$this->field_3136->HrefValue = "";
			$this->field_3136->TooltipValue = "";

			// field_3137
			$this->field_3137->LinkCustomAttributes = "";
			$this->field_3137->HrefValue = "";
			$this->field_3137->TooltipValue = "";

			// field_3138
			$this->field_3138->LinkCustomAttributes = "";
			$this->field_3138->HrefValue = "";
			$this->field_3138->TooltipValue = "";

			// field_3139
			$this->field_3139->LinkCustomAttributes = "";
			$this->field_3139->HrefValue = "";
			$this->field_3139->TooltipValue = "";

			// field_3140
			$this->field_3140->LinkCustomAttributes = "";
			$this->field_3140->HrefValue = "";
			$this->field_3140->TooltipValue = "";

			// field_3141
			$this->field_3141->LinkCustomAttributes = "";
			$this->field_3141->HrefValue = "";
			$this->field_3141->TooltipValue = "";

			// field_3142
			$this->field_3142->LinkCustomAttributes = "";
			$this->field_3142->HrefValue = "";
			$this->field_3142->TooltipValue = "";

			// field_3143
			$this->field_3143->LinkCustomAttributes = "";
			$this->field_3143->HrefValue = "";
			$this->field_3143->TooltipValue = "";

			// field_3144
			$this->field_3144->LinkCustomAttributes = "";
			$this->field_3144->HrefValue = "";
			$this->field_3144->TooltipValue = "";

			// field_3145
			$this->field_3145->LinkCustomAttributes = "";
			$this->field_3145->HrefValue = "";
			$this->field_3145->TooltipValue = "";

			// field_3146
			$this->field_3146->LinkCustomAttributes = "";
			$this->field_3146->HrefValue = "";
			$this->field_3146->TooltipValue = "";

			// field_3147
			$this->field_3147->LinkCustomAttributes = "";
			$this->field_3147->HrefValue = "";
			$this->field_3147->TooltipValue = "";

			// field_3148
			$this->field_3148->LinkCustomAttributes = "";
			$this->field_3148->HrefValue = "";
			$this->field_3148->TooltipValue = "";

			// field_3149
			$this->field_3149->LinkCustomAttributes = "";
			$this->field_3149->HrefValue = "";
			$this->field_3149->TooltipValue = "";

			// field_3150
			$this->field_3150->LinkCustomAttributes = "";
			$this->field_3150->HrefValue = "";
			$this->field_3150->TooltipValue = "";

			// field_3151
			$this->field_3151->LinkCustomAttributes = "";
			$this->field_3151->HrefValue = "";
			$this->field_3151->TooltipValue = "";

			// field_3152
			$this->field_3152->LinkCustomAttributes = "";
			$this->field_3152->HrefValue = "";
			$this->field_3152->TooltipValue = "";

			// field_3153
			$this->field_3153->LinkCustomAttributes = "";
			$this->field_3153->HrefValue = "";
			$this->field_3153->TooltipValue = "";

			// field_3154
			$this->field_3154->LinkCustomAttributes = "";
			$this->field_3154->HrefValue = "";
			$this->field_3154->TooltipValue = "";

			// field_3155
			$this->field_3155->LinkCustomAttributes = "";
			$this->field_3155->HrefValue = "";
			$this->field_3155->TooltipValue = "";

			// field_3156
			$this->field_3156->LinkCustomAttributes = "";
			$this->field_3156->HrefValue = "";
			$this->field_3156->TooltipValue = "";

			// field_3157
			$this->field_3157->LinkCustomAttributes = "";
			$this->field_3157->HrefValue = "";
			$this->field_3157->TooltipValue = "";

			// field_3158
			$this->field_3158->LinkCustomAttributes = "";
			$this->field_3158->HrefValue = "";
			$this->field_3158->TooltipValue = "";

			// field_3159
			$this->field_3159->LinkCustomAttributes = "";
			$this->field_3159->HrefValue = "";
			$this->field_3159->TooltipValue = "";

			// field_3160
			$this->field_3160->LinkCustomAttributes = "";
			$this->field_3160->HrefValue = "";
			$this->field_3160->TooltipValue = "";

			// field_3161
			$this->field_3161->LinkCustomAttributes = "";
			$this->field_3161->HrefValue = "";
			$this->field_3161->TooltipValue = "";

			// field_3162
			$this->field_3162->LinkCustomAttributes = "";
			$this->field_3162->HrefValue = "";
			$this->field_3162->TooltipValue = "";

			// field_3163
			$this->field_3163->LinkCustomAttributes = "";
			$this->field_3163->HrefValue = "";
			$this->field_3163->TooltipValue = "";

			// field_3164
			$this->field_3164->LinkCustomAttributes = "";
			$this->field_3164->HrefValue = "";
			$this->field_3164->TooltipValue = "";

			// field_3165
			$this->field_3165->LinkCustomAttributes = "";
			$this->field_3165->HrefValue = "";
			$this->field_3165->TooltipValue = "";

			// field_3166
			$this->field_3166->LinkCustomAttributes = "";
			$this->field_3166->HrefValue = "";
			$this->field_3166->TooltipValue = "";

			// field_3167
			$this->field_3167->LinkCustomAttributes = "";
			$this->field_3167->HrefValue = "";
			$this->field_3167->TooltipValue = "";

			// field_3168
			$this->field_3168->LinkCustomAttributes = "";
			$this->field_3168->HrefValue = "";
			$this->field_3168->TooltipValue = "";

			// field_3169
			$this->field_3169->LinkCustomAttributes = "";
			$this->field_3169->HrefValue = "";
			$this->field_3169->TooltipValue = "";

			// field_3170
			$this->field_3170->LinkCustomAttributes = "";
			$this->field_3170->HrefValue = "";
			$this->field_3170->TooltipValue = "";

			// field_3171
			$this->field_3171->LinkCustomAttributes = "";
			$this->field_3171->HrefValue = "";
			$this->field_3171->TooltipValue = "";

			// field_3172
			$this->field_3172->LinkCustomAttributes = "";
			$this->field_3172->HrefValue = "";
			$this->field_3172->TooltipValue = "";

			// field_3173
			$this->field_3173->LinkCustomAttributes = "";
			$this->field_3173->HrefValue = "";
			$this->field_3173->TooltipValue = "";

			// field_3173_si
			$this->field_3173_si->LinkCustomAttributes = "";
			$this->field_3173_si->HrefValue = "";
			$this->field_3173_si->TooltipValue = "";

			// field_3173_unit
			$this->field_3173_unit->LinkCustomAttributes = "";
			$this->field_3173_unit->HrefValue = "";
			$this->field_3173_unit->TooltipValue = "";

			// field_3180
			$this->field_3180->LinkCustomAttributes = "";
			$this->field_3180->HrefValue = "";
			$this->field_3180->TooltipValue = "";

			// field_3180_en_us
			$this->field_3180_en_us->LinkCustomAttributes = "";
			$this->field_3180_en_us->HrefValue = "";
			$this->field_3180_en_us->TooltipValue = "";

			// field_3180_fr_fr
			$this->field_3180_fr_fr->LinkCustomAttributes = "";
			$this->field_3180_fr_fr->HrefValue = "";
			$this->field_3180_fr_fr->TooltipValue = "";

			// field_3181
			$this->field_3181->LinkCustomAttributes = "";
			$this->field_3181->HrefValue = "";
			$this->field_3181->TooltipValue = "";

			// field_3182
			$this->field_3182->LinkCustomAttributes = "";
			$this->field_3182->HrefValue = "";
			$this->field_3182->TooltipValue = "";

			// n_3189
			$this->n_3189->LinkCustomAttributes = "";
			$this->n_3189->HrefValue = "";
			$this->n_3189->TooltipValue = "";

			// n_3189_distance
			$this->n_3189_distance->LinkCustomAttributes = "";
			$this->n_3189_distance->HrefValue = "";
			$this->n_3189_distance->TooltipValue = "";

			// n_3189_distance_by
			$this->n_3189_distance_by->LinkCustomAttributes = "";
			$this->n_3189_distance_by->HrefValue = "";
			$this->n_3189_distance_by->TooltipValue = "";
		}

		// Call Row Rendered event
		if ($this->RowType != ROWTYPE_AGGREGATEINIT)
			$this->Row_Rendered();
	}

	// Get export HTML tag
	protected function getExportTag($type, $custom = FALSE)
	{
		global $Language;
		if (SameText($type, "excel")) {
			if ($custom)
				return "<a href=\"#\" class=\"ew-export-link ew-excel\" title=\"" . HtmlEncode($Language->phrase("ExportToExcelText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("ExportToExcelText")) . "\" onclick=\"return ew.export(document.fwp_wpl_propertiesview, '" . $this->ExportExcelUrl . "', 'excel', true);\">" . $Language->phrase("ExportToExcel") . "</a>";
			else
				return "<a href=\"" . $this->ExportExcelUrl . "\" class=\"ew-export-link ew-excel\" title=\"" . HtmlEncode($Language->phrase("ExportToExcelText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("ExportToExcelText")) . "\">" . $Language->phrase("ExportToExcel") . "</a>";
		} elseif (SameText($type, "word")) {
			if ($custom)
				return "<a href=\"#\" class=\"ew-export-link ew-word\" title=\"" . HtmlEncode($Language->phrase("ExportToWordText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("ExportToWordText")) . "\" onclick=\"return ew.export(document.fwp_wpl_propertiesview, '" . $this->ExportWordUrl . "', 'word', true);\">" . $Language->phrase("ExportToWord") . "</a>";
			else
				return "<a href=\"" . $this->ExportWordUrl . "\" class=\"ew-export-link ew-word\" title=\"" . HtmlEncode($Language->phrase("ExportToWordText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("ExportToWordText")) . "\">" . $Language->phrase("ExportToWord") . "</a>";
		} elseif (SameText($type, "pdf")) {
			if ($custom)
				return "<a href=\"#\" class=\"ew-export-link ew-pdf\" title=\"" . HtmlEncode($Language->phrase("ExportToPDFText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("ExportToPDFText")) . "\" onclick=\"return ew.export(document.fwp_wpl_propertiesview, '" . $this->ExportPdfUrl . "', 'pdf', true);\">" . $Language->phrase("ExportToPDF") . "</a>";
			else
				return "<a href=\"" . $this->ExportPdfUrl . "\" class=\"ew-export-link ew-pdf\" title=\"" . HtmlEncode($Language->phrase("ExportToPDFText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("ExportToPDFText")) . "\">" . $Language->phrase("ExportToPDF") . "</a>";
		} elseif (SameText($type, "html")) {
			return "<a href=\"" . $this->ExportHtmlUrl . "\" class=\"ew-export-link ew-html\" title=\"" . HtmlEncode($Language->phrase("ExportToHtmlText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("ExportToHtmlText")) . "\">" . $Language->phrase("ExportToHtml") . "</a>";
		} elseif (SameText($type, "xml")) {
			return "<a href=\"" . $this->ExportXmlUrl . "\" class=\"ew-export-link ew-xml\" title=\"" . HtmlEncode($Language->phrase("ExportToXmlText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("ExportToXmlText")) . "\">" . $Language->phrase("ExportToXml") . "</a>";
		} elseif (SameText($type, "csv")) {
			return "<a href=\"" . $this->ExportCsvUrl . "\" class=\"ew-export-link ew-csv\" title=\"" . HtmlEncode($Language->phrase("ExportToCsvText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("ExportToCsvText")) . "\">" . $Language->phrase("ExportToCsv") . "</a>";
		} elseif (SameText($type, "email")) {
			$url = $custom ? ",url:'" . $this->pageUrl() . "export=email&amp;custom=1'" : "";
			return '<button id="emf_wp_wpl_properties" class="ew-export-link ew-email" title="' . $Language->phrase("ExportToEmailText") . '" data-caption="' . $Language->phrase("ExportToEmailText") . '" onclick="ew.emailDialogShow({lnk:\'emf_wp_wpl_properties\', hdr:ew.language.phrase(\'ExportToEmailText\'), f:document.fwp_wpl_propertiesview, key:' . ArrayToJsonAttribute($this->RecKey) . ', sel:false' . $url . '});">' . $Language->phrase("ExportToEmail") . '</button>';
		} elseif (SameText($type, "print")) {
			return "<a href=\"" . $this->ExportPrintUrl . "\" class=\"ew-export-link ew-print\" title=\"" . HtmlEncode($Language->phrase("PrinterFriendlyText")) . "\" data-caption=\"" . HtmlEncode($Language->phrase("PrinterFriendlyText")) . "\">" . $Language->phrase("PrinterFriendly") . "</a>";
		}
	}

	// Set up export options
	protected function setupExportOptions()
	{
		global $Language;

		// Printer friendly
		$item = &$this->ExportOptions->add("print");
		$item->Body = $this->getExportTag("print");
		$item->Visible = TRUE;

		// Export to Excel
		$item = &$this->ExportOptions->add("excel");
		$item->Body = $this->getExportTag("excel");
		$item->Visible = FALSE;

		// Export to Word
		$item = &$this->ExportOptions->add("word");
		$item->Body = $this->getExportTag("word");
		$item->Visible = FALSE;

		// Export to Html
		$item = &$this->ExportOptions->add("html");
		$item->Body = $this->getExportTag("html");
		$item->Visible = FALSE;

		// Export to Xml
		$item = &$this->ExportOptions->add("xml");
		$item->Body = $this->getExportTag("xml");
		$item->Visible = FALSE;

		// Export to Csv
		$item = &$this->ExportOptions->add("csv");
		$item->Body = $this->getExportTag("csv");
		$item->Visible = TRUE;

		// Export to Pdf
		$item = &$this->ExportOptions->add("pdf");
		$item->Body = $this->getExportTag("pdf");
		$item->Visible = TRUE;

		// Export to Email
		$item = &$this->ExportOptions->add("email");
		$item->Body = $this->getExportTag("email");
		$item->Visible = TRUE;

		// Drop down button for export
		$this->ExportOptions->UseButtonGroup = TRUE;
		$this->ExportOptions->UseDropDownButton = TRUE;
		if ($this->ExportOptions->UseButtonGroup && IsMobile())
			$this->ExportOptions->UseDropDownButton = TRUE;
		$this->ExportOptions->DropDownButtonPhrase = $Language->phrase("ButtonExport");

		// Add group option item
		$item = &$this->ExportOptions->add($this->ExportOptions->GroupOptionName);
		$item->Body = "";
		$item->Visible = FALSE;

		// Hide options for export
		if ($this->isExport())
			$this->ExportOptions->hideAllOptions();
	}

	/**
	 * Export data in HTML/CSV/Word/Excel/XML/Email/PDF format
	 *
	 * @param boolean $return Return the data rather than output it
	 * @return mixed
	 */
	public function exportData($return = FALSE)
	{
		global $Language;
		$utf8 = SameText(Config("PROJECT_CHARSET"), "utf-8");
		$selectLimit = FALSE;

		// Load recordset
		if ($selectLimit) {
			$this->TotalRecords = $this->listRecordCount();
		} else {
			if (!$this->Recordset)
				$this->Recordset = $this->loadRecordset();
			$rs = &$this->Recordset;
			if ($rs)
				$this->TotalRecords = $rs->RecordCount();
		}
		$this->StartRecord = 1;
		$this->setupStartRecord(); // Set up start record position

		// Set the last record to display
		if ($this->DisplayRecords <= 0) {
			$this->StopRecord = $this->TotalRecords;
		} else {
			$this->StopRecord = $this->StartRecord + $this->DisplayRecords - 1;
		}
		$this->ExportDoc = GetExportDocument($this, "v");
		$doc = &$this->ExportDoc;
		if (!$doc)
			$this->setFailureMessage($Language->phrase("ExportClassNotFound")); // Export class not found
		if (!$rs || !$doc) {
			RemoveHeader("Content-Type"); // Remove header
			RemoveHeader("Content-Disposition");
			$this->showMessage();
			return;
		}
		if ($selectLimit) {
			$this->StartRecord = 1;
			$this->StopRecord = $this->DisplayRecords <= 0 ? $this->TotalRecords : $this->DisplayRecords;
		}

		// Call Page Exporting server event
		$this->ExportDoc->ExportCustom = !$this->Page_Exporting();
		$header = $this->PageHeader;
		$this->Page_DataRendering($header);
		$doc->Text .= $header;
		$this->exportDocument($doc, $rs, $this->StartRecord, $this->StopRecord, "view");
		$footer = $this->PageFooter;
		$this->Page_DataRendered($footer);
		$doc->Text .= $footer;

		// Close recordset
		$rs->close();

		// Call Page Exported server event
		$this->Page_Exported();

		// Export header and footer
		$doc->exportHeaderAndFooter();

		// Clean output buffer (without destroying output buffer)
		$buffer = ob_get_contents(); // Save the output buffer
		if (!Config("DEBUG") && $buffer)
			ob_clean();

		// Write debug message if enabled
		if (Config("DEBUG") && !$this->isExport("pdf"))
			echo GetDebugMessage();

		// Output data
		if ($this->isExport("email")) {
			if ($return)
				return $doc->Text; // Return email content
			else
				echo $this->exportEmail($doc->Text); // Send email
		} else {
			$doc->export();
			if ($return) {
				RemoveHeader("Content-Type"); // Remove header
				RemoveHeader("Content-Disposition");
				$content = ob_get_contents();
				if ($content)
					ob_clean();
				if ($buffer)
					echo $buffer; // Resume the output buffer
				return $content;
			}
		}
	}

	// Export email
	protected function exportEmail($emailContent)
	{
		global $TempImages, $Language;
		$sender = Post("sender", "");
		$recipient = Post("recipient", "");
		$cc = Post("cc", "");
		$bcc = Post("bcc", "");

		// Subject
		$subject = Post("subject", "");
		$emailSubject = $subject;

		// Message
		$content = Post("message", "");
		$emailMessage = $content;

		// Check sender
		if ($sender == "") {
			return "<p class=\"text-danger\">" . $Language->phrase("EnterSenderEmail") . "</p>";
		}
		if (!CheckEmail($sender)) {
			return "<p class=\"text-danger\">" . $Language->phrase("EnterProperSenderEmail") . "</p>";
		}

		// Check recipient
		if (!CheckEmailList($recipient, Config("MAX_EMAIL_RECIPIENT"))) {
			return "<p class=\"text-danger\">" . $Language->phrase("EnterProperRecipientEmail") . "</p>";
		}

		// Check cc
		if (!CheckEmailList($cc, Config("MAX_EMAIL_RECIPIENT"))) {
			return "<p class=\"text-danger\">" . $Language->phrase("EnterProperCcEmail") . "</p>";
		}

		// Check bcc
		if (!CheckEmailList($bcc, Config("MAX_EMAIL_RECIPIENT"))) {
			return "<p class=\"text-danger\">" . $Language->phrase("EnterProperBccEmail") . "</p>";
		}

		// Check email sent count
		if (!isset($_SESSION[Config("EXPORT_EMAIL_COUNTER")]))
			$_SESSION[Config("EXPORT_EMAIL_COUNTER")] = 0;
		if ((int)$_SESSION[Config("EXPORT_EMAIL_COUNTER")] > Config("MAX_EMAIL_SENT_COUNT")) {
			return "<p class=\"text-danger\">" . $Language->phrase("ExceedMaxEmailExport") . "</p>";
		}

		// Send email
		$email = new Email();
		$email->Sender = $sender; // Sender
		$email->Recipient = $recipient; // Recipient
		$email->Cc = $cc; // Cc
		$email->Bcc = $bcc; // Bcc
		$email->Subject = $emailSubject; // Subject
		$email->Format = "html";
		if ($emailMessage != "")
			$emailMessage = RemoveXss($emailMessage) . "<br><br>";
		foreach ($TempImages as $tmpImage)
			$email->addEmbeddedImage($tmpImage);
		$email->Content = $emailMessage . CleanEmailContent($emailContent); // Content
		$eventArgs = [];
		if ($this->Recordset)
			$eventArgs["rs"] = &$this->Recordset;
		$emailSent = FALSE;
		if ($this->Email_Sending($email, $eventArgs))
			$emailSent = $email->send();

		// Check email sent status
		if ($emailSent) {

			// Update email sent count
			$_SESSION[Config("EXPORT_EMAIL_COUNTER")]++;

			// Sent email success
			return "<p class=\"text-success\">" . $Language->phrase("SendEmailSuccess") . "</p>"; // Set up success message
		} else {

			// Sent email failure
			return "<p class=\"text-danger\">" . $email->SendErrDescription . "</p>";
		}
	}

	// Set up Breadcrumb
	protected function setupBreadcrumb()
	{
		global $Breadcrumb, $Language;
		$Breadcrumb = new Breadcrumb();
		$url = substr(CurrentUrl(), strrpos(CurrentUrl(), "/")+1);
		$Breadcrumb->add("list", $this->TableVar, $this->addMasterUrl("wp_wpl_propertieslist.php"), "", $this->TableVar, TRUE);
		$pageId = "view";
		$Breadcrumb->add("view", $pageId, $url);
	}

	// Setup lookup options
	public function setupLookupOptions($fld)
	{
		if ($fld->Lookup !== NULL && $fld->Lookup->Options === NULL) {

			// Get default connection and filter
			$conn = $this->getConnection();
			$lookupFilter = "";

			// No need to check any more
			$fld->Lookup->Options = [];

			// Set up lookup SQL and connection
			switch ($fld->FieldVar) {
				case "x_deleted":
					break;
				default:
					$lookupFilter = "";
					break;
			}

			// Always call to Lookup->getSql so that user can setup Lookup->Options in Lookup_Selecting server event
			$sql = $fld->Lookup->getSql(FALSE, "", $lookupFilter, $this);

			// Set up lookup cache
			if ($fld->UseLookupCache && $sql != "" && count($fld->Lookup->Options) == 0) {
				$totalCnt = $this->getRecordCount($sql, $conn);
				if ($totalCnt > $fld->LookupCacheCount) // Total count > cache count, do not cache
					return;
				$rs = $conn->execute($sql);
				$ar = [];
				while ($rs && !$rs->EOF) {
					$row = &$rs->fields;

					// Format the field values
					switch ($fld->FieldVar) {
					}
					$ar[strval($row[0])] = $row;
					$rs->moveNext();
				}
				if ($rs)
					$rs->close();
				$fld->Lookup->Options = $ar;
			}
		}
	}

	// Set up starting record parameters
	public function setupStartRecord()
	{
		if ($this->DisplayRecords == 0)
			return;
		if ($this->isPageRequest()) { // Validate request
			$startRec = Get(Config("TABLE_START_REC"));
			$pageNo = Get(Config("TABLE_PAGE_NO"));
			if ($pageNo !== NULL) { // Check for "pageno" parameter first
				if (is_numeric($pageNo)) {
					$this->StartRecord = ($pageNo - 1) * $this->DisplayRecords + 1;
					if ($this->StartRecord <= 0) {
						$this->StartRecord = 1;
					} elseif ($this->StartRecord >= (int)(($this->TotalRecords - 1)/$this->DisplayRecords) * $this->DisplayRecords + 1) {
						$this->StartRecord = (int)(($this->TotalRecords - 1)/$this->DisplayRecords) * $this->DisplayRecords + 1;
					}
					$this->setStartRecordNumber($this->StartRecord);
				}
			} elseif ($startRec !== NULL) { // Check for "start" parameter
				$this->StartRecord = $startRec;
				$this->setStartRecordNumber($this->StartRecord);
			}
		}
		$this->StartRecord = $this->getStartRecordNumber();

		// Check if correct start record counter
		if (!is_numeric($this->StartRecord) || $this->StartRecord == "") { // Avoid invalid start record counter
			$this->StartRecord = 1; // Reset start record counter
			$this->setStartRecordNumber($this->StartRecord);
		} elseif ($this->StartRecord > $this->TotalRecords) { // Avoid starting record > total records
			$this->StartRecord = (int)(($this->TotalRecords - 1)/$this->DisplayRecords) * $this->DisplayRecords + 1; // Point to last page first record
			$this->setStartRecordNumber($this->StartRecord);
		} elseif (($this->StartRecord - 1) % $this->DisplayRecords != 0) {
			$this->StartRecord = (int)(($this->StartRecord - 1)/$this->DisplayRecords) * $this->DisplayRecords + 1; // Point to page boundary
			$this->setStartRecordNumber($this->StartRecord);
		}
	}

	// Page Load event
	function Page_Load() {

		//echo "Page Load";
	}

	// Page Unload event
	function Page_Unload() {

		//echo "Page Unload";
	}

	// Page Redirecting event
	function Page_Redirecting(&$url) {

		// Example:
		//$url = "your URL";

	}

	// Message Showing event
	// $type = ''|'success'|'failure'|'warning'
	function Message_Showing(&$msg, $type) {
		if ($type == 'success') {

			//$msg = "your success message";
		} elseif ($type == 'failure') {

			//$msg = "your failure message";
		} elseif ($type == 'warning') {

			//$msg = "your warning message";
		} else {

			//$msg = "your message";
		}
	}

	// Page Render event
	function Page_Render() {

		//echo "Page Render";
	}

	// Page Data Rendering event
	function Page_DataRendering(&$header) {

		// Example:
		//$header = "your header";

	}

	// Page Data Rendered event
	function Page_DataRendered(&$footer) {

		// Example:
		//$footer = "your footer";

	}

	// Page Exporting event
	// $this->ExportDoc = export document object
	function Page_Exporting() {

		//$this->ExportDoc->Text = "my header"; // Export header
		//return FALSE; // Return FALSE to skip default export and use Row_Export event

		return TRUE; // Return TRUE to use default export and skip Row_Export event
	}

	// Row Export event
	// $this->ExportDoc = export document object
	function Row_Export($rs) {

		//$this->ExportDoc->Text .= "my content"; // Build HTML with field value: $rs["MyField"] or $this->MyField->ViewValue
	}

	// Page Exported event
	// $this->ExportDoc = export document object
	function Page_Exported() {

		//$this->ExportDoc->Text .= "my footer"; // Export footer
		//echo $this->ExportDoc->Text;

	}
} // End class
?>

Hry