loader.jQuery({
  version  : '1.4.2',
  callback : function ($) {

    $.plugin('snippets', function () {
      $.snippets('', {
        after : function (data) {
          var total = data['snippets']['.cartTotalItems'] || 0;
          var cost  = data['snippets']['.cartTotalCost'] || '0.00';
          var currency = data['snippets']['.cartCurrency'] || '$';
          $('.myCartLink').attr('title', total + ' Items @ ' + currency + cost);
        }
      });
    });

      // Validate Form
      $.plugin('validate', function() {
        $(function(){
          $("#joinNewsletter").validate();
        });
      });


//    $.plugin('superfish', function() {
//      $(function(){
//        $('ul.sf-menu').superfish({onInit:function(){$(this).show();}, autoArrows: false});
//      });
//    });

//    $.plugin('superfish', function() {
//      $(function(){
//        $('ul.sf-menu-side').superfish({onInit:function(){$(this).show();}, autoArrows: false});
//      });
//    });

  }
});



