<?php /* Smarty version 2.6.27, created on 2016-06-21 09:10:01
         compiled from default/header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'default/header.tpl', 21, false),)), $this); ?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $this->_tpl_vars['SETTINGS']['NAME']; ?>
</title>
<link href="<?php echo $this->_tpl_vars['basedir']; ?>
templates/<?php echo $this->_tpl_vars['template']; ?>
/styles/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $this->_tpl_vars['basedir']; ?>
templates/<?php echo $this->_tpl_vars['template']; ?>
/styles/flat-ui-pro.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo $this->_tpl_vars['basedir']; ?>
styles/styles.php" rel="stylesheet" type="text/css"/>
<link href="<?php echo $this->_tpl_vars['basedir']; ?>
templates/<?php echo $this->_tpl_vars['template']; ?>
/styles/styles.min.css" rel="stylesheet" type="text/css"/>
<script language="JavaScript" type="text/JavaScript" src="<?php echo $this->_tpl_vars['basedir']; ?>
scripts/jquery-latest.js"></script>
<script language="JavaScript" type="text/JavaScript" src="<?php echo $this->_tpl_vars['basedir']; ?>
templates/<?php echo $this->_tpl_vars['template']; ?>
/js/flat-ui-pro.js"></script>
<?php echo '
<script type="text/javascript">
<!--
	var LiveHelpSettings = {};
	LiveHelpSettings.server = document.location.host + document.location.pathname.substring(0, document.location.pathname.indexOf(\'/livehelp\'));
	LiveHelpSettings.visitorTracking = false;
	LiveHelpSettings.popup = true;
	LiveHelpSettings.embedded = false;
	LiveHelpSettings.initiate = false;
	LiveHelpSettings.css = false;
	LiveHelpSettings.template = '; ?>
'<?php echo ((is_array($_tmp=$this->_tpl_vars['template'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'quotes') : smarty_modifier_escape($_tmp, 'quotes')); ?>
'<?php echo ';
	LiveHelpSettings.department = '; ?>
'<?php echo ((is_array($_tmp=$this->_tpl_vars['department'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'quotes') : smarty_modifier_escape($_tmp, 'quotes')); ?>
'<?php echo ';
	LiveHelpSettings.session = '; ?>
'<?php echo ((is_array($_tmp=$this->_tpl_vars['session'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'quotes') : smarty_modifier_escape($_tmp, 'quotes')); ?>
'<?php echo ';
	LiveHelpSettings.security = '; ?>
'<?php echo ((is_array($_tmp=$this->_tpl_vars['captcha'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'quotes') : smarty_modifier_escape($_tmp, 'quotes')); ?>
'<?php echo ';
	LiveHelpSettings.locale = '; ?>
'<?php echo ((is_array($_tmp=$this->_tpl_vars['language'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'quotes') : smarty_modifier_escape($_tmp, 'quotes')); ?>
'<?php echo ';
'; ?>
<?php if ($this->_tpl_vars['connected']): ?><?php echo '	LiveHelpSettings.connected = '; ?>
<?php echo $this->_tpl_vars['connected']; ?>
<?php echo ';'; ?>
<?php endif; ?><?php echo '

	(function($) {
		$(function() {
			$(window).ready(function() {
				// JavaScript
				LiveHelpSettings.server = LiveHelpSettings.server.replace(/[a-z][a-z0-9+\\-.]*:\\/\\/|\\/livehelp\\/*(\\/|[a-z0-9\\-._~%!$&\'()*+,;=:@\\/]*(?![a-z0-9\\-._~%!$&\'()*+,;=:@]))|\\/*$/g, \'\');
				var LiveHelp = document.createElement(\'script\'); LiveHelp.type = \'text/javascript\'; LiveHelp.async = true;
				LiveHelp.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + LiveHelpSettings.server + \''; ?>
<?php echo $this->_tpl_vars['jspath']; ?>
<?php echo '\';
				var s = document.getElementsByTagName(\'script\')[0];
				s.parentNode.insertBefore(LiveHelp, s);

				// Select2 Replacement
				$(\'select\').select2({dropdownCssClass: \'dropdown-inverse\'});
			});
		});
	})(jQuery);
-->
</script>
'; ?>

</head>
<body style="background-color: <?php echo $this->_tpl_vars['SETTINGS']['BACKGROUNDCOLOR']; ?>
;">
<div id="LiveHelpContent">
	<div id="Logo">
<?php if ($this->_tpl_vars['SETTINGS']['LOGO']): ?>
		<img id="LogoImage" src="<?php echo $this->_tpl_vars['SETTINGS']['LOGO']; ?>
" alt="<?php echo $this->_tpl_vars['SETTINGS']['NAME']; ?>
" border="0"/>
<?php endif; ?>
	</div>