
<?cs def:grade_menu() ?>
  <ul id="tabmenu">
  <?cs if:current_is_grade_book ?>
   <?cs each:menu = gmenu ?> 
     <?cs if:menu.current ?>
        <li class="active"><a  href="#" title="<?cs var:lang.grade_book_menu_util[name(menu)].help ?>" ><?cs var:lang.grade_book_menu_util[name(menu)].name ?></a> <?cs call:insert_help("gradebook_help.html", lang.grade_book_menu_util[name(menu)].target, lang.grade_book_menu_util[name(menu)].target_help, "grade_book_help") ?></li>
     <?cs else ?>
        <li><a  href="<?cs var:menu.url ?>" title="<?cs var:lang.grade_book_menu_util[name(menu)].help ?>" ><?cs var:lang.grade_book_menu_util[name(menu)].name ?></a> 
	<?cs call:insert_help("gradebook_help.html", lang.grade_book_menu_util[name(menu)].target, lang.grade_book_menu_util[name(menu)].target_help, "grade_book_help") ?></li>
     <?cs /if ?> 
    <?cs /each ?>
  <?cs else ?>
   <?cs each:menu = gmenu ?> 
     <?cs if:menu.current ?>
        <li class="active"><a  href="#" title="<?cs var:lang.grade_book_menu_util[name(menu)].help ?>" ><?cs var:lang.grade_book_menu_util[name(menu)].name ?></a>
	<?cs call:insert_help("gradebook_help.html", lang.grade_book_menu_util[name(menu)].target, lang.grade_book_menu_util[name(menu)].target_help, "grade_book_help") ?></li>
	</li>
     <?cs else ?>
        <li><a  href="#" onclick="javascript:getNextUrl('<?cs var:menu.url ?>', ''); return false;" title="<?cs var:lang.grade_book_menu_util[name(menu)].help ?>" ><?cs var:lang.grade_book_menu_util[name(menu)].name ?></a>
	<?cs call:insert_help("gradebook_help.html", lang.grade_book_menu_util[name(menu)].target, lang.grade_book_menu_util[name(menu)].target_help, "grade_book_help") ?></li>
	</li>
     <?cs /if ?> 
    <?cs /each ?> 
    
  <?cs /if ?>
   <li>
     <a href="javascript:mywind=window.open('<?cs var:image_path ?>help/gradebook_help.html','help_window', 'menubar=0,toolbar=1,status=0,scrollbars=yes,resizable=1,width=600,height=300');help_window.focus()" title="<?cs var:lang.grade_book_menu_util.grade_book_help.help ?>" ><?cs var:lang.grade_book_menu_util.grade_book_help.name ?></a><img src="<?cs var:image_path ?>grade_tab_help.gif" alt="" />
   </li> 
  </ul>
<?cs /def ?>
