if(typeof PrizeCentral == "undefined") PrizeCentral={};
if(typeof PrizeCentral.Bidding_class == "undefined") PrizeCentral.Bidding_class={};
PrizeCentral.Bidding_class = function() {};
Object.extend(PrizeCentral.Bidding_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	BidNow: function(price, pid) {
		return this.invoke("BidNow", {"price":price, "pid":pid}, this.BidNow.getArguments().slice(2));
	},
	GetHint: function(lastBid) {
		return this.invoke("GetHint", {"lastBid":lastBid}, this.GetHint.getArguments().slice(1));
	},
	MyBidHistory: function(pid) {
		return this.invoke("MyBidHistory", {"pid":pid}, this.MyBidHistory.getArguments().slice(1));
	},
	GetLeftBid: function() {
		return this.invoke("GetLeftBid", {}, this.GetLeftBid.getArguments().slice(0));
	},
	GetLeftBidFacebook: function(facebookId) {
		return this.invoke("GetLeftBidFacebook", {"facebookId":facebookId}, this.GetLeftBidFacebook.getArguments().slice(1));
	},
	url: '/ajaxpro/PrizeCentral.Bidding,PrizeCentral.ashx'
}));
PrizeCentral.Bidding = new PrizeCentral.Bidding_class();

