<!-- AJAX -->

function troca (x) {
   jQuery.ajax({
      type: "POST",
      url: "?page=coberturas",
      success: function() {
         jQuery('#coberturas .galeria').load(x);
      }
   });
}

function coberturas (x) {
   jQuery.ajax({
      type: "POST",
      url: "?page=coberturas",
      success: function() {
         jQuery('#coberturas .conteudo').load(x);
      }
   });
}

function proximas (x, y) {
   jQuery.ajax({
      type: "POST",
      url: "?page=proximas",
      success: function() {
         jQuery('#proximas .conteudo').load(x+'.php?id='+y);
      }
   });
}


<!-- HOVER -->

var Lst;

function CngClass(x){
	$(".hover").removeClass("hover");
	$(x).addClass("hover");
}

function CngClass2(x){
	$(".hover2").removeClass("hover2");
	$(x).addClass("hover2");
}

function CngClass3(x){
	$(".hover3").removeClass("hover3");
	$(x).addClass("hover3");
}

function CngClass4(x){
	$(".hover4").removeClass("hover4");
	$(x).addClass("hover4");
}

<!-- NEWSLETTER -->


<!-- TROCAS -->

function troca1(Z) {
	$('#img-main1').attr('src', $(Z).attr('href')) 
}

function troca2(Z) {
	$('#img-main2').attr('src', $(Z).attr('href')) 
}

function troca3(Z) {
	$('#img-main3').attr('src', $(Z).attr('href')) 
}

function troca4(Z) {
	$('#img-main4').attr('src', $(Z).attr('href')) 
}

function troca5(Z) {
	$('#img-main5').attr('src', $(Z).attr('href')) 
}

function troca6(Z) {
	$('#img-main6').attr('src', $(Z).attr('href')) 
}

function troca7(Z) {
	$('#img-main7').attr('src', $(Z).attr('href')) 
}

function troca8(Z) {
	$('#img-main8').attr('src', $(Z).attr('href')) 
}

function troca9(Z) {
	$('#img-main9').attr('src', $(Z).attr('href')) 
}
