$(document).ready(function () {

   function weather() {
      
      var weather_info = $('#weather #info').html();
      weather_info = (weather_info).replace(/^\s*|\s*$/g,''); 
        
      if( weather_info == "" ) {
         var trans = get_translations();
      
         if ( trans != false ) {
            $('#weather p').html(trans['js_general_weather_na']);
         }
         
      }
      else {
         $('#weather p').html('<span>' + $('#weather #info font b').text() + '</span>' + $('#weather #info b font').text());
      }
      
   }
    
   // run weather 
   weather();  
                 
});

   

 




