<?php /* Smarty version 2.6.26, created on 2020-06-25 13:10:58
         compiled from js_config.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'js_config.tpl', 3, false),)), $this); ?>
<script type="text/javascript">
    var rlLangDir       = '<?php echo @RL_LANG_DIR; ?>
';
    var rlLang          = '<?php echo ((is_array($_tmp=@RL_LANG_CODE)) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
';
    var isLogin         = <?php if ($this->_tpl_vars['isLogin']): ?>true<?php else: ?>false<?php endif; ?>;
    var staticDataClass = <?php if (class_exists ( 'rlStatic' )): ?>true<?php else: ?>false<?php endif; ?>;

    var lang                                      = new Array();
    lang['photo']                                 = '<?php echo $this->_tpl_vars['lang']['photo']; ?>
';
    lang['of']                                    = '<?php echo $this->_tpl_vars['lang']['of']; ?>
';
    lang['close']                                 = '<?php echo $this->_tpl_vars['lang']['close']; ?>
';
    lang['add_photo']                             = '<?php echo $this->_tpl_vars['lang']['add_photo']; ?>
';
    lang['from']                                  = '<?php echo $this->_tpl_vars['lang']['from']; ?>
';
    lang['to']                                    = '<?php echo $this->_tpl_vars['lang']['to']; ?>
';
    lang['remove_from_favorites']                 = '<?php echo $this->_tpl_vars['lang']['remove_from_favorites']; ?>
';
    lang['add_to_favorites']                      = '<?php echo $this->_tpl_vars['lang']['add_to_favorites']; ?>
';
    lang['notice_listing_removed_from_favorites'] = '<?php echo $this->_tpl_vars['lang']['notice_listing_removed_from_favorites']; ?>
';
    lang['no_favorite']                           = '<?php echo $this->_tpl_vars['lang']['no_favorite']; ?>
';
    lang['password_strength_pattern']             = '<?php echo $this->_tpl_vars['lang']['password_strength_pattern']; ?>
';
    lang['notice_reg_length']                     = '<?php echo $this->_tpl_vars['lang']['notice_reg_length']; ?>
';
    lang['notice_pass_bad']                       = '<?php echo $this->_tpl_vars['lang']['notice_pass_bad']; ?>
';
    lang['password']                              = '<?php echo $this->_tpl_vars['lang']['password']; ?>
';
    lang['loading']                               = '<?php echo $this->_tpl_vars['lang']['loading']; ?>
';
    lang['password_weak_warning']                 = '<?php echo $this->_tpl_vars['lang']['password_weak_warning']; ?>
';
    lang['manage']                                = '<?php echo $this->_tpl_vars['lang']['manage']; ?>
';
    lang['done']                                  = '<?php echo $this->_tpl_vars['lang']['done']; ?>
';
    lang['cancel']                                = '<?php echo $this->_tpl_vars['lang']['cancel']; ?>
';
    lang['delete']                                = '<?php echo $this->_tpl_vars['lang']['delete']; ?>
';
    lang['warning']                               = '<?php echo $this->_tpl_vars['lang']['warning']; ?>
';
    lang['notice']                                = '<?php echo $this->_tpl_vars['lang']['notice']; ?>
';
    lang['gateway_fail']                          = '<?php echo $this->_tpl_vars['lang']['notice_payment_gateway_does_not_chose']; ?>
';
    lang['characters_left']                       = '<?php echo $this->_tpl_vars['lang']['characters_left']; ?>
';
    lang['notice_bad_file_ext']                   = '<?php echo $this->_tpl_vars['lang']['notice_bad_file_ext']; ?>
';
    lang['save_search_confirm']                   = '<?php echo $this->_tpl_vars['lang']['save_search_confirm']; ?>
';
    lang['no_browser_gps_support']                = '<?php echo $this->_tpl_vars['lang']['no_browser_gps_support']; ?>
';
    lang['gps_support_denied']                    = '<?php echo $this->_tpl_vars['lang']['gps_support_denied']; ?>
';
    lang['map_listings_request_fail']             = '<?php echo $this->_tpl_vars['lang']['map_listings_request_fail']; ?>
';
    lang['map_search_limit_warning']              = '<?php echo $this->_tpl_vars['lang']['map_search_limit_warning']; ?>
';
    lang['show_subcategories']                    = '<?php echo $this->_tpl_vars['lang']['show_subcategories']; ?>
';
    lang['invalid_file_extension']                = "<?php echo $this->_tpl_vars['lang']['invalid_file_extension']; ?>
";
    lang['system_error']                          = "<?php echo $this->_tpl_vars['lang']['system_error']; ?>
";
    lang['count_more_pictures']                   = '<?php echo $this->_tpl_vars['lang']['count_more_pictures']; ?>
';
    lang['price']                                 = '<?php echo $this->_tpl_vars['lang']['price']; ?>
';
    lang['nothing_found_for_char']                = '<?php echo $this->_tpl_vars['lang']['nothing_found_for_char']; ?>
';
    lang['delete_file']                           = '<?php echo $this->_tpl_vars['lang']['delete_file']; ?>
';
    lang['confirm_notice']                        = '<?php echo $this->_tpl_vars['lang']['confirm_notice']; ?>
';
    lang['any']                                   = '<?php echo $this->_tpl_vars['lang']['any']; ?>
';
    lang['account_remove_notice']                 = '<?php echo $this->_tpl_vars['lang']['account_remove_notice']; ?>
';
    lang['account_remove_notice_pass']            = '<?php echo $this->_tpl_vars['lang']['account_remove_notice_pass']; ?>
';
    lang['delete_account']                        = '<?php echo $this->_tpl_vars['lang']['delete_account']; ?>
';
    lang['password_lenght_fail']                  = '<?php echo $this->_tpl_vars['lang']['password_lenght_fail']; ?>
';
    lang['account_remove_in_process']             = '<?php echo $this->_tpl_vars['lang']['account_remove_in_process']; ?>
';
    lang['error_max_size']                        = '<?php echo $this->_tpl_vars['lang']['error_maxFileSize']; ?>
';

    var rlPageInfo           = new Array();
    rlPageInfo['key']        = '<?php echo $this->_tpl_vars['pageInfo']['Key']; ?>
';
    rlPageInfo['controller'] = '<?php echo $this->_tpl_vars['pageInfo']['Controller']; ?>
';
    rlPageInfo['path']       = '<?php if ($this->_tpl_vars['pageInfo']['Path_real']): ?><?php echo $this->_tpl_vars['pageInfo']['Path_real']; ?>
<?php else: ?><?php echo $this->_tpl_vars['pageInfo']['Path']; ?>
<?php endif; ?>';

    var rlConfig                                 = new Array();
    rlConfig['seo_url']                          = '<?php echo $this->_tpl_vars['rlBase']; ?>
';
    rlConfig['tpl_base']                         = '<?php echo $this->_tpl_vars['rlTplBase']; ?>
';
    rlConfig['files_url']                        = '<?php echo @RL_FILES_URL; ?>
';
    rlConfig['libs_url']                         = '<?php echo @RL_LIBS_URL; ?>
';
    rlConfig['plugins_url']                      = '<?php echo @RL_PLUGINS_URL; ?>
';
    rlConfig['ajax_url']                         = '<?php echo @RL_URL_HOME; ?>
request.ajax.php';
    rlConfig['mod_rewrite']                      = <?php echo $this->_tpl_vars['config']['mod_rewrite']; ?>
;
    rlConfig['sf_display_fields']                = <?php echo $this->_tpl_vars['config']['sf_display_fields']; ?>
;
    rlConfig['account_password_strength']        = <?php echo $this->_tpl_vars['config']['account_password_strength']; ?>
;
    rlConfig['messages_length']                  = <?php if ($this->_tpl_vars['config']['messages_length']): ?><?php echo $this->_tpl_vars['config']['messages_length']; ?>
<?php else: ?>250<?php endif; ?>;
    rlConfig['pg_upload_thumbnail_width']        = <?php if ($this->_tpl_vars['config']['pg_upload_thumbnail_width']): ?><?php echo $this->_tpl_vars['config']['pg_upload_thumbnail_width']; ?>
<?php else: ?>120<?php endif; ?>;
    rlConfig['pg_upload_thumbnail_height']       = <?php if ($this->_tpl_vars['config']['pg_upload_thumbnail_height']): ?><?php echo $this->_tpl_vars['config']['pg_upload_thumbnail_height']; ?>
<?php else: ?>90<?php endif; ?>;
    rlConfig['thumbnails_x2']                    = <?php if ($this->_tpl_vars['config']['thumbnails_x2']): ?>true<?php else: ?>false<?php endif; ?>;
    rlConfig['template_type']                    = <?php if ($this->_tpl_vars['tpl_settings']['type']): ?>'<?php echo $this->_tpl_vars['tpl_settings']['type']; ?>
'<?php else: ?>false<?php endif; ?>;
    rlConfig['domain']                           = '<?php echo $this->_tpl_vars['domain_info']['domain']; ?>
';
    rlConfig['domain_path']                      = '<?php echo $this->_tpl_vars['domain_info']['path']; ?>
';
    rlConfig['map_search_listings_limit']        = <?php if ($this->_tpl_vars['config']['map_search_listings_limit']): ?><?php echo $this->_tpl_vars['config']['map_search_listings_limit']; ?>
<?php else: ?>500<?php endif; ?>;
    rlConfig['map_search_listings_limit_mobile'] = <?php if ($this->_tpl_vars['config']['map_search_listings_limit_mobile']): ?><?php echo $this->_tpl_vars['config']['map_search_listings_limit_mobile']; ?>
<?php else: ?>75<?php endif; ?>;
    rlConfig['price_delimiter']                  = <?php if ($this->_tpl_vars['config']['price_delimiter'] == '"'): ?>'<?php echo $this->_tpl_vars['config']['price_delimiter']; ?>
'<?php else: ?>"<?php echo $this->_tpl_vars['config']['price_delimiter']; ?>
"<?php endif; ?>;
    rlConfig['price_separator']                  = "<?php echo $this->_tpl_vars['config']['price_separator']; ?>
";
    rlConfig['random_block_slideshow_delay']     = '<?php echo $this->_tpl_vars['config']['random_block_slideshow_delay']; ?>
';
    rlConfig['template_name']                    = '<?php echo $this->_tpl_vars['tpl_settings']['name']; ?>
';
    rlConfig['map_provider']                     = '<?php echo $this->_tpl_vars['config']['map_provider']; ?>
';
    rlConfig['map_default_zoom']                 = '<?php echo $this->_tpl_vars['config']['map_default_zoom']; ?>
';
    rlConfig['upload_max_size']                  = <?php echo $this->_tpl_vars['upload_max_size']; ?>
;
    rlConfig['expire_languages']                 = <?php if ($this->_tpl_vars['config']['expire_languages']): ?><?php echo $this->_tpl_vars['config']['expire_languages']; ?>
<?php else: ?>12<?php endif; ?>;

    var rlAccountInfo = new Array();
    rlAccountInfo['ID'] = <?php if ($this->_tpl_vars['account_info']): ?><?php echo $this->_tpl_vars['account_info']['ID']; ?>
<?php else: ?>null<?php endif; ?>;

    flynax.langSelector();

    var qtip_style = new Object(<?php echo '{'; ?>

        width      : '<?php if ($this->_tpl_vars['tpl_settings']['qtip']['width']): ?><?php echo $this->_tpl_vars['tpl_settings']['qtip']['width']; ?>
<?php else: ?>auto<?php endif; ?>',
        background : '#<?php if ($this->_tpl_vars['tpl_settings']['qtip']['background']): ?><?php echo $this->_tpl_vars['tpl_settings']['qtip']['background']; ?>
<?php else: ?>396932<?php endif; ?>',
        color      : '#<?php if ($this->_tpl_vars['tpl_settings']['qtip']['color']): ?><?php echo $this->_tpl_vars['tpl_settings']['qtip']['color']; ?>
<?php else: ?>ffffff<?php endif; ?>',
        tip        : '<?php if ($this->_tpl_vars['tpl_settings']['qtip']['tip']): ?><?php echo $this->_tpl_vars['tpl_settings']['qtip']['tip']; ?>
<?php else: ?>bottomLeft<?php endif; ?>',
        border     : <?php echo '{'; ?>

            width  : <?php if ($this->_tpl_vars['tpl_settings']['qtip']['b_width']): ?><?php echo $this->_tpl_vars['tpl_settings']['qtip']['b_width']; ?>
<?php else: ?>7<?php endif; ?>,
            radius : <?php if ($this->_tpl_vars['tpl_settings']['qtip']['b_radius']): ?><?php echo $this->_tpl_vars['tpl_settings']['qtip']['b_radius']; ?>
<?php else: ?>0<?php endif; ?>,
            color  : '#<?php if ($this->_tpl_vars['tpl_settings']['qtip']['b_color']): ?><?php echo $this->_tpl_vars['tpl_settings']['qtip']['b_color']; ?>
<?php else: ?>396932<?php endif; ?>'
        <?php echo '}
    }'; ?>
);
</script>

<?php 
    if (in_array($GLOBALS['page_info']['Controller'], array('listing_details', 'listing_type'))) {
        $this->assign('navIcons', ' ');
    }
 ?>