$(document).ready(function() {
	$("#content-tab_ar > div").hide();
	$("#content-tab_ar > div:eq(0)").show();
	$("#tabs_arearestrita > a:eq(0)").css("background", "url(../../images/button_ar_selected.png) top left no-repeat");
});

function opentab_ar(num) {
	$("#content-tab_ar > div").hide();
	$("#content-tab_ar > div:eq(" + (num-1) + ")").fadeIn();
	$("#tabs_arearestrita > a").css("background", "url(../../images/button_ar.png) top left no-repeat");
	$("#tabs_arearestrita > a:eq(" + (num-1) + ")").css("background", "url(../../images/button_ar_selected.png) top left no-repeat");	
}

