<?php $PageSecurity = 2;
include('includes/DefineSuppTransClass.php');
include('includes/DefinePOClass.php');
include('includes/SQL_CommonFunctions.inc');
include('includes/session.inc');
include('includes/function_lib.php');
include('includes/fun-HRClass.php');

 $department=$s->getField('empmaster','id',$_GET['department'],'department');
    $store_sql = "SELECT * FROM deptmaster where id = '".$department."'";
   $store_result = DB_query($store_sql,$db);
			$store_row = DB_fetch_array($store_result);
	?>
	<input type="text" name="dept12" style="width:100%" id="dept12"  value="<?php echo $store_row['deptname']; ?>" readonly >	
	<input type="hidden" name="dept1" style="width:100%" id="dept1"  value="<?php echo $department; ?>" readonly >
		
			
			
