jQuery().ready(function(){  

    var site_cookie = "CU-CC"; //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 = "120%";
    var largefont = "160%";
    
    //builds the list of sizes
    $("#fontsize").append("<a id='fontsmall'>a</a><a id='fontmedium'>a</a><a id='fontlarge'>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: '/' });
    });
    

});
