<?php extract($_POST);
$PageSecurity = 1;
$tabindex=0;
include('includes/Class_AccountBook.php');
include('includes/AccountGroupMaster_Class.php');
$title = _('Account Book');
$modid=$_REQUEST['modid'];
$frmid=$_REQUEST['frmid'];
$rurl="&modid=".$modid."&frmid=".$frmid;
 $targetpage="index.php?route=Account/AnnexureReports".$rurl;

include('includes/SQL_CommonFunctions.inc');
 
?>
 <style type="text/css">
 
#tabs {
	font-size: 90%;
	margin: 10px 0;
}
#tabs ul {
	float: left;
	 
	width: auto;
	padding-top: 2px;
}
#tabs li {
	margin-left: 4px;
	list-style: none;
}
  
#tabs li, #tabs li a {
	float: left;
}
#tabs ul li.active {
	border-top:2px #FFFF66 solid;
	background: #FFFFFF;
}
#tabs ul li.active a {
	color: #333333;
}
 #tabs ul li a {
	text-decoration: none;
	padding: 8px;
	color: #000;
	font-weight: bold;
} 
-->
</style>
<form action="" method="post">
 
<h2><?php echo  $page_title?></h2>
<div >
  <div id="tabs">
   <ul style="background-color:#999999; color:#FFFFFF; font-family:'Times New Roman', Times, serif; font-size:8px; font-weight:bold" >
   <li><a href="<?php  echo $targetpage;?>&tabid=0&page=AnnexureSale">Sale Annexure Reports </a>|&nbsp;</li>
     <li><a href="<?php  echo $targetpage;?>&tabid=1&page=AnnexurePurchase">Purchase Annexure Reports  </a></li>
    
    </ul>
   	<br />
   <table width="100%" border="0">
  <tr>
    <td>

   <?php $Report_Title=array('Sale Annexure Reports ','Purchase Annexure Reports');
   
   for($j=0;$j<6;$j++)
   		{
   		if($j==$_REQUEST['tabid'])
		{
	?>
	   	<div align="center">	<h3><?php echo $Report_Title[$j];?></h3>		</div>
		</br>
		 <?php
								if($_REQUEST['route']!=''&& $_REQUEST['page']!='')
								{
 								   include($_REQUEST['page'].".php");
 								} ?>
		  
	   <?php 
	      }
	   } ?>
	   
	   
	   &nbsp;</td>
  </tr>
</table>
</div>
 </div>