<?php /* Smarty version 2.6.27, created on 2016-06-21 09:10:00
         compiled from default/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'default/index.tpl', 33, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template'])."/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

	<div id="LiveHelpLogin" align="center" style="position:relative; top:0; min-height:365px<?php if ($this->_tpl_vars['connected']): ?>; display:none<?php endif; ?>">
		<div>
			<?php echo $this->_tpl_vars['LOCALE']['welcome']; ?>
<br/><?php echo $this->_tpl_vars['LOCALE']['enterguestdetails']; ?>

		</div>

	<?php if (isset ( $this->_tpl_vars['error'] )): ?><br/><strong><?php echo $this->_tpl_vars['error']; ?>
</strong><?php endif; ?>
	<div id="LiveHelpLoginForm" class="LiveHelpLoginContent" style="width:400px; color:#777">

		<div class="form-group col-xs-12 col-sm-6 col-lg-3">
			<input type="text" name="NAME" id="NAME" placeholder="<?php echo $this->_tpl_vars['LOCALE']['name']; ?>
" value="<?php echo $this->_tpl_vars['username']; ?>
" maxlength="20" class="form-control"/>
			<div id="LiveHelpNameError" title="Name Required" class="sprite input-error"></div>
		</div>

		<?php if ($this->_tpl_vars['SETTINGS']['LOGINEMAIL']): ?>
		<div class="form-group col-xs-12 col-sm-6 col-lg-3">
			<input type="text" name="EMAIL" id="EMAIL" placeholder="<?php echo $this->_tpl_vars['LOCALE']['email']; ?>
" value="<?php echo $this->_tpl_vars['email']; ?>
" class="form-control"/>
			<div id="LiveHelpEmailError" title="Email Required" class="sprite input-error"></div>
		</div>
		<?php endif; ?>

		<?php if ($this->_tpl_vars['SETTINGS']['LOGINTELEPHONE']): ?>
		<div class="form-group col-xs-12 col-sm-6 col-lg-3">
			<input type="text" name="TELEPHONE" id="TELEPHONE" placeholder="<?php echo $this->_tpl_vars['telephone']; ?>
" value="<?php echo $this->_tpl_vars['telephone']; ?>
" class="form-control"/>
			<div id="LiveHelpTelephoneError" title="Telephone Required" class="sprite input-error"></div>
		</div>
		<?php endif; ?>

<?php if ($this->_tpl_vars['departments']): ?>
		<div class="form-group col-xs-12 col-sm-6 col-lg-3">
			<select name="DEPARTMENT" id="DEPARTMENT" placeholder="<?php echo $this->_tpl_vars['LOCALE']['department']; ?>
" class="form-control select select-default select-block mbl">
				<?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['departments'],'output' => $this->_tpl_vars['departments'],'selected' => $this->_tpl_vars['selected']), $this);?>

			</select>
			<div id="LiveHelpDepartmentError" title="Department Required" class="sprite" style="display:none; position:absolute; right:5px; top:5px"></div>
		</div>
<?php else: ?>
			<input name="DEPARTMENT" id="DEPARTMENT" type="hidden" value="<?php echo $this->_tpl_vars['department']; ?>
"/>
<?php endif; ?>
<?php if ($this->_tpl_vars['SETTINGS']['LOGINQUESTION']): ?>
		<div class="form-group col-xs-12 col-sm-6 col-lg-3">
			<textarea name="QUESTION" id="QUESTION" placeholder="<?php echo $this->_tpl_vars['LOCALE']['question']; ?>
" class="form-control" rows="3" cols="25" style="height:70px; bborder:none; outline:none; resize:none"><?php echo $this->_tpl_vars['question']; ?>
</textarea>
			<div id="LiveHelpQuestionError" title="Question Required" class="sprite" style="display:none; position:absolute; right:5px; top:5px"></div>
		</div>
<?php endif; ?>

		<input name="LANGUAGE" id="LANGUAGE" type="hidden" value="<?php echo $this->_tpl_vars['language']; ?>
"/>
		<div id="LiveHelpConnectButton" class="btn btn-embossed btn-primary">Start Chatting</div>
	</div>
	</div>

	<div id="LiveHelpChat"<?php if (! $this->_tpl_vars['connected']): ?> style="display:none"<?php endif; ?>>
	<div id="LiveHelpToolbar" style="position:absolute; <?php if ($this->_tpl_vars['SETTINGS']['CAMPAIGNIMAGE']): ?>right:140px;<?php else: ?>right:15px;<?php endif; ?> top:35px; width:78px; height:20px">
		<div id="LiveHelpEmailChatToolbarButton" title="<?php echo $this->_tpl_vars['LOCALE']['emailchat']; ?>
" class="sprite Email" style="display:none; position:absolute; top:0px; left:0px; opacity:0.5"></div>
		<div id="LiveHelpSoundToolbarButton" title="<?php echo $this->_tpl_vars['LOCALE']['togglesound']; ?>
" class="sprite SoundOn" style="position:absolute; top:0px; left:20px; opacity:0.5"></div>
		<div id="LiveHelpFeedbackToolbarButton" title="<?php echo $this->_tpl_vars['LOCALE']['feedback']; ?>
" class="sprite Feedback" style="position:absolute; top:0px; left:40px; opacity:0.5"></div>
		<div id="LiveHelpDisconnectToolbarButton" title="<?php echo $this->_tpl_vars['LOCALE']['disconnect']; ?>
" class="sprite Disconnect" style="position:absolute; top:0px; left:60px; opacity:0.5"></div>
	</div>
	<div id="LiveHelpScrollBorder" style="position:relative; height:<?php echo $this->_tpl_vars['SETTINGS']['CHATWINDOWHEIGHT']-185; ?>
px; width:<?php echo $this->_tpl_vars['SETTINGS']['CHATWINDOWWIDTH']-150; ?>
px; margin:0 0 20px 5px; border-radius:3px; -moz-border-radius:3px; webkit-border-radius:3px; border: 1px solid #d0d0bf; background-color:#fff">
		<div id="LiveHelpScroll" style="position:absolute; overflow:auto; text-align:left; left:10px">
		<div id="LiveHelpWaiting" class="box"><?php echo $this->_tpl_vars['LOCALE']['thankyoupatience']; ?>
</div>
<?php if ($this->_tpl_vars['SETTINGS']['OFFLINEEMAILREDIRECT']): ?>
	<div id="LiveHelpContinue" class="box" style="border:none; background:none; text-align:right; display:none;"><?php echo $this->_tpl_vars['LOCALE']['continuewaiting']; ?>
 <a href="<?php echo $this->_tpl_vars['SETTINGS']['OFFLINEEMAILREDIRECT']; ?>
" target="_blank"><?php echo $this->_tpl_vars['LOCALE']['offlineemail']; ?>
</a> ?</div>
<?php elseif ($this->_tpl_vars['SETTINGS']['OFFLINEEMAIL']): ?>
	<div id="LiveHelpContinue" class="box" style="border:none; background:none; text-align:right; display:none;"><?php echo $this->_tpl_vars['LOCALE']['continuewaiting']; ?>
 <a href="offline.php" target="_top"><?php echo $this->_tpl_vars['LOCALE']['offlineemail']; ?>
</a> ?</div>
<?php endif; ?>
		<div id="LiveHelpMessages" style="margin-left:5px"></div>
		<div id="LiveHelpMessagesEnd">
			<div id="LiveHelpClosedChatMessage"><?php echo $this->_tpl_vars['LOCALE']['closedusermessage']; ?>
</div>
		</div>
		</div>
	</div>
<?php if ($this->_tpl_vars['SETTINGS']['CAMPAIGNIMAGE']): ?>
	<div id="LiveHelpCampaign" style="position:absolute; right:5px; top:80px; width:125px;">
		<?php if ($this->_tpl_vars['SETTINGS']['CAMPAIGNLINK']): ?><a href="<?php echo $this->_tpl_vars['SETTINGS']['CAMPAIGNLINK']; ?>
" target="_blank"><?php endif; ?><img src="<?php echo $this->_tpl_vars['SETTINGS']['CAMPAIGNIMAGE']; ?>
" border="0" alt="Live Help - Welcome, how can I be of assistance?" style="position:relative; top:-20px"/><?php if ($this->_tpl_vars['SETTINGS']['CAMPAIGNLINK']): ?></a><?php endif; ?>
	</div>
<?php endif; ?>
	<div id="LiveHelpTypingPopup">
		<div class="sprite Typing"></div>
		<span></span>
	</div>
<?php if ($this->_tpl_vars['SETTINGS']['SMILIES']): ?>
	<div id="LiveHelpSmiliesButton" style="width:24px; height:24px; position:absolute; bottom:65px; right:105px; top:auto; left:auto">
		<img class="trigger" src="<?php echo $this->_tpl_vars['basedir']; ?>
images/Smile.png" id="download" title="Smilies" alt="Smilies"/>
		<div id="SmiliesTooltip" style="display:none;"><div><span title="Laugh" class="sprite Laugh"></span><span title="Smile" class="sprite Smile"></span><span title="Sad" class="sprite Sad"></span><span title="Money" class="sprite Money"></span><span title="Impish" class="sprite Impish"></span><span title="Sweat" class="sprite Sweat"></span><span title="Cool" class="sprite Cool"></span><br/><span title="Frown" class="sprite Frown"></span><span title="Wink" class="sprite Wink"></span><span title="Surprise" class="sprite Surprise"></span><span title="Woo" class="sprite Woo"></span><span title="Tired" class="sprite Tired"></span><span title="Shock" class="sprite Shock"></span><span title="Hysterical" class="sprite Hysterical"></span><br/><span title="Kissed" class="sprite Kissed"></span><span title="Dizzy" class="sprite Dizzy"></span><span title="Celebrate" class="sprite Celebrate"></span><span title="Angry" class="sprite Angry"></span><span title="Adore" class="sprite Adore"></span><span title="Sleep" class="sprite Sleep"></span><span title="Quiet" class="sprite Stop"></span></div></div>
	</div>
<?php endif; ?>
	<div style="position:absolute; bottom:90px; left:0; width:<?php echo $this->_tpl_vars['SETTINGS']['CHATWINDOWWIDTH']-140; ?>
px">
		<textarea id="LiveHelpMessageTextarea" placeholder="<?php echo $this->_tpl_vars['LOCALE']['enteryourmessage']; ?>
" style="top:auto; left:0; width:<?php echo $this->_tpl_vars['SETTINGS']['CHATWINDOWWIDTH']-150; ?>
px; height:45px; padding:2px; margin-left:5px; font-family:<?php echo $this->_tpl_vars['SETTINGS']['CHATFONT']; ?>
; font-size:<?php echo $this->_tpl_vars['SETTINGS']['CHATFONTSIZE']; ?>
; resize:none" rows="2" cols="250"></textarea>
	</div>
	<iframe id="FileDownload" name="FileDownload" frameborder="0" height="0" width="0" style="visibility:hidden; display:none; border:none"></iframe>
	<div id="LiveHelpDisconnect" style="display:none; margin:20px 20px 75px 20px">
		<div style="font-family: 'Source Sans Pro', sans-serif; text-shadow:0 0 2px #ccc; letter-spacing:-1px; font-size:25px; font-weight:700; line-height:28px; color:#999"><?php echo $this->_tpl_vars['LOCALE']['disconnecttitle']; ?>
</div><br/>
		<span><?php echo $this->_tpl_vars['LOCALE']['disconnectdescription']; ?>
</span>
		<div id="LiveHelpDisconnectButton" class="btn btn-primary" style="position:absolute; bottom:10px; right:115px; border-radius:40px">Disconnect</div>
		<div id="LiveHelpCancelButton" class="btn btn-default" style="position:absolute; bottom:10px; right:10px; border-radius:40px"><?php echo $this->_tpl_vars['LOCALE']['cancel']; ?>
</div>
	</div>
	</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template'])."/footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>