var Collage=function() {
Collage.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Collage.prototype={
FlattenCollage:function(IDs,Lefts,Tops,Widths,Heights,BoxWidths,BoxHeights,CollageWidth,CollageHeight,GalleryID,IsLoggedIn,UserID,succeededCallback, failedCallback, userContext) {
return this._invoke(Collage.get_path(), 'FlattenCollage',true,{IDs:IDs,Lefts:Lefts,Tops:Tops,Widths:Widths,Heights:Heights,BoxWidths:BoxWidths,BoxHeights:BoxHeights,CollageWidth:CollageWidth,CollageHeight:CollageHeight,GalleryID:GalleryID,IsLoggedIn:IsLoggedIn,UserID:UserID},succeededCallback,failedCallback,userContext); }}
Collage.registerClass('Collage',Sys.Net.WebServiceProxy);
Collage._staticInstance = new Collage();
Collage.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Collage._staticInstance._path = value; }
Collage.get_path = function() { return Collage._staticInstance._path; }
Collage.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Collage._staticInstance._timeout = value; }
Collage.get_timeout = function() { 
return Collage._staticInstance._timeout; }
Collage.set_defaultUserContext = function(value) { 
Collage._staticInstance._userContext = value; }
Collage.get_defaultUserContext = function() { 
return Collage._staticInstance._userContext; }
Collage.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Collage._staticInstance._succeeded = value; }
Collage.get_defaultSucceededCallback = function() { 
return Collage._staticInstance._succeeded; }
Collage.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Collage._staticInstance._failed = value; }
Collage.get_defaultFailedCallback = function() { 
return Collage._staticInstance._failed; }
Collage.set_path("/photo/Collage.asmx");
Collage.FlattenCollage= function(IDs,Lefts,Tops,Widths,Heights,BoxWidths,BoxHeights,CollageWidth,CollageHeight,GalleryID,IsLoggedIn,UserID,onSuccess,onFailed,userContext) {Collage._staticInstance.FlattenCollage(IDs,Lefts,Tops,Widths,Heights,BoxWidths,BoxHeights,CollageWidth,CollageHeight,GalleryID,IsLoggedIn,UserID,onSuccess,onFailed,userContext); }
