/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



$(function(){
    var footer = $("footer");
    var footer_ul = footer.find("ul#nav");
    
    var foot_width = 0;
    footer_ul.find("li.category").each(function(){
        foot_width += $(this).width();
        foot_width += 10;
    });
    
    footer_ul.find("li.border").each(function(){
        foot_width += $(this).width();
        foot_width += 16;
    });
    
    
    footer_ul.width(foot_width);
});
