var min=9;
var max=15;
function incrementer()  {
	var tableau = new Array("a", "label","li","td", "p","h1","h2","h4","h3");

for(var j=0; j < tableau.length; j++)
{

   var p = document.getElementsByTagName(tableau[j]);
   for(i=0;i<p.length;i++) {
	
 if(window.ActiveXObject) {	
	var f=p[i].getAttribute('className');  }
	
else if(window.XMLHttpRequest) {
	  var f=p[i].getAttribute('class');}
	  
     if (f!='lien_photo') {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {       var s = 13;      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"}
   }
}
   
}
function decrementer() {
var tableau = new Array("a", "label","li","td", "p","h1","h2","h4","h3");
for(var j=0; j < tableau.length; j++)
{
   var p = document.getElementsByTagName(tableau[j]);
   for(i=0;i<p.length;i++) {
	 if(window.ActiveXObject) {	
	var f=p[i].getAttribute('className');  }
	
else if(window.XMLHttpRequest) {
	  var f=p[i].getAttribute('class');}
     if (f!='lien_photo') {
	 if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {         var s = 12;      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px" }
   } 
} 
}
function defaut()
{
var tableau = new Array("a", "label","li","td", "p","h1","h2");
for(var j=0; j < tableau.length; j++)
{
   var p = document.getElementsByTagName(tableau[j]);
   for(i=0;i<p.length;i++) {
	   if(window.ActiveXObject) {	
	var f=p[i].getAttribute('className');  }
	
else if(window.XMLHttpRequest) {
	  var f=p[i].getAttribute('class');}
     if (f!='lien_photo') {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } 
     var d=(s-12);
	 if(s > 13) {
         s = s-d;
      } else {var f=12-s; s=s+f;}
      p[i].style.fontSize = s+"px"}
   } 
} }

