 function gettourscount(){
								      jQuery.ajax({
											type:"POST",
											url:"/ajax/search_tours.html",
											beforeSend: function() {
												 },
											success:function(html){
                        jQuery("#SearchForm_result").html(html);
											},
											"data":jQuery("#tours_search_form").serialize(),"cache":false
											});
								    }

								    function getcities(country, i){
								      jQuery.ajax({
											type:"POST",
											url:"/ajax/dynamiccities.html",
											beforeSend: function() {
												 $("#SearchForm_city_"+i).attr("disabled", "true").selectmenu("disable");
												 gettourscount();
												 },
											success:function(html){
												jQuery("#SearchForm_city_"+i).html(html).selectmenu("destroy").removeAttr("disabled").selectmenu({maxHeight: 150}).selectmenu("enable");
											},
											"data":"country_id="+country,"cache":false
											});
										for (b=i+1;b<3;b++){
											$("#SearchForm_country_"+b).selectmenu("destroy").val(0).attr("disabled", "true").selectmenu({maxHeight: 150}).selectmenu("disable");
											$("#SearchForm_city_"+b).selectmenu("destroy").val(0).attr("disabled", "true").selectmenu({maxHeight: 150}).selectmenu("disable");
										}

										if (i<2){
										jQuery.ajax({
											type:"POST",
											url:"/ajax/dynamiccountries.html",
											beforeSend: function() {
												 },
											success:function(html){
												jQuery("#SearchForm_country_"+(i+1)).html(html).selectmenu("destroy").removeAttr("disabled").selectmenu({maxHeight: 150}).selectmenu("enable");
											},
											"data":jQuery("#tours_search_form").serialize(),"cache":false
											});
										}
								    }
