<head>
<?php
include ("../navigation/header.php");
include ("../navigation/store_sidebar.php");

	$s = $_GET['s'];
	$p = $_GET['p'];
	$_SESSION['p']=$p;
	$_SESSION['s']=$s;
	
	
	if (isset($_GET['prev_button']) )
	   {
		 $_SESSION['p']= $_SESSION['p']-1;
	   }
		 
	if (isset($_GET['next_button']) )
	  {
		$_SESSION['p']=$_SESSION['p']+1;
	  }
	
		
	
	if ($s==1) {
		
		$select=$_GET['select_group'];
		
		if ($select=='general') {$action = 'receivingWiz0.php';}
		if ($select=='timber') {$action = 'receivingTimberWiz0.php';}
		if ($select=='plates') {$action = 'receivingPlatesWiz0.php';}
		
		
		?>
<script language="javascript" type="text/javascript">
         <!--
		    window.location="<?php echo $action?>";
         -->
	</script>
<?php	
			     
	};
	
	
	?>
<!--style sheets-->
<link rel="stylesheet" type="text/css" href="../css/wizard.css" />
<!--reference to main.css removed-->
<link href="../css/wait.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../window/dhtmlwindow.css" type="text/css" />
<link rel="stylesheet" href="../window/modal.css" type="text/css" />
<link rel="stylesheet" href="../window/dhtmlwindow_2.css" type="text/css" />
<link rel="stylesheet" href="../window/modal_2.css" type="text/css" />

<!--jscript-->
<script type="text/javascript" src="../jscript/jquery.min1.4.2.js"></script>
<script language="JavaScript" src="../jscript/confirm_refresh.js"  type="text/javascript"></script>
<script language="JavaScript" src="../jscript/confirm_exit.js"  type="text/javascript"></script>
<script language="JavaScript" src="../jscript/show_hide_layers.js"  type="text/javascript"></script>
<script type="text/javascript" src="../window/modal_2.js"></script>
<script type="text/javascript" src="../window/dhtmlwindow_2.js"></script>

<script type="text/javascript" src="../window/modal.js"></script>
<script type="text/javascript" src="../window/dhtmlwindow.js"></script>


<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>


</head>

<body>
<div class="main_frame">
  <table id="tableMain" width="595">
    <!--begin of tableMain-->
    <tr>
      <td ><div class="page_head_frame">
          <label class="label_page_head">Receive store items</label>
        </div>
        <br />
        <br />
        <br />
        <br />
        <table align="left">
          <tr>
            <td><?php if ($_SESSION['p']==1) { ?>
              <div class="active_step_frame">
                <div class="active_step_head_label">&nbsp;1</div>
                <div class="active_step_label"><br />
                  <br />
                  <br />
                  Select category</div>
              </div>
              <?php } else { ?>
              <div class="de_active_step_frame">
                <div class="de_active_step_head_label">&nbsp;1</div>
                <div class="de_active_step_label"><br />
                  <br />
                  <br />
                  Select category</div>
              </div>
              <?php } ?></td>
          </tr>
        </table></td>
      <!--center of tableMain--> 
    </tr>
    <tr>
      <td><!--center of tableMain-->
        
        <?php 
	if ($_SESSION['p']==1) { include("receiveSelectWiz1.php"); }
	
	
    ?></td>
    </tr>
  </table>
</div>
<?php include ('../navigation/side_bar.php'); ?>

</body>
