//>>built
define("demos/beer/src/Bottle",["dojo","dijit","dojox","dojo/require!dijit/_Widget"],function(_1,_2,_3){_1.provide("demos.beer.src.Bottle");_1.require("dijit._Widget");_1.declare("beer.Bottle",_2._Widget,{beerIndex:0,size:"small",sizes:{small:18,large:36},postCreate:function(){_1.addClass(this.domNode,"dijitInline beerBox-"+this.size);var _4=this.sizes[this.size];_1.style(this.domNode,{backgroundPosition:"-"+(this.beerIndex*_4)+"px 1px"});}});_1.declare("beer.UserProfile",_2._Widget,{user:"",setUser:function(_5){this.user=_5||null;if(this.user){_1.xhrGet({url:"getBeers.php",content:{user:this.user},load:_1.hitch(this,function(_6){})});}}});});