if(typeof ajax == "undefined") ajax={};
ajax_class = function() {};
Object.extend(ajax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetGameMouseOver: function(gameId, boxArt, div) {
		return this.invoke("GetGameMouseOver", {"gameId":gameId, "boxArt":boxArt, "div":div}, this.GetGameMouseOver.getArguments().slice(3));
	},
	AddToWishList: function(gameID) {
		return this.invoke("AddToWishList", {"gameID":gameID}, this.AddToWishList.getArguments().slice(1));
	},
	AddToCollectionsList: function(gameID) {
		return this.invoke("AddToCollectionsList", {"gameID":gameID}, this.AddToCollectionsList.getArguments().slice(1));
	},
	RemoveItemFromList: function(listItemID, listID) {
		return this.invoke("RemoveItemFromList", {"listItemID":listItemID, "listID":listID}, this.RemoveItemFromList.getArguments().slice(2));
	},
	UpdateListDateChanged: function(listID) {
		return this.invoke("UpdateListDateChanged", {"listID":listID}, this.UpdateListDateChanged.getArguments().slice(1));
	},
	MoveFromWishListToCollectionList: function(gameID, itemType, listID, listItemID) {
		return this.invoke("MoveFromWishListToCollectionList", {"gameID":gameID, "itemType":itemType, "listID":listID, "listItemID":listItemID}, this.MoveFromWishListToCollectionList.getArguments().slice(4));
	},
	MoveToCollectionList: function(gameid) {
		return this.invoke("MoveToCollectionList", {"gameid":gameid}, this.MoveToCollectionList.getArguments().slice(1));
	},
	UpdateItemPriority: function(itemidlist) {
		return this.invoke("UpdateItemPriority", {"itemidlist":itemidlist}, this.UpdateItemPriority.getArguments().slice(1));
	},
	AddToWishListFromSearch: function(gameProductId) {
		return this.invoke("AddToWishListFromSearch", {"gameProductId":gameProductId}, this.AddToWishListFromSearch.getArguments().slice(1));
	},
	AddToCollectionListFromSearch: function(gameProductId) {
		return this.invoke("AddToCollectionListFromSearch", {"gameProductId":gameProductId}, this.AddToCollectionListFromSearch.getArguments().slice(1));
	},
	EmailList: function(listtype, emailid) {
		return this.invoke("EmailList", {"listtype":listtype, "emailid":emailid}, this.EmailList.getArguments().slice(2));
	},
	GetGameSearchResults: function(pageno, searchterm) {
		return this.invoke("GetGameSearchResults", {"pageno":pageno, "searchterm":searchterm}, this.GetGameSearchResults.getArguments().slice(2));
	},
	RecordVeEvent: function(veEvent, numberNewTiles) {
		return this.invoke("RecordVeEvent", {"veEvent":veEvent, "numberNewTiles":numberNewTiles}, this.RecordVeEvent.getArguments().slice(2));
	},
	SupportAjax: function(timeout) {
		return this.invoke("SupportAjax", {"timeout":timeout}, this.SupportAjax.getArguments().slice(1));
	},
	LookupAddress: function(singleLine, address, city, state, zip, timeOutVar, whatWeAreLookingUp) {
		return this.invoke("LookupAddress", {"singleLine":singleLine, "address":address, "city":city, "state":state, "zip":zip, "timeOutVar":timeOutVar, "whatWeAreLookingUp":whatWeAreLookingUp}, this.LookupAddress.getArguments().slice(7));
	},
	FindStores: function(latitude, longitude, timeOutVar) {
		return this.invoke("FindStores", {"latitude":latitude, "longitude":longitude, "timeOutVar":timeOutVar}, this.FindStores.getArguments().slice(3));
	},
	GetDrivingDirections: function(startLat, startLong, endLat, endLong, timeOutVar) {
		return this.invoke("GetDrivingDirections", {"startLat":startLat, "startLong":startLong, "endLat":endLat, "endLong":endLong, "timeOutVar":timeOutVar}, this.GetDrivingDirections.getArguments().slice(5));
	},
	UpdateUserProfile: function(key, val) {
		return this.invoke("UpdateUserProfile", {"key":key, "val":val}, this.UpdateUserProfile.getArguments().slice(2));
	},
	UpdateUserPreferences: function(key, val, onoff1) {
		return this.invoke("UpdateUserPreferences", {"key":key, "val":val, "onoff1":onoff1}, this.UpdateUserPreferences.getArguments().slice(3));
	},
	url: '/ajaxpro/Gamecrazy.Web.Classes.ajax,Gamecrazy.Web.ashx'
}));
ajax = new ajax_class();

