<link rel="stylesheet" href="css/jquery-ui.css" />
<link rel="stylesheet" href="css/jquery.autocomplete.css" type="text/css" />
<script src="js/jquery/jquery.js" type="text/javascript"></script>
<script src="js/jquery/jquery-1.8.2.js"></script>
<script src="js/jquery/jquery-ui.js"></script>
<script type="text/javascript" src="js/jquery/autocomplete_jquery_plugin.js"></script>
<script src="js/vehicle_type_ajax.js"  type="text/javascript"></script>

<script>
/*********************************Pop-up window for add form********************************************************/

function add_vehicle_creation(url)
	{
	onmouseover6= window.open(url,'onmouseover6','height=350,width=650,scrollbars=yes,resizable=no,left=300,top=150,toolbar=no,location=no,directories=no,status=no,menubar=no');
	}

</script>

<?php
error_reporting(0);
$edit_id=$_GET['edit_id'];
include ("include/db.php");
if($_GET['edit_id']!='')
{
$measurement_table_display_style='style="display:inline;"';
} 
else
{
$measurement_table_display_styles='style="display:none;"';
}
?>

<style type="text/css">

.style2 {color: #FF0000}
.style7{font-family: Tahoma, Arial, Helvetica, sans-serif;font-size: 13px;}
.style8{ text-align:center;font-family:Tahoma, Arial, Helvetica, sans-serif; font-size: 15px; padding:40px; font-weight: 500;color:#32328e;letter-spacing: 1px;}
.style9{ text-align:left;font-family:Tahoma, Arial, Helvetica, sans-serif; font-size: 15px; padding:0px; font-weight: 600;color:#333;letter-spacing: 1px;padding:10px; background-color:#f7f7f7;}

</style>

<div class="container">
<div class="row-fluid">
<div class="span12">
<div class="table-responsive">

<form name="measurement_form"  id="measurement_form" method="post" action=""  enctype="multipart/form-data">

<table width="100%" border="0" align="center" style="border-top:solid 1px; color:#ddd;">

   		<tr align="left"><div class="style9">Vehicle Type &nbsp;&nbsp;
    
                     <td width="12%" align="left"><img src="img/plus.png" name="add_button" id="add_button" title="ADD" onclick="javascript:add_vehicle_creation('master_entry/vehicle_type/vehicle_entry.php?edit_id=<?php echo $_GET['edit_id'];?>')" align="top" width="30" height="30" border="0" tabindex="4" style="cursor:pointer; margin-left:15%; margin-top:-34px;" class="button green-button" >
</td></div><tr></table>

<table width="100%" cellpadding="0" cellspacing="0"><tr><td width="15%" align="center" class="style15"><table width="100%" cellpadding="0" cellspacing="0"><tr><td width="15%" class="style10"><table width="100%" cellpadding="0" cellspacing="0">
  
  
  <tr>
    <td colspan="10" align="center"><div id="vehicle_list_div">
      
        <?php include("vehicle_entry_list.php"); ?></div>
     
    </td>
  </tr>
</table></td>
    </tr>
</table></td>
</tr>
</table>
</form>

</div>
</div>
</div>
</div>