$(document).ready(function(){
$("#tab").tabs();
	$("#tab2").tabs({select: function(event, ui) {
        //console.log(ui.index);
		var isValid = true;
		if(ui.index == '1' || ui.index == '3' ){
			var href = $("#tabas> li:eq("+ui.index+") > a").attr("alt");
			//window.location = href;
			window.open(href,'_blank'); 
			var isValid = false; 
		}
        return isValid;
    }});	
	var d = new Date();
		$( "#fbrp__72, #fbrp__73, #fbrp__83, #fbrp__86").datepicker({dateFormat:'dd/mm/yy', minDate: d.getDate()+"/"+(d.getMonth()+1)+"/"+d.getFullYear()})
		//$( "#datepicker" ).datepicker( );
	
});
	
