<div class="mt10">
	<input type="text" id="iadres" class="form-control autocomplete loc" name="madres" value="<?php echo $jsl["adres"];?>" placeholder="Adres, Konum"/>
</div>
<div id="adres" class="mt10">
	<div id="map_canvas" style="height: 300px"></div>
	<div class="clear"></div>
</div>
<input type="hidden" name="mkoordinat" id="ikoordinat" value="<?php echo $jsl["koordinat"];?>">
<input type="hidden" name="koordinat_x" id="koordinat_x" value="">
<input type="hidden" name="koordinat_y" id="koordinat_y" value="">
<input type="hidden" id="location_lock" value="0">
<?php if($mapi<>""){?>
	<script type="text/javascript">
		jQuery(document).ready(function(){
			<?php echo $mapi?>Map('<?php if($jsl["adres"]==""){echo $firm["fmap"];}else{echo $jsl["koordinat"];}?>', '<?php echo cevir1($rs["t1"])?>','map_canvas');
		});
	</script>
<?php }?>