function montre(id) {
  if (document.getElementById) {
	 if (document.getElementById(id) != null ) {
		  document.getElementById(id).style.display="block";
		} else if (document.all[id]) {
		  document.all[id].style.display="block !important";
		} else if (document.layers) {
		  document.layers[id].display="block !important";
		}
  }
} 

function cache(id) {
if (document.getElementById) {
	 if (document.getElementById(id) != null ) {
			document.getElementById(id).style.display="none";
		} else if (document.all[id]) {
			document.all[id].style.display="none !important";
		} else if (document.layers) {
			document.layers[id].display="none !important";
		}
	}
}	

var t;			
t = 1;

function changerTaille(modif) {
		if ( modif == "retour" ) { t = 1 ; }
		else { t = t + modif ; }
		$(".txt").css("font-size",t + "em");
		$(".spip").css("font-size",t + "em");
		$(".chapo").css("font-size",t + "em");
} 	

/* Plugin vidéo dans article */

$(document).ready(function () { 
							
	$(".zapping").click( function() {
			url = "spip.php?page=inc-video_cnt&amp;id_document=" + this.id ;
			video = "#video" + this.id ;
			lecteur = "#lecteur" + this.id ;
			$( '.grocnt .video' ).hide();
			$( video ).load( url );
			$( lecteur ).css({ display: "block !important" });
	});
	
});

/* Pour le menu */

function decal (lesmemes, hauteur) {
	pixel =  hauteur + "px" ; 		
	$( lesmemes).css("margin-bottom",  pixel );		
}

function recal (lesmemes) {
	$( lesmemes).css("margin-bottom",  "0px");		
}

