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


	
	$s = $_GET['s'];
	$p = $_GET['p'];
	$_SESSION['p']=$p;
	$_SESSION['s']=$s;
	
		
	if ($s==1) {
		$_SESSION['category'] = $_GET['category_group'];
		    
	    If ($_SESSION['category']=="customers") { ?>
			<script language="javascript" type="text/javascript">
          	   window.location="customerList.php";
            </script>
		<?php
		}
		If ($_SESSION['category']=="suppliers") { ?>
			<script language="javascript" type="text/javascript">
          	   window.location="supplierWiz0.php";
            </script>
		<?php
		}
		
		
		$_SESSION['category'] = "";
		
				
	};
	
	
	
	
	
	?>
<!--reference to main.css removed-->

<script type="text/javascript" src="../jscript/jquery.min.js"></script>   
<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>
<link rel="stylesheet" type="text/css" href="../css/wizard.css" />
<script language="javascript" type="text/javascript" >
<!--
function cancel_confirmation(1, '../store/store_main.php'); {
var okToRefresh = confirm("Do you really want to cancel this entry?");
var url='store_main.php'
if (okToRefresh)
	{
			window.location=url;
	}
}
// -->
</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">Create Accounts</label></div>
      <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 account</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 account</div>
      <?php } ?>
      </td>
      </tr>
      </table>
      <br /><br>
</td>
    <!--center of tableMain-->
  </tr>
  <tr>
    <td><!--center of tableMain-->
      <?php 
	if ($_SESSION['p']==1) { include("accListWiz1.php"); }
	    ?></td>
  </tr>
</table>
</div>

<?php include ('../navigation/side_bar.php'); ?>
</body>
