/*
Ext.onReady(function(){

		if (Ext.get('div_cartsummary')!=null){
			Ext.Updater.defaults.showLoadIndicator = false;
							
			Ext.get('div_cartsummary').load({
			        url: "Shop_cartsummary.do",
			        scripts: true,
			        nocache: true
			});
		}

});
*/
function showWinCartEdit(){
	var _w = new Ext.Window({
	 	id: 'winCart',
        title: general_cart,
        closable:true,
        width: 640,
        height: 480,
        modal: true,
        layout: 'fit',
        autoLoad: { url: 'Shop_carteditwrapper.do', scripts: true, nocache: true },
		tbar:
		[
		    {
		    	text: buttons_continueshopping,
		    	cls:"x-btn-text-icon",
		    	icon: 'img/arrow_undo.png',
			    handler: function(){
			    	Ext.Updater.defaults.showLoadIndicator = false;
			
					Ext.get('div_cartsummary').load({
					        url: "Shop_cartsummary.do",
					        scripts: true,
					        nocache: true
					});
			    	Ext.getCmp('winCart').close();
			    }
		    },
		     {
		    	text: buttons_gocheckout,
		    	cls:"x-btn-text-icon",
		    	icon: 'img/cart/cart_go.png',
			    handler: function(){
			    	location.href='Shop_delivery.do';
			    }
		    }
		]
        });
        _w.show();
}
