Type.registerNamespace("rb");rb.Location=function(){rb.Location.initializeBase(this);this._kiosk=null};rb.Location.prototype={get_kiosk:function(){return this._kiosk},set_kiosk:function(a){this._kiosk=a},_onLoad:function(b,a){rb.Location.callBaseMethod(this,"_onLoad")},bind:function(a){this.set_kiosk(a);this.refresh()},refresh:function(){if(!this._kiosk){this.hide()}this._getControl("vendor").innerHTML=this._kiosk.Vendor;this._getControl("address").innerHTML=this._kiosk.Address;this._getControl("addressDisplayName").innerHTML=this._kiosk.AddressDisplayName;if(!this._getControl("addressDisplayName").innerHTML){this._getControl("addressDisplayName").style.display="none"}this._getControl("city").innerHTML=this._kiosk.City+", "+this._kiosk.State},hide:function(){this._getControl("location").style.display="none"},show:function(a){if(a){this.bind(a)}this._getControl("location").style.display=""},dispose:function(){rb.Location.callBaseMethod(this,"dispose")}};rb.Location.registerClass("rb.Location",rb.ClientBase);