//funzione che si occupa dell'inizializzazione dei pulsanti

function IniPulsanti(valore){
/*
	$(".btn").each(function() {
		var percorso = $(this).attr("src").split(".");
		$(this).hover(	
			function () { $(this).attr({src: "." + percorso[1] + "Up." + percorso[2]});}, 
            function () { $(this).attr({src: "." + percorso[1] + "." + percorso[2]}); }
        );
	});
*/
}


//Inizializzo le richieste dei link in ajax
function iniReq(classeLink, caricatore){
	
/*
$('.'+classeLink).click( function(){

	var toLoad = $(this).attr('href');
	$('#wrapper').html('');
	$('#'+caricatore).fadeOut('slow',loadContent);

	function loadContent() {
		$('#wrapper').html('<span id="load">LOADING...<span>');
		$('#'+caricatore).html('');
		$('#'+caricatore).load(toLoad,'',showNewContent);
	}
	function showNewContent() {
		$('#'+caricatore).fadeIn('slow',hideLoader);
		//iniReq2();
	}
	function hideLoader() {
		$('#load').fadeOut('normal');
	}

	return false;
	
});
*/

}


function goback() { 
	history.go(-1);
}

function hideImg(){

	$('img[src^="../images/"]').hide();

}
