
<!-----------------------------------------------Advance Search Form Modal --------------------------------------------------->
<div id="myModal1" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
<h3 id="myModalLabel">Advance Search Form</h3>
</div>

<div class="modal-body">
    <form class="form-horizontal" method="post" action="advance_search1.php">
	
			  <div class="control-group">
			  <label class="control-label" for="inputEmail"> Device Name</label>
			  <div class="controls">
			  <input type="text" name="dev_name" id="inputEmail" placeholder="Device Name" >
			  </div>
			  </div>
				
			  <div class="control-group">
			  <label class="control-label" for="inputPassword"> Device Serial Number</label>
			  <div class="controls">
			  <input type="text" name="dev_serial" id="inputPassword" placeholder="Device Serial Number">
			  </div>
			  </div>		
						
                <div class="control-group">
                <div class="controls">
                <button type="submit" id="search1" data-placement="left" title="Click to Search" class="btn btn-primary"><i class="icon-search"></i> Search</button>
				 <script type="text/javascript">
		        $(document).ready(function(){
		        $('#search1').tooltip('show');
		        $('#search1').tooltip('hide');
		        });
		        </script> 
                </div>
                </div>
				
    </form>
</div>

<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true"><i class="icon-remove icon-large"></i> Close</button>
</div>
</div>