 function city_wether(sel) {     
     var i = 0;
     var result = '';
     var timer = null;
	 var id = parseInt(sel.value);
	               	  		
     $("#weather_ajax").animate({
         height: "0px",
         opacity: "0"
         },
         500,'',
         function() {$(this).load("/ajax_weather.php",{city: id});}
     );
      
     timer1 = setTimeout("showPrel()",400);	 
     $("#weather_ajax").ajaxComplete(function(request, settings) {
     	 $("#prel").css("display","none");
     	 $(this).animate({
   	     opacity: "1",
     	 height: "100%"
         },500);
     });
    
     return false;
 }
 
 function showPrel() {
 	$("#prel").css("display","block")
 } 

