// JavaScript Document

function setFontSizeL()
			{
			var dsi;
		    dsi = readCookie();
			if (dsi < 18) dsi++ ;
			createCookie(dsi);
			document.getElementById("content").style.fontSize=dsi+"px";
			} ;
			
function setFontSizeS()
			{
			var dsi;
			dsi = readCookie();
			if (dsi > 11) dsi-- ;
			createCookie(dsi);
			document.getElementById("content").style.fontSize=dsi+"px";
			} ;
			
function InitFontSize()
			{
			var dsi;
			dsi = readCookie();
			if ((dsi > 0) && (dsi < 18)) 
				document.getElementById("content").style.fontSize=dsi+"px";
			else
				{
			    createCookie (16) ;
			   	document.getElementById("content").style.fontSize=dsi+"px";
				}
			} ;		
		
function createCookie(value) { 
    document.cookie = "studio_visuel" + "=" + escape(value) ;
	}

function readCookie() {
  deb = document.cookie.indexOf("studio_visuel" + "=") ;
  if (deb >= 0) {
            deb += "studio_visuel".length + 1 ;
            fin = document.cookie.indexOf(";",deb) ;
            if (fin < 0) fin = document.cookie.length
			     {
                 return unescape(document.cookie.substring(deb,fin)) ;
				 }
            } ;
        return ""
  };
