var HomePageService=function() {
HomePageService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
HomePageService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return HomePageService._staticInstance.get_path();},
LoadContent:function(contentName,succeededCallback, failedCallback, userContext) {
/// <param name="contentName" 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(), 'LoadContent',false,{contentName:contentName},succeededCallback,failedCallback,userContext); },
LoadCalendar:function(direction,currentDate,succeededCallback, failedCallback, userContext) {
/// <param name="direction" type="EPK.Model.Direction">EPK.Model.Direction</param>
/// <param name="currentDate" type="Date">System.DateTime</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(), 'LoadCalendar',false,{direction:direction,currentDate:currentDate},succeededCallback,failedCallback,userContext); }}
HomePageService.registerClass('HomePageService',Sys.Net.WebServiceProxy);
HomePageService._staticInstance = new HomePageService();
HomePageService.set_path = function(value) {
HomePageService._staticInstance.set_path(value); }
HomePageService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return HomePageService._staticInstance.get_path();}
HomePageService.set_timeout = function(value) {
HomePageService._staticInstance.set_timeout(value); }
HomePageService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return HomePageService._staticInstance.get_timeout(); }
HomePageService.set_defaultUserContext = function(value) { 
HomePageService._staticInstance.set_defaultUserContext(value); }
HomePageService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return HomePageService._staticInstance.get_defaultUserContext(); }
HomePageService.set_defaultSucceededCallback = function(value) { 
 HomePageService._staticInstance.set_defaultSucceededCallback(value); }
HomePageService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return HomePageService._staticInstance.get_defaultSucceededCallback(); }
HomePageService.set_defaultFailedCallback = function(value) { 
HomePageService._staticInstance.set_defaultFailedCallback(value); }
HomePageService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return HomePageService._staticInstance.get_defaultFailedCallback(); }
HomePageService.set_path("/webservices/render/homepage.asmx");
HomePageService.LoadContent= function(contentName,onSuccess,onFailed,userContext) {
/// <param name="contentName" 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>
HomePageService._staticInstance.LoadContent(contentName,onSuccess,onFailed,userContext); }
HomePageService.LoadCalendar= function(direction,currentDate,onSuccess,onFailed,userContext) {
/// <param name="direction" type="EPK.Model.Direction">EPK.Model.Direction</param>
/// <param name="currentDate" type="Date">System.DateTime</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>
HomePageService._staticInstance.LoadCalendar(direction,currentDate,onSuccess,onFailed,userContext); }
Type.registerNamespace('EPK.Model');
if (typeof(EPK.Model.Direction) === 'undefined') {
EPK.Model.Direction = function() { throw Error.invalidOperation(); }
EPK.Model.Direction.prototype = {Up: 1,Down: 2}
EPK.Model.Direction.registerEnum('EPK.Model.Direction', true);
}

