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

