anchor.diff:    req.send(data);
     
     // Prevent to execute the default action for "submit"
  -  //event.preventDefault();
  +  event.preventDefault();
   }
   
   /**
  
positive.code:   showJson(parsedJSON);
  }
  
  /** 
   * Function that shows the distinct forecast data in the corresponding elements 
   * of the html
  
negative.code:         
          query('#logout_button').style.display = '';
          query('#error').style.display = 'none';
        } 
        else if (req.status == 401) {
           print("Error: User/password is incorrect");
           query('#error_text').text = "User/password is incorrect";
           query('#error').style.display = '';
        }
      }
    });
    
  