
var homeProfile = {
  
  favoriteDestinationsViewBean : null,
  profileViewBean : null,
  favoriteHotelsViewBean : null,
    
  getBeans: function() {
    return "FavoriteDestinationsViewBean;ProfileViewBean;FavoriteHotelsViewBean";
  },
  
  initJSON: function() {
  	this.favoriteDestinationsViewBean = viewBeans["FavoriteDestinationsViewBean"];
  	this.favoriteHotelsViewBean = viewBeans["FavoriteHotelsViewBean"];
  	this.profileViewBean = viewBeans["ProfileViewBean"];
  },
  
  rewrite: function() {
  	homePage.rewriteProfileContent(this.favoriteDestinationsViewBean, this.favoriteHotelsViewBean, this.profileViewBean);
  }
}

core.push(homeProfile);
