function setActiveStyleSheet(styleName) {
    var found = false;
    $('link[@rel*=style][title]').each(function(i)
    {
        if (this.getAttribute('title') == styleName) found = true;
    });

    if (found == true) {
        $('link[@rel*=style][title]').each(function(i)
        {
            this.disabled = true;
            if (this.getAttribute('title') == styleName) this.disabled = false;
        });
        $.cookie('st', styleName, {
            expires: 365,
            path: '/'
        });
    }
}