Type.registerNamespace('IcelandToday.Services');
IcelandToday.Services.Contact=function() {
IcelandToday.Services.Contact.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
IcelandToday.Services.Contact.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return IcelandToday.Services.Contact._staticInstance.get_path();},
NewsLetterSignup:function(name,email,succeededCallback, failedCallback, userContext) {
/// <param name="name" 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(), 'NewsLetterSignup',false,{name:name,email:email},succeededCallback,failedCallback,userContext); },
SendPage:function(name,email,content,url,newsID,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="content" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="newsID" 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(), 'SendPage',false,{name:name,email:email,content:content,url:url,newsID:newsID},succeededCallback,failedCallback,userContext); }}
IcelandToday.Services.Contact.registerClass('IcelandToday.Services.Contact',Sys.Net.WebServiceProxy);
IcelandToday.Services.Contact._staticInstance = new IcelandToday.Services.Contact();
IcelandToday.Services.Contact.set_path = function(value) {
IcelandToday.Services.Contact._staticInstance.set_path(value); }
IcelandToday.Services.Contact.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return IcelandToday.Services.Contact._staticInstance.get_path();}
IcelandToday.Services.Contact.set_timeout = function(value) {
IcelandToday.Services.Contact._staticInstance.set_timeout(value); }
IcelandToday.Services.Contact.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return IcelandToday.Services.Contact._staticInstance.get_timeout(); }
IcelandToday.Services.Contact.set_defaultUserContext = function(value) { 
IcelandToday.Services.Contact._staticInstance.set_defaultUserContext(value); }
IcelandToday.Services.Contact.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return IcelandToday.Services.Contact._staticInstance.get_defaultUserContext(); }
IcelandToday.Services.Contact.set_defaultSucceededCallback = function(value) { 
 IcelandToday.Services.Contact._staticInstance.set_defaultSucceededCallback(value); }
IcelandToday.Services.Contact.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return IcelandToday.Services.Contact._staticInstance.get_defaultSucceededCallback(); }
IcelandToday.Services.Contact.set_defaultFailedCallback = function(value) { 
IcelandToday.Services.Contact._staticInstance.set_defaultFailedCallback(value); }
IcelandToday.Services.Contact.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return IcelandToday.Services.Contact._staticInstance.get_defaultFailedCallback(); }
IcelandToday.Services.Contact.set_path("/Services/Contact.svc");
IcelandToday.Services.Contact.NewsLetterSignup= function(name,email,onSuccess,onFailed,userContext) {
/// <param name="name" 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>
IcelandToday.Services.Contact._staticInstance.NewsLetterSignup(name,email,onSuccess,onFailed,userContext); }
IcelandToday.Services.Contact.SendPage= function(name,email,content,url,newsID,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="content" type="String">System.String</param>
/// <param name="url" type="String">System.String</param>
/// <param name="newsID" 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>
IcelandToday.Services.Contact._staticInstance.SendPage(name,email,content,url,newsID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ReturnJSON) === 'undefined') {
var ReturnJSON=gtc("ReturnJSON:http://schemas.datacontract.org/2004/07/");
ReturnJSON.registerClass('ReturnJSON');
}

