
function calculate_search_count(){
//	alert('f');
	
    var maker_id=0;
    var city_id=0;
    var item_type_id=0;
    var lizing=0;
    var country_id=0;
    var country_id=0;
    var location_id=0;
	
	if (document.getElementById('s_maker_id'))
	  maker_id=document.getElementById('s_maker_id').value;
	  
	if (document.getElementById('s_city_id'))  
	 city_id=document.getElementById('s_city_id').value;
	
	if (document.getElementById('s_item_type_id'))  
	 item_type_id=document.getElementById('s_item_type_id').value; 
	 
	if (document.getElementById('s_lizing'))  
	 lizing=document.getElementById('s_lizing').value; 
	
	if (document.getElementById('s_country_id'))  
	 country_id=document.getElementById('s_country_id').value; 
	 
	if (document.getElementById('s_location_id'))  
	 location_id=document.getElementById('s_location_id').value; 
	 
	var price_from=document.getElementById('price_from').value; 
	var price_to=document.getElementById('price_to').value; 
	var year_from=document.getElementById('year_from').value; 
	var year_to=document.getElementById('year_to').value; 
	 
    LoadFromURL ('loader_search_count.php?maker_id='+maker_id+
    									'&city_id='+city_id+
    									'&item_type_id='+item_type_id+
    									'&lizing='+lizing+
    									'&country_id='+country_id+
    									'&location_id='+location_id+
    									'&price_from='+price_from+
    									'&price_to='+price_to+
    									'&year_from='+year_from+
    									'&year_to='+year_to);
	
    
    
	
	
//	
}

/* 

$(".basket_input").change(function (e)  
	{ 
		var value=parseInt(this.value);
		if (value<1 || !parseInt(this.value))  { $('#'+this.id).val('1');}
		//alert(this.id);
		//this.value=1;
		
	});	

	
$(".basket_input").keyup(function (e)  
	{ 
		//var id=this.id.split('i_cnt').join('');
		var value=parseInt(this.value);
		//parseInt($('#'+this.id).val());	 
		if (parseInt(value)) 
		  	 update_basket(this.id,value);
		else
		 	update_basket(this.id,1);
		 
		
	});

});

*/