function openFull(p,n) {
	var r 	= null;
	r = window.open(p,n,'width='+screen.width+',height='+screen.height+',top='+0+',left='+0+','+'scrollbars=no,toolbar=no,location=no,status=no,menubar=no,resizable=yes,dependent=no');
	if(r!=null && window.focus) r.window.focus();
};


var min=8;
var max=18;
function increaseFontSize() {
   var p = document.getElementsByTagName('div');
//var p = getElementsByClassName('texte');
   for(i=0;i<p.length;i++) {

      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function decreaseFontSize() {
   var p = document.getElementsByTagName('div');
//var p = getElementsByClassName('texte');
	
   for(i=0;i<p.length;i++) {
      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 getElementsByClassName(classname, node)  
{    
if(!node) node = document.getElementsByTagName("body")[0];    
var a = [];    
var re = new RegExp('\\b' + classname + '\\b');    
var els = node.getElementsByTagName("*");    
for(var i=0,j=els.length; i<j; i++)        
if(re.test(els[i].className))a.push(els[i]);   
 return a;}
