Type.registerNamespace('Egyptenportalen.Core.Web.Services');
Egyptenportalen.Core.Web.Services.PageCommentsService=function() {
Egyptenportalen.Core.Web.Services.PageCommentsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Egyptenportalen.Core.Web.Services.PageCommentsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.get_path();},
AddPageComment:function(pageID,subject,name,email,comment,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddPageComment',false,{pageID:pageID,subject:subject,name:name,email:email,comment:comment},succeededCallback,failedCallback,userContext); }}
Egyptenportalen.Core.Web.Services.PageCommentsService.registerClass('Egyptenportalen.Core.Web.Services.PageCommentsService',Sys.Net.WebServiceProxy);
Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance = new Egyptenportalen.Core.Web.Services.PageCommentsService();
Egyptenportalen.Core.Web.Services.PageCommentsService.set_path = function(value) { Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.set_path(value); }
Egyptenportalen.Core.Web.Services.PageCommentsService.get_path = function() { return Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.get_path(); }
Egyptenportalen.Core.Web.Services.PageCommentsService.set_timeout = function(value) { Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.set_timeout(value); }
Egyptenportalen.Core.Web.Services.PageCommentsService.get_timeout = function() { return Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.get_timeout(); }
Egyptenportalen.Core.Web.Services.PageCommentsService.set_defaultUserContext = function(value) { Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.set_defaultUserContext(value); }
Egyptenportalen.Core.Web.Services.PageCommentsService.get_defaultUserContext = function() { return Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.get_defaultUserContext(); }
Egyptenportalen.Core.Web.Services.PageCommentsService.set_defaultSucceededCallback = function(value) { Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.set_defaultSucceededCallback(value); }
Egyptenportalen.Core.Web.Services.PageCommentsService.get_defaultSucceededCallback = function() { return Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.get_defaultSucceededCallback(); }
Egyptenportalen.Core.Web.Services.PageCommentsService.set_defaultFailedCallback = function(value) { Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.set_defaultFailedCallback(value); }
Egyptenportalen.Core.Web.Services.PageCommentsService.get_defaultFailedCallback = function() { return Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.get_defaultFailedCallback(); }
Egyptenportalen.Core.Web.Services.PageCommentsService.set_path("/Core/Web/Services/PageCommentsService.asmx");
Egyptenportalen.Core.Web.Services.PageCommentsService.AddPageComment= function(pageID,subject,name,email,comment,onSuccess,onFailed,userContext) {Egyptenportalen.Core.Web.Services.PageCommentsService._staticInstance.AddPageComment(pageID,subject,name,email,comment,onSuccess,onFailed,userContext); }

