Type.registerNamespace('com.andyvermeulen.web');
com.andyvermeulen.web.Ajax=function() {
com.andyvermeulen.web.Ajax.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
com.andyvermeulen.web.Ajax.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return com.andyvermeulen.web.Ajax._staticInstance.get_path();},
GetPhotos:function(start,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPhotos',false,{start:start,count:count},succeededCallback,failedCallback,userContext); }}
com.andyvermeulen.web.Ajax.registerClass('com.andyvermeulen.web.Ajax',Sys.Net.WebServiceProxy);
com.andyvermeulen.web.Ajax._staticInstance = new com.andyvermeulen.web.Ajax();
com.andyvermeulen.web.Ajax.set_path = function(value) { com.andyvermeulen.web.Ajax._staticInstance.set_path(value); }
com.andyvermeulen.web.Ajax.get_path = function() { return com.andyvermeulen.web.Ajax._staticInstance.get_path(); }
com.andyvermeulen.web.Ajax.set_timeout = function(value) { com.andyvermeulen.web.Ajax._staticInstance.set_timeout(value); }
com.andyvermeulen.web.Ajax.get_timeout = function() { return com.andyvermeulen.web.Ajax._staticInstance.get_timeout(); }
com.andyvermeulen.web.Ajax.set_defaultUserContext = function(value) { com.andyvermeulen.web.Ajax._staticInstance.set_defaultUserContext(value); }
com.andyvermeulen.web.Ajax.get_defaultUserContext = function() { return com.andyvermeulen.web.Ajax._staticInstance.get_defaultUserContext(); }
com.andyvermeulen.web.Ajax.set_defaultSucceededCallback = function(value) { com.andyvermeulen.web.Ajax._staticInstance.set_defaultSucceededCallback(value); }
com.andyvermeulen.web.Ajax.get_defaultSucceededCallback = function() { return com.andyvermeulen.web.Ajax._staticInstance.get_defaultSucceededCallback(); }
com.andyvermeulen.web.Ajax.set_defaultFailedCallback = function(value) { com.andyvermeulen.web.Ajax._staticInstance.set_defaultFailedCallback(value); }
com.andyvermeulen.web.Ajax.get_defaultFailedCallback = function() { return com.andyvermeulen.web.Ajax._staticInstance.get_defaultFailedCallback(); }
com.andyvermeulen.web.Ajax.set_path("/Ajax.asmx");
com.andyvermeulen.web.Ajax.GetPhotos= function(start,count,onSuccess,onFailed,userContext) {com.andyvermeulen.web.Ajax._staticInstance.GetPhotos(start,count,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(com.andyvermeulen.web.Photo) === 'undefined') {
com.andyvermeulen.web.Photo=gtc("com.andyvermeulen.web.Photo");
com.andyvermeulen.web.Photo.registerClass('com.andyvermeulen.web.Photo');
}
