jQuery().ready(function(){  

    var site_cookie = "SS-STAFF-TRADE"; //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 = "75%";
    var medfont = "100%";
    var largefont = "125%";
    
    //builds the list of sizes
    $("#fontsize").append("<a id='fontsmall' tabindex='5'>A</a><a id='fontmedium' tabindex='6'>A</a><a id='fontlarge' tabindex='7'>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);
    $("content").css("font-size", smallfont);
	$.cookie(site_cookie, smallfont, { expires: 10, path: '/' });                
    });
    $("#fontmedium").click(function(){
    $("body").css("font-size", medfont);
    $("content").css("font-size", medfont);            
       $.cookie(site_cookie, medfont, { expires: 10, path: '/' });
    });
    $("#fontlarge").click(function(){
    $("body").css("font-size", largefont);
    $("content").css("font-size", largefont); 
       $.cookie(site_cookie, largefont, { expires: 10, path: '/' });
    });
    

});
