jQuery(function($){
  // round the topnavigation
  //jQuery('ul.topnav').round_edges(10, 10, 10, 10).height('14px');
  
  // round the post meta box below every posts
  jQuery('div.post-meta.bottom').round_edges(10, 10, 10, 10);
  
  // Grid Layout for bottom widget bar
  jQuery('div.sidebar.bottom_widgetbar').masonry({ singleMode: true });
  
  
  // cufon font replacement
  if (!jQuery.browser.msie){
    Cufon.replace('div.header h1 a',{
      fontSize: '41px',
      letterSpacing: '-11px',
      textShadow: '2px 2px #ddd'
    });
    
    jQuery('div.container.header div.header div.description')
      .css('margin-top', '0')
      .css('margin-bottom', '0')
  }
  
  // Scrollable for start page
  jQuery('div.scrollable.posts.rootelement')
  .scrollable({
    globalNav: true,
    loop: true,
    size: 1
  })
  .autoscroll({
    interval: 7000
  })
  .circular();
  
  // round edges for the scrollable posts
  jQuery('div.scrollable.posts.frame').round_edges(10, 10, 10, 10);

});
