Type.registerNamespace('YellowstoneDermatology.Services');
YellowstoneDermatology.Services.ContentService=function() {
YellowstoneDermatology.Services.ContentService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
YellowstoneDermatology.Services.ContentService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return YellowstoneDermatology.Services.ContentService._staticInstance.get_path();},
SendErrorCommunication:function(message,succeededCallback, failedCallback, userContext) {
/// <param name="message" type="String">System.String</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(), 'SendErrorCommunication',false,{message:message},succeededCallback,failedCallback,userContext); },
SendEmail:function(firstName,lastName,phone,message,urgency,preference,email,succeededCallback, failedCallback, userContext) {
/// <param name="firstName" type="String">System.String</param>
/// <param name="lastName" type="String">System.String</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="urgency" type="String">System.String</param>
/// <param name="preference" type="String">System.String</param>
/// <param name="email" type="String">System.String</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(), 'SendEmail',false,{firstName:firstName,lastName:lastName,phone:phone,message:message,urgency:urgency,preference:preference,email:email},succeededCallback,failedCallback,userContext); }}
YellowstoneDermatology.Services.ContentService.registerClass('YellowstoneDermatology.Services.ContentService',Sys.Net.WebServiceProxy);
YellowstoneDermatology.Services.ContentService._staticInstance = new YellowstoneDermatology.Services.ContentService();
YellowstoneDermatology.Services.ContentService.set_path = function(value) {
YellowstoneDermatology.Services.ContentService._staticInstance.set_path(value); }
YellowstoneDermatology.Services.ContentService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return YellowstoneDermatology.Services.ContentService._staticInstance.get_path();}
YellowstoneDermatology.Services.ContentService.set_timeout = function(value) {
YellowstoneDermatology.Services.ContentService._staticInstance.set_timeout(value); }
YellowstoneDermatology.Services.ContentService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return YellowstoneDermatology.Services.ContentService._staticInstance.get_timeout(); }
YellowstoneDermatology.Services.ContentService.set_defaultUserContext = function(value) { 
YellowstoneDermatology.Services.ContentService._staticInstance.set_defaultUserContext(value); }
YellowstoneDermatology.Services.ContentService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return YellowstoneDermatology.Services.ContentService._staticInstance.get_defaultUserContext(); }
YellowstoneDermatology.Services.ContentService.set_defaultSucceededCallback = function(value) { 
 YellowstoneDermatology.Services.ContentService._staticInstance.set_defaultSucceededCallback(value); }
YellowstoneDermatology.Services.ContentService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return YellowstoneDermatology.Services.ContentService._staticInstance.get_defaultSucceededCallback(); }
YellowstoneDermatology.Services.ContentService.set_defaultFailedCallback = function(value) { 
YellowstoneDermatology.Services.ContentService._staticInstance.set_defaultFailedCallback(value); }
YellowstoneDermatology.Services.ContentService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return YellowstoneDermatology.Services.ContentService._staticInstance.get_defaultFailedCallback(); }
YellowstoneDermatology.Services.ContentService.set_path("/pages/Services/ContentService.asmx");
YellowstoneDermatology.Services.ContentService.SendErrorCommunication= function(message,onSuccess,onFailed,userContext) {
/// <param name="message" type="String">System.String</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>
YellowstoneDermatology.Services.ContentService._staticInstance.SendErrorCommunication(message,onSuccess,onFailed,userContext); }
YellowstoneDermatology.Services.ContentService.SendEmail= function(firstName,lastName,phone,message,urgency,preference,email,onSuccess,onFailed,userContext) {
/// <param name="firstName" type="String">System.String</param>
/// <param name="lastName" type="String">System.String</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="urgency" type="String">System.String</param>
/// <param name="preference" type="String">System.String</param>
/// <param name="email" type="String">System.String</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>
YellowstoneDermatology.Services.ContentService._staticInstance.SendEmail(firstName,lastName,phone,message,urgency,preference,email,onSuccess,onFailed,userContext); }
