<!DOCTYPE html>
<?php 
include_once 'EmployeeScreenGenerator.php';
$genaretor = new EmployeeScreenGenerator($_POST['ID']);
?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><?php 
$genaretor->getScreenTitle();
?>
</title>
        <script type="text/javascript" src="../jquery-1.7.2.min.js"></script>
        <script type="text/javascript" src ="../bootstrap/js/bootstrap.min.js"></script>
        <script type="text/javascript" src ="../bootstrap/js/bootstrap-tab.js"></script>
        <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">

        <script type="text/javascript">
            $(document).ready(function() {
               $('#tab2BTN').click(function(){
                    $('<form />')
                    .hide()
                    .attr({ method : "post" })
                    .attr({ action : "PersonalInfo.php"})
                    .attr({target: "personalInfo"})
                    .append($('<input />')
                    .attr("type","hidden")
                    .attr({ "name" : "queriedUserID" })
                    .val(<?php 
echo $genaretor->getUser()->getID();
?>