//when document is loaded...$(document).ready(function(){ // expand/collapse management $('#block_cart_collapse').click(function(){ ajaxCart.collapse(); }); $('#block_cart_expand').click(function(){ ajaxCart.expand(); }); ajaxCart.overrideButtonsInThePage(); ajaxCart.refresh();});