<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:14
         compiled from quiz_view_answer_check.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'quiz_view_answer_check.html', 4, false),)), $this); ?>
<?php echo '';  echo '<script class="nc_script" type="text/javascript">';  if (((is_array($_tmp=$this->_tpl_vars['choiceDisplay'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == QUIZ_CHOICE_DISPLAY_NORMAL):  echo 'var choice = $("quiz_answer';  echo ((is_array($_tmp=$this->_tpl_vars['choice']['choice_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '");';  else:  echo 'var choice = $("quiz_answer';  echo ((is_array($_tmp=$this->_tpl_vars['choice']['choice_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '_';  echo ((is_array($_tmp=$this->_tpl_vars['answer']['answer_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '");choice.disabled = true;';  endif;  echo '';  if (((is_array($_tmp=$this->_tpl_vars['answer']['answer_value'][$this->_tpl_vars['choice']['choice_id']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON):  echo 'choice.checked = true;';  endif;  echo 'choice = null;</script>'; ?>