Type.registerNamespace('OgdenClinic.Web');
OgdenClinic.Web.OCPageMethods=function() {
OgdenClinic.Web.OCPageMethods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
OgdenClinic.Web.OCPageMethods.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return OgdenClinic.Web.OCPageMethods._staticInstance.get_path();},
GetClinicImageCount:function(clinicID,succeededCallback, failedCallback, userContext) {
/// <param name="clinicID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetClinicImageCount',false,{clinicID:clinicID},succeededCallback,failedCallback,userContext); }}
OgdenClinic.Web.OCPageMethods.registerClass('OgdenClinic.Web.OCPageMethods',Sys.Net.WebServiceProxy);
OgdenClinic.Web.OCPageMethods._staticInstance = new OgdenClinic.Web.OCPageMethods();
OgdenClinic.Web.OCPageMethods.set_path = function(value) {
OgdenClinic.Web.OCPageMethods._staticInstance.set_path(value); }
OgdenClinic.Web.OCPageMethods.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return OgdenClinic.Web.OCPageMethods._staticInstance.get_path();}
OgdenClinic.Web.OCPageMethods.set_timeout = function(value) {
OgdenClinic.Web.OCPageMethods._staticInstance.set_timeout(value); }
OgdenClinic.Web.OCPageMethods.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return OgdenClinic.Web.OCPageMethods._staticInstance.get_timeout(); }
OgdenClinic.Web.OCPageMethods.set_defaultUserContext = function(value) { 
OgdenClinic.Web.OCPageMethods._staticInstance.set_defaultUserContext(value); }
OgdenClinic.Web.OCPageMethods.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return OgdenClinic.Web.OCPageMethods._staticInstance.get_defaultUserContext(); }
OgdenClinic.Web.OCPageMethods.set_defaultSucceededCallback = function(value) { 
 OgdenClinic.Web.OCPageMethods._staticInstance.set_defaultSucceededCallback(value); }
OgdenClinic.Web.OCPageMethods.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return OgdenClinic.Web.OCPageMethods._staticInstance.get_defaultSucceededCallback(); }
OgdenClinic.Web.OCPageMethods.set_defaultFailedCallback = function(value) { 
OgdenClinic.Web.OCPageMethods._staticInstance.set_defaultFailedCallback(value); }
OgdenClinic.Web.OCPageMethods.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return OgdenClinic.Web.OCPageMethods._staticInstance.get_defaultFailedCallback(); }
OgdenClinic.Web.OCPageMethods.set_path("/OCPageMethods.asmx");
OgdenClinic.Web.OCPageMethods.GetClinicImageCount= function(clinicID,onSuccess,onFailed,userContext) {
/// <param name="clinicID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
OgdenClinic.Web.OCPageMethods._staticInstance.GetClinicImageCount(clinicID,onSuccess,onFailed,userContext); }
