jQuery().ready(function(){  

    var site_cookie = "EENOR"; //change this to reflect your site
    
    //specify these in whichever units you want best to make the small the same as your existing font
    var smallfont = "80%";
    var medfont = "100%";
    var largefont = "135%";
    
    //builds the list of sizes
    $("#fontsize").append("<a id='fontsmall' title='default font-size'>A</a><a id='fontmedium' title='increase the font-size to large'>A</a><a id='fontlarge'title='increase the font-size to largest'>A</a>");
    
    var currentfont = $.cookie(site_cookie); //get the cookie value

    $("body").css("font-size",currentfont); //set the body to the font size of the cookie

    $("#fontsmall").click(function(){
	$("body").css("font-size",smallfont);
	$.cookie(site_cookie, smallfont, { expires: 10, path: '/' });                
    });
    $("#fontmedium").click(function(){
       $("body").css("font-size",medfont);             
       $.cookie(site_cookie, medfont, { expires: 10, path: '/' });
    });
    $("#fontlarge").click(function(){
       $("body").css("font-size",largefont);             
       $.cookie(site_cookie, largefont, { expires: 10, path: '/' });
    });
    

});
