New to jQuery: How to set cookies for stylesheetswitcher?

New to jQuery: How to set cookies for stylesheetswitcher?

Hello, I'm new here and I'm learning jQuery :)

Code of the switcher:
    1. google.load("jquery", "1.3.1");
    2. google.setOnLoadCallback(function()
    3. {

    4.     // Color changer
    5.     $(".colorblack").click(function(){
    6.         $("link").attr("href", "app/tpl/skins/DarkFlat/style/black.css");
    7.         return false;
    8.     });
    9.     
    10.     $(".colorblue").click(function(){
    11.         $("link").attr("href", "app/tpl/skins/DarkFlat/style/blue.css");
    12.         return false;
    13.     });
    14.     
    15.     $(".colorgreen").click(function(){
    16.         $("link").attr("href", "app/tpl/skins/DarkFlat/style/green.css");
    17.         return false;
    18.     });
    19.     
    20.     $(".colororange").click(function(){
    21.         $("link").attr("href", "app/tpl/skins/DarkFlat/style/orange.css");
    22.         return false;
    23.     });

    24. });
                                                      And every time a user chooses another "theme" it should safe it.