function ChangeBasket( type, id )
{
   jQuery.post(
     "/basket.php",
     {
       "id": id,
       "type": type
     },
     onAjaxSuccess
   );
   function onAjaxSuccess(data)
   {
       jQuery("#test").empty();
       jQuery("#test").append(data);


   }
}


function ChangePrice( cost )
{
     str = jQuery("#a_basket_count").text();
     price =cost + parseInt( str );
     jQuery("#a_basket_count").empty();
     jQuery("#a_basket_count").append(price);
}
