<?php /* Smarty version 2.6.12, created on 2011-01-18 14:25:59
         compiled from login_view_main_init.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'login_view_main_init.html', 2, false),)), $this); ?>
<?php echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['error_mes'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != "" && empty ( $this->_tpl_vars['action']['iframeSsl'] )):  echo '<div class="deadline">';  echo $this->_tpl_vars['lang']['login_redirect_url_mes'];  echo '</div>';  endif;  echo '';  if (! empty ( $this->_tpl_vars['action']['iframeSsl'] )):  echo '<div class="login_ssl_font">';  echo $this->_tpl_vars['lang']['login_ssl'];  echo '</div>';  endif;  echo '<form class="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['formClassName'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ' ';  echo ((is_array($_tmp=$this->_tpl_vars['action']['sslOuterClassName'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" id="login_form';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" method="post" action="';  echo ((is_array($_tmp=@BASE_URL)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  echo ((is_array($_tmp=@INDEX_FILE_NAME)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" target="targetFrame';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><input type="hidden" name="action" value="login_action_main_init" /><input type="hidden" name="block_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['block_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /><input type="hidden" name="_redirect_url" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['redirect_url'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /><input type="hidden" name="_token" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['token_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" /><label class="login_label">';  echo $this->_tpl_vars['lang']['login_name'];  echo '</label><input id="login_id';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="login_input" type="text" name="login_id" value="';  echo ((is_array($_tmp=$this->_tpl_vars['action']['login_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" maxlength="100" onfocus="Element.addClassName(this, \'highlight\');" onblur="Element.removeClassName(this, \'highlight\');" /><label class="login_label">';  echo $this->_tpl_vars['lang']['login_password'];  echo '</label><input id="password';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="login_input" type="password" name="password" maxlength="100" onfocus="Element.addClassName(this, \'highlight\');" onblur="Element.removeClassName(this, \'highlight\');" /><div class="login_buttons"><input id="login_login_button';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="login_login_button" type="submit" value="';  echo $this->_tpl_vars['lang']['login'];  echo '" onmouseover="Element.addClassName(this, \'login_login_button_hover\');" onmouseout="Element.removeClassName(this, \'login_login_button_hover\');" onfocus="Element.addClassName(this, \'login_login_button_hover\');" onblur="Element.removeClassName(this, \'login_login_button_hover\');" />';  if (((is_array($_tmp=$this->_tpl_vars['action']['block_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 0 && empty ( $this->_tpl_vars['action']['iframeSsl'] )):  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "login_cancel_button.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  endif;  echo '</div>';  if (((is_array($_tmp=$this->_tpl_vars['action']['autologin'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 1):  echo '<div class="login_rememberme"><input id="login_rememberme';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" type="checkbox" name="rememberme" value="1" /><label for="login_rememberme';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  echo $this->_tpl_vars['lang']['login_rememberme'];  echo '</label></div>';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['closesite'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _OFF && ((is_array($_tmp=$this->_tpl_vars['action']['use_ssl'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _OFF):  echo '';  echo '<div class="login_forgetpass_link"><a class="link" href="#" onclick="commonCls.sendPopupView(event, {\'action\':\'login_view_main_forgetpass\',\'prefix_id_name\':\'login_popup_forgetpass\'},{\'top_el\':$(\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'),center_flag:1});return false;">';  echo $this->_tpl_vars['lang']['login_lost_password'];  echo '</a></div>';  endif;  echo '</form><iframe id="targetFrame';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" name="targetFrame';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="display-none"></iframe>'; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "login_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script class="nc_script" type="text/javascript">
	loginCls["<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"].initializeFocus();
	loginCls["<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"].setButtonStyle($("login_login_button<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"));
	loginCls["<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"].setButtonStyle($("login_cancel_button<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"));
	$("login_id<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
").setAttribute("autocomplete", "<?php echo ((is_array($_tmp=$this->_tpl_vars['action']['autocomplete'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
");
	$("password<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
").setAttribute("autocomplete", "<?php echo ((is_array($_tmp=$this->_tpl_vars['action']['autocomplete'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
");
</script>