// JavaScript Document
$(document).ready(function() {	
	var a = new Date();
	var dates = $('#FechaNacimiento').datepicker({
		dateFormat: 'dd-mm-yy',
		firstDay: 1,
		changeMonth: true,
		changeYear: true,
		yearRange: (parseInt(a.getFullYear())-99) + ":" + (parseInt(a.getFullYear())-18),
		defaultDate: '-10Y'
	});	
	
	if( $("#map").length > 0 )
		ini();
});

