<!-- Javascript functions

var originalSize = 67;
var stepSize=10;

//alert (readCookie('mycount') );

var stepMax=6;
var stepMin=-3;

window.onload = function(){
	 if (readCookie('mycount') == null) {
	var stepCounter=0;
	 }else{
	var stepCounter=readCookie('mycount'); 
	newSize = originalSize + stepSize * readCookie('mycount');
	document.body.style.fontSize=newSize + '%';
	}
	//alert("vvvvv"+stepCounter);
}



function increaseSize(){
	 
	 if (readCookie('mycount') == null) {
	var stepCounter=0;
	 }else{
	var stepCounter=readCookie('mycount'); 
	}
		 
		 
	if(stepCounter<stepMax){
		
		stepCounter++;
		newSize = originalSize + stepSize * stepCounter;
		document.body.style.fontSize=newSize + '%';
		createCookie('mycount',stepCounter,7) 
	}
}

function decreaseSize(){
	 if (readCookie('mycount') == null) {
	var stepCounter=0;
	 }else{
	var stepCounter=readCookie('mycount'); 
		 }
	if(stepCounter>stepMin){
		stepCounter--;
		newSize = originalSize + (stepSize * stepCounter);
		document.body.style.fontSize=newSize + '%';
		createCookie('mycount',stepCounter,7) 
	}
}



function createCookie(name,value,days)
{
if (days)
{
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name)
{
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++)
{
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}

function eraseCookie(name)
{
createCookie(name,"",-1);
}

// JavaScript Document
//Popup function
// Link example:
//<a href="pageLink.asp" onclick="popUp(this.href,'console',600,600,'windowName',150,100);return false;" target="_blank">This is my link</a>
var newWin = null;
function popUp(strURL, strType, strHeight, strWidth, strName, leftValue, topValue) {
if (newWin != null && !newWin.closed)
	newWin.close();  
	var strOptions="";
	if (strType=="console")    
	strOptions="resizable,scrollbars,left="+leftValue+",top="+topValue+",height="+
		strHeight+",width="+strWidth;  
	if (strType=="consoleScroll")    
	strOptions="resizable,scrollbars,left="+leftValue+",top="+topValue+",height="+
		strHeight+",width="+strWidth; 
	if (strType=="fixed")
		strOptions="status,left="+leftValue+",top="+topValue+",height="+      
			strHeight+",width="+strWidth;  
	if (strType=="elastic")
		strOptions="toolbar,menubar,scrollbars,"+
			"resizable,left="+leftValue+",top="+topValue+",location,height="+      
			strHeight+",width="+strWidth;
	newWin = window.open(strURL, strName, strOptions);  
	newWin.focus();
}

function voirConditions(URL, hauteur, largeur) {
gauche=(screen.width/2)-(largeur/2);
dessus=(screen.height/2)-(hauteur/2);
proprietesFenetre = "top=" + dessus + ",left=" + gauche + ", width=" + largeur + ",height=" + hauteur + ", scrollbars=yes";
ouvrirFenetre=window.open(URL, "ouvrirFenetre", proprietesFenetre);
}

-->