var subStatus = '';
<?php if (($theme !== false && $theme->show_need_help == 1) || ($theme === false && erLhcoreClassModelChatConfig::fetch('need_help_tip')->current_value == 1)) : ?>
if (this.isOnline == true) {
<?php $needHelpTimeout = $theme !== false ? $theme->show_need_help_timeout : erLhcoreClassModelChatConfig::fetch('need_help_tip_timeout')->current_value; ?>
var lhc_hnh = <?php if ($needHelpTimeout > 0) : ?>lh_inst.getPersistentAttribute('lhc_hnh');<?php else : ?>lh_inst.cookieData.lhc_hnh;<?php endif;?>
if (lhc_hnh == null || lhc_hnh == undefined || parseInt(lhc_hnh) < <?php echo time()?>) {

<?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/we_here_substatus.tpl.php')); ?>	

if (!this.cssNHWasAdded) {
	this.cssNHWasAdded = true;
	var raw_css_need_hl = '#lhc_need_help_container{width:235px;border-radius:20px;background:#<?php $theme !== false ? print $theme->need_help_bcolor : print '92B830' ?>;position:absolute;color:#<?php $theme !== false ? print $theme->need_help_tcolor : print 'ffffff' ?>;padding:10px;border:1px solid #<?php $theme !== false ? print $theme->need_help_border : print 'dbe257' ?>;margin-top:-105px;}#lhc_need_help_container:hover{background-color:#<?php $theme !== false ? print $theme->need_help_hover_bg : print '84A52E' ?>}#lhc_need_help_container:hover #lhc_need_help_triangle{border-top-color:#<?php $theme !== false ? print $theme->need_help_hover_bg : print '84A52E' ?>}'+
	'#lhc_need_help_triangle{width: 0;height: 0;border-left: 20px solid transparent;border-right: 10px solid transparent;border-top: 15px solid #<?php $theme !== false ? print $theme->need_help_bcolor : print '92B830' ?>;position:absolute;bottom:-14px;}'+
	'#lhc_need_help_close{float:right;border-radius:10px;background:#<?php $theme !== false ? print $theme->need_help_close_bg : print '435A05' ?>;padding:0px 6px;color:#FFF;right:10px;font-size:16px;font-weight:bold;text-decoration:none;margin-top:0px;line-height:20px}#lhc_need_help_close:hover{background-color:#<?php $theme !== false ? print $theme->need_help_close_hover_bg : print '74990F' ?>;}'+
	'#lhc_need_help_image{padding-right:10px;float:left;cursor:pointer;}#lhc_need_help_image img{border-radius:30px;border:1px solid #d0d0d0}#lhc_need_help_main_title{font-size:16px;font-weight:bold;cursor:pointer;line-height:1.5}#lhc_need_help_sub_title{cursor:pointer;line-height:1.5}';
	this.addCss(raw_css_need_hl);
};
};

<?php endif;?>