var Common=function() {
Common.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Common.prototype={
UpdatePhotoIndex:function(photoIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(Common.get_path(), 'UpdatePhotoIndex',false,{photoIndex:photoIndex},succeededCallback,failedCallback,userContext); }}
Common.registerClass('Common',Sys.Net.WebServiceProxy);
Common._staticInstance = new Common();
Common.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Common._staticInstance._path = value; }
Common.get_path = function() { return Common._staticInstance._path; }
Common.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); }
Common._staticInstance._timeout = value; }
Common.get_timeout = function() { 
return Common._staticInstance._timeout; }
Common.set_defaultUserContext = function(value) { 
Common._staticInstance._userContext = value; }
Common.get_defaultUserContext = function() { 
return Common._staticInstance._userContext; }
Common.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Common._staticInstance._succeeded = value; }
Common.get_defaultSucceededCallback = function() { 
return Common._staticInstance._succeeded; }
Common.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Common._staticInstance._failed = value; }
Common.get_defaultFailedCallback = function() { 
return Common._staticInstance._failed; }
Common.set_path("/2007/Common.asmx");
Common.UpdatePhotoIndex= function(photoIndex,onSuccess,onFailed,userContext) {Common._staticInstance.UpdatePhotoIndex(photoIndex,onSuccess,onFailed,userContext); }
