<script type="text/javascript">//<![CDATA[
Date.remoteOffset = (new Date()).getTime() - <?php echo $TIMESTAMP ?>;
//]]></script>

<style>
  .ilc_rte_status_RTEAsset { padding-left: 18px; background: url(<?php echo $IC_ASSET?>) 0 0 no-repeat; }
  .ilc_rte_status_RTECompleted { padding-left: 18px; background: url(<?php echo $IC_COMPLETED?>) 0 0 no-repeat; }
  .ilc_rte_status_RTENotAttempted{padding-left: 18px; background: url(<?php echo $IC_NOTATTEMPTED?>) 0 0 no-repeat;}
  .ilc_rte_status_RTERunning {padding-left: 18px; background: url(<?php echo $IC_RUNNING?>) 0 0 no-repeat;}
  .ilc_rte_status_RTEIncomplete {padding-left: 18px; background: url(<?php echo $IC_INCOMPLETE?>) 0 0 no-repeat;}
  .ilc_rte_status_RTEPassed {padding-left: 18px; background: url(<?php echo $IC_PASSED?>) 0 0 no-repeat;}
  .ilc_rte_status_RTEFailed {padding-left: 18px; background: url(<?php echo $IC_FAILED?>) 0 0 no-repeat;}
  .ilc_rte_status_RTEBrowsed {padding-left: 18px; background: url(<?php echo $IC_BROWSED?>) 0 0 no-repeat;}
</style>

<?php use_stylesheet($WEB_DIR.'/css/delos.css');?>
<?php use_stylesheet($WEB_DIR.'/css/player.css');?>
<?php use_javascript($WEB_DIR.'/js/jquery-1.4.4.min.js');?>
<?php use_javascript($WEB_DIR.'/js/ilNestedList.js');?>
<?php use_javascript($WEB_DIR.'/js/rteconfig.js');?>
<?php use_javascript($WEB_DIR.'/js/rte.js');?>

<base target="frmResource" />

<div id="zmove"></div>

<div <?php echo $VAL_DISPLAY ?> id="toolbar" style="position:absolute; top:0px; width: 100%">
  <div class="iosRTEMenu ilc_rte_menu_RTEMenu" style="clear:both;">
    <div class="iosRTELogo ilc_rte_menu_RTELogo" ></div>
    <div class="ilc_rte_menu_RTELinkBar">
      <a target="_self" href="#" class="ilc_rte_mlink_RTELink" onclick="toggleView();" id="treeToggle"><?php echo $LANGS['btnhidetree']?></a>
      <a target="_self" href="#" class="ilc_rte_mlink_RTELink" id="navStart"><?php echo $LANGS['btnStart']?></a>
      <a target="_self" href="#" class="ilc_rte_mlink_RTELink" id="navExit"><?php echo $LANGS['btnExit']?></a>
      <a target="_self" href="#" class="ilc_rte_mlink_RTELink" id="navExitAll"><?php echo $LANGS['btnExitAll']?></a>
      <a target="_self" href="#" class="ilc_rte_mlink_RTELink" id="navSuspendAll"><?php echo $LANGS['btnSuspendAll']?></a>
      <a target="_self" href="#" class="ilc_rte_mlink_RTELink" id="navPrevious">&lt; <?php echo $LANGS['btnPrevious']?></a>
      <a target="_self" href="#" class="ilc_rte_mlink_RTELink" id="navContinue"><?php echo $LANGS['btnContinue']?> &gt;</a>
    </div>
    <div style="clear:both;"></div>
  </div>
</div>

<div id="mainTable">
  <div id="leftView">
    <div class="ilc_rte_tree_RTETree">
      <div id="treeView"></div>
    </div>
  </div>
  <div id="dragbar" class="dragbar ilc_rte_drag_RTEDragBar"></div>
  <div id="tdResource">
    <iframe id="res" style="width: 100%; height:97%;" frameborder="0"></iframe>
  </div>
</div>

<script type="text/javascript">//<![CDATA[
  scorm_init(<?php echo $JS_DATA ?>);
//]]></script>
