<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
	<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
	<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>	
	<script src="/js/javascript.js"></script>
<body>
	<div class="container_12">
			<div id="nav">
				<?php 
showMenu();
?>
				<div style="float:right;margin-top:12px; margin-right:15px"><label for="quickSummary">Quick Summary By UPC:</label><input type="number" id="quickSummary" name="quickSummary"><input type="button" value="Go" onClick="window.location.assign('/upcsummary/'+$('#quickSummary').val())"></div>
			</div>
		<div id="content">
			<?php 
$wine = new Wine($dbh);
$json = $wine->getInventoryRecord($_GET['id']);
$arr = json_decode($json, true);
?>
			<?php 
/*<div id="edit" style="display:none">
		<h2>Edit: <span id="editUPC"><?php echo $_GET['id'];?></span></h2>
		<form id="form" name="form">
		<input type="hidden" id="function" name="function" value="updateWine">
		<input type="hidden" id="wine_id" name="wine_id" value="<? echo $wine->getID();?>">
		<label for="name">UPC/EAN:</label><input type="text" style="width:400px" id="upc" name="upc" value="<?echo $wine->getUPC();?>"><br>
		<label for="name">Type:</label><select id="type" name="type">
		<option value="Chardonnay" <? echo (strtoupper($wine->getType()) == 'CHARDONNAY'?'selected':''); ?>>Chardonnay</option>
		<option value="Fume/Sauvignon Blanc" <? echo (strtoupper($wine->getType()) == 'FUME/SAUVIGNON BLANC'?'selected':''); ?>>Fume/Sauvignon Blanc</option>
		<option value="Pinot Grigio" <? echo (strtoupper($wine->getType()) == 'PINOT GRIGIO'?'selected':''); ?>>Pinot Grigio</option>
		<option value="White Zinfandel/Rose" <? echo (strtoupper($wine->getType()) == 'WHITE ZINFANDEL/ROSE'?'selected':''); ?>>White Zinfandel/Rose</option>
		<option value="Other Whites" <? echo (strtoupper($wine->getType()) == 'OTHER WHITES'?'selected':''); ?>>Other Whites</option>