Type.registerNamespace('CurioWeb.Services');
CurioWeb.Services.Contact=function() {
CurioWeb.Services.Contact.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CurioWeb.Services.Contact.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CurioWeb.Services.Contact._staticInstance.get_path();},
SendContactInquery:function(name,title,email,phone,text,userHash,ipAddress,serviceID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendContactInquery',false,{name:name,title:title,email:email,phone:phone,text:text,userHash:userHash,ipAddress:ipAddress,serviceID:serviceID},succeededCallback,failedCallback,userContext); }}
CurioWeb.Services.Contact.registerClass('CurioWeb.Services.Contact',Sys.Net.WebServiceProxy);
CurioWeb.Services.Contact._staticInstance = new CurioWeb.Services.Contact();
CurioWeb.Services.Contact.set_path = function(value) { CurioWeb.Services.Contact._staticInstance.set_path(value); }
CurioWeb.Services.Contact.get_path = function() { return CurioWeb.Services.Contact._staticInstance.get_path(); }
CurioWeb.Services.Contact.set_timeout = function(value) { CurioWeb.Services.Contact._staticInstance.set_timeout(value); }
CurioWeb.Services.Contact.get_timeout = function() { return CurioWeb.Services.Contact._staticInstance.get_timeout(); }
CurioWeb.Services.Contact.set_defaultUserContext = function(value) { CurioWeb.Services.Contact._staticInstance.set_defaultUserContext(value); }
CurioWeb.Services.Contact.get_defaultUserContext = function() { return CurioWeb.Services.Contact._staticInstance.get_defaultUserContext(); }
CurioWeb.Services.Contact.set_defaultSucceededCallback = function(value) { CurioWeb.Services.Contact._staticInstance.set_defaultSucceededCallback(value); }
CurioWeb.Services.Contact.get_defaultSucceededCallback = function() { return CurioWeb.Services.Contact._staticInstance.get_defaultSucceededCallback(); }
CurioWeb.Services.Contact.set_defaultFailedCallback = function(value) { CurioWeb.Services.Contact._staticInstance.set_defaultFailedCallback(value); }
CurioWeb.Services.Contact.get_defaultFailedCallback = function() { return CurioWeb.Services.Contact._staticInstance.get_defaultFailedCallback(); }
CurioWeb.Services.Contact.set_enableJsonp = function(value) { CurioWeb.Services.Contact._staticInstance.set_enableJsonp(value); }
CurioWeb.Services.Contact.get_enableJsonp = function() { return CurioWeb.Services.Contact._staticInstance.get_enableJsonp(); }
CurioWeb.Services.Contact.set_jsonpCallbackParameter = function(value) { CurioWeb.Services.Contact._staticInstance.set_jsonpCallbackParameter(value); }
CurioWeb.Services.Contact.get_jsonpCallbackParameter = function() { return CurioWeb.Services.Contact._staticInstance.get_jsonpCallbackParameter(); }
CurioWeb.Services.Contact.set_path("http://www.brudkaup.is/Services/Contact.svc");
CurioWeb.Services.Contact.SendContactInquery= function(name,title,email,phone,text,userHash,ipAddress,serviceID,onSuccess,onFailed,userContext) {CurioWeb.Services.Contact._staticInstance.SendContactInquery(name,title,email,phone,text,userHash,ipAddress,serviceID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(JsonServiceResult) === 'undefined') {
var JsonServiceResult=gtc("JsonServiceResult:http://schemas.datacontract.org/2004/07/");
JsonServiceResult.registerClass('JsonServiceResult');
}

