jq(document).ready(function(){
		
 	 jq("#spanCount").DMenu("#content");

});
function GetLast2Prod()
	{
		
	   
		new Ajax('ajax-header_cart.html',{method:'post','data':'',onComplete:function(msg){
	    		 jq("#content").html("loading ......");
	    		 jq('#content').html(msg);
				 $ES('.quiet','form-cart').each(function(item){
						item.addEvent('click',function(e){
							e=new Event(e).stop();
							var ipt=e.target;
							for(obj=ipt.getParent(); !obj.getAttribute('urlremove'); obj=obj.getParent()){;}
							var url = obj.getAttribute('urlremove');
							obj.remove();
						
							new Ajax(url,{method:'post',data:$('form-cart'),onComplete:function(msg){
																									jq('#cartItems').html('<div align="center">loading ......</div');
								GetLast2Prod();
																								}}).request();
							
						});
					});
				 
	    	}
	    }).request();
	}

