/**
  * retrieve the default location_type
  * 
  * @param NULL
  * 
  * @return object           The default location type object on success,
  *                          null otherwise
  * @static
  * @access public
  */
 function &getDefault()
 {
     if ($GLOBALS['_CRM_CORE_BAO_LOCATIONTYPE']['_defaultLocationType'] == null) {
         $params = array('is_default' => 1, 'domain_id' => CRM_Core_Config::domainID());
         $defaults = array();
         $GLOBALS['_CRM_CORE_BAO_LOCATIONTYPE']['_defaultLocationType'] = CRM_Core_BAO_LocationType::retrieve($params, $defaults);
     }
     return $GLOBALS['_CRM_CORE_BAO_LOCATIONTYPE']['_defaultLocationType'];
 }