<?php
/**
 * help_view - Help menu panel. Not a typical view and a lot of code
 *
 * @author $Author: dtong $
 * @version $Id: help_view.php,v 1.9 2011/04/01 13:39:57 dtong Exp $
 * @copyright Copyright (c) 2009, Tiller Software Co., Ltd.
*/
if ( strtolower($this->agent->browser()) == 'firefox' )
	$isfirefox = TRUE;
else
	$isfirefox = FALSE;
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<META HTTP-EQUIV="Pragma" CONTENT="NO-CACHE" />
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" />
<title>Help</title>
<?php
	osa_appcss_include();
	$this->load->view('template/jscript_globalvars_view');
	$this->load->view('template/dhtmlxwindows_js_view');
?>
<script type="text/javascript" src= "<?php echo osa_include_path()?>js/sys.js"></script>
<script type="text/javascript" src= "<?php echo osa_include_path()?>js/app.js"></script>
<script type="text/javascript">
   var pdfWaitHtml= '<?php echo '<div style="margin-top:25%"></div><table><tr><td><img src="' .
   					       osa_imagepath() . 'wait30.gif' . '" />' .
   					       '</td></tr></table>'; ?>';
</script>
</head>
<body>
<center style="margin:0px">
<table width="100%" height="100%" cellspacing="0" cellpadding="0" style="margin:0px;padding:0px;">
<tr>
   <td colspan="2" height="2" style="border-bottom:0px;">
      <div id="header"></div>
   </td>
</tr>
<tr>
  <td width="20%" height="100%" valign="top"  align="left" nowrap="nowrap"
  		class="homeline" style="border-right:0px;margin:0px;padding:0px;max-width:350px">
  	  <?php if ($isfirefox) {
  	  	echo '<div id="menu" style="height:auto;overflow:auto;">';
  	  } else { ?>
       <div id="menu" style="height:100%;max-height:100%;overflow:auto;width:100%">
      <?php } ?>
       <?php  $this->load->view('template/menuhelp_view'); ?>
     </div>
   </td>
   <td valign="top" align="left" class="homeline">
		<div id="help_content" align="center" class="centered" style="width: 100%;  height:99%; overflow: auto">
			<?php  $this->load->view('template/content_view'); ?>
			<!-- <iframe name="ifrm" id="ifrm" src="" style="width: 99%; height:99%;" scrolling="no" frameborder="0">Sorry, your browser doesn't support iframes.</iframe>
			 -->
		</div>
   </td>
</tr>
<tr>
   <td colspan="2">
      <div id="footer"></div>
   </td>
</tr>
</table>
</center>
</body>
</html>
