Non è che va scritto cosi:
codice:
<script>
	$(function() {
		$( "#datepicker" ).datepicker({
			showButtonPanel: true,
			showOn:'button',
			dateFormat:'dd/mm/yy'
		});
		$( "#datepicker2" ).datepicker({
			showButtonPanel: true,
			showOn:'button',
			dateFormat:'dd/mm/yy'
		});
	});	
	</script>
	</head>