var GetContent=function() {
GetContent.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GetContent.prototype={
GetDataCat:function(RegID,SubRegID,CatID,SubCat,who,LabelName,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'GetDataCat',false,{RegID:RegID,SubRegID:SubRegID,CatID:CatID,SubCat:SubCat,who:who,LabelName:LabelName},succeededCallback,failedCallback,userContext); },
GetDataChan:function(ChanID,SubChanID,who,LabelName,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'GetDataChan',false,{ChanID:ChanID,SubChanID:SubChanID,who:who,LabelName:LabelName},succeededCallback,failedCallback,userContext); },
GetNews:function(TopicID,NewsID,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'GetNews',false,{TopicID:TopicID,NewsID:NewsID},succeededCallback,failedCallback,userContext); },
GetSummary:function(ProductID,TopicID,SubTopicID,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'GetSummary',false,{ProductID:ProductID,TopicID:TopicID,SubTopicID:SubTopicID},succeededCallback,failedCallback,userContext); },
GetListing:function(ProductID,TopicID,SubToicID,Page,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'GetListing',false,{ProductID:ProductID,TopicID:TopicID,SubToicID:SubToicID,Page:Page},succeededCallback,failedCallback,userContext); },
FetchTop10News:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchTop10News',false,{},succeededCallback,failedCallback,userContext); },
GetSubMenu:function(TopicID,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'GetSubMenu',false,{TopicID:TopicID},succeededCallback,failedCallback,userContext); },
FetchWeatherLocal:function(search,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchWeatherLocal',false,{search:search},succeededCallback,failedCallback,userContext); },
FetchSevenDay:function(name,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchSevenDay',false,{name:name},succeededCallback,failedCallback,userContext); },
fetchConditions:function(name,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'fetchConditions',false,{name:name},succeededCallback,failedCallback,userContext); },
GeoAutoComplete:function(prefix,rowmax,country,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'GeoAutoComplete',false,{prefix:prefix,rowmax:rowmax,country:country},succeededCallback,failedCallback,userContext); },
FetchWeatherMaps:function(name,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchWeatherMaps',false,{name:name},succeededCallback,failedCallback,userContext); },
FetchGeoIDByCountryCode:function(Country_Code,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchGeoIDByCountryCode',false,{Country_Code:Country_Code},succeededCallback,failedCallback,userContext); },
FetchGeoIDByUSState:function(State,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchGeoIDByUSState',false,{State:State},succeededCallback,failedCallback,userContext); },
FetchSevenDayGeoID:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchSevenDayGeoID',false,{id:id},succeededCallback,failedCallback,userContext); },
fetchConditionsGeoID:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'fetchConditionsGeoID',false,{id:id},succeededCallback,failedCallback,userContext); },
FetchThums:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchThums',false,{},succeededCallback,failedCallback,userContext); },
FetchLargeImages:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchLargeImages',false,{},succeededCallback,failedCallback,userContext); },
FetchPictures:function(strDate,Latest,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'FetchPictures',false,{strDate:strDate,Latest:Latest},succeededCallback,failedCallback,userContext); },
InsertComment:function(NewsIdentity,ParentID,Email,Name,Comment,Country,Subject,succeededCallback, failedCallback, userContext) {
return this._invoke(GetContent.get_path(), 'InsertComment',false,{NewsIdentity:NewsIdentity,ParentID:ParentID,Email:Email,Name:Name,Comment:Comment,Country:Country,Subject:Subject},succeededCallback,failedCallback,userContext); }}
GetContent.registerClass('GetContent',Sys.Net.WebServiceProxy);
GetContent._staticInstance = new GetContent();
GetContent.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GetContent._staticInstance._path = value; }
GetContent.get_path = function() { return GetContent._staticInstance._path; }
GetContent.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
GetContent._staticInstance._timeout = value; }
GetContent.get_timeout = function() { 
return GetContent._staticInstance._timeout; }
GetContent.set_defaultUserContext = function(value) { 
GetContent._staticInstance._userContext = value; }
GetContent.get_defaultUserContext = function() { 
return GetContent._staticInstance._userContext; }
GetContent.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GetContent._staticInstance._succeeded = value; }
GetContent.get_defaultSucceededCallback = function() { 
return GetContent._staticInstance._succeeded; }
GetContent.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GetContent._staticInstance._failed = value; }
GetContent.get_defaultFailedCallback = function() { 
return GetContent._staticInstance._failed; }
GetContent.set_path("/GetContent.asmx");
GetContent.GetDataCat= function(RegID,SubRegID,CatID,SubCat,who,LabelName,onSuccess,onFailed,userContext) {GetContent._staticInstance.GetDataCat(RegID,SubRegID,CatID,SubCat,who,LabelName,onSuccess,onFailed,userContext); }
GetContent.GetDataChan= function(ChanID,SubChanID,who,LabelName,onSuccess,onFailed,userContext) {GetContent._staticInstance.GetDataChan(ChanID,SubChanID,who,LabelName,onSuccess,onFailed,userContext); }
GetContent.GetNews= function(TopicID,NewsID,onSuccess,onFailed,userContext) {GetContent._staticInstance.GetNews(TopicID,NewsID,onSuccess,onFailed,userContext); }
GetContent.GetSummary= function(ProductID,TopicID,SubTopicID,onSuccess,onFailed,userContext) {GetContent._staticInstance.GetSummary(ProductID,TopicID,SubTopicID,onSuccess,onFailed,userContext); }
GetContent.GetListing= function(ProductID,TopicID,SubToicID,Page,onSuccess,onFailed,userContext) {GetContent._staticInstance.GetListing(ProductID,TopicID,SubToicID,Page,onSuccess,onFailed,userContext); }
GetContent.FetchTop10News= function(onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchTop10News(onSuccess,onFailed,userContext); }
GetContent.GetSubMenu= function(TopicID,onSuccess,onFailed,userContext) {GetContent._staticInstance.GetSubMenu(TopicID,onSuccess,onFailed,userContext); }
GetContent.FetchWeatherLocal= function(search,onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchWeatherLocal(search,onSuccess,onFailed,userContext); }
GetContent.FetchSevenDay= function(name,onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchSevenDay(name,onSuccess,onFailed,userContext); }
GetContent.fetchConditions= function(name,onSuccess,onFailed,userContext) {GetContent._staticInstance.fetchConditions(name,onSuccess,onFailed,userContext); }
GetContent.GeoAutoComplete= function(prefix,rowmax,country,onSuccess,onFailed,userContext) {GetContent._staticInstance.GeoAutoComplete(prefix,rowmax,country,onSuccess,onFailed,userContext); }
GetContent.FetchWeatherMaps= function(name,onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchWeatherMaps(name,onSuccess,onFailed,userContext); }
GetContent.FetchGeoIDByCountryCode= function(Country_Code,onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchGeoIDByCountryCode(Country_Code,onSuccess,onFailed,userContext); }
GetContent.FetchGeoIDByUSState= function(State,onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchGeoIDByUSState(State,onSuccess,onFailed,userContext); }
GetContent.FetchSevenDayGeoID= function(id,onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchSevenDayGeoID(id,onSuccess,onFailed,userContext); }
GetContent.fetchConditionsGeoID= function(id,onSuccess,onFailed,userContext) {GetContent._staticInstance.fetchConditionsGeoID(id,onSuccess,onFailed,userContext); }
GetContent.FetchThums= function(onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchThums(onSuccess,onFailed,userContext); }
GetContent.FetchLargeImages= function(onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchLargeImages(onSuccess,onFailed,userContext); }
GetContent.FetchPictures= function(strDate,Latest,onSuccess,onFailed,userContext) {GetContent._staticInstance.FetchPictures(strDate,Latest,onSuccess,onFailed,userContext); }
GetContent.InsertComment= function(NewsIdentity,ParentID,Email,Name,Comment,Country,Subject,onSuccess,onFailed,userContext) {GetContent._staticInstance.InsertComment(NewsIdentity,ParentID,Email,Name,Comment,Country,Subject,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.Slide) === 'undefined') {
AjaxControlToolkit.Slide=gtc("AjaxControlToolkit.Slide");
AjaxControlToolkit.Slide.registerClass('AjaxControlToolkit.Slide');
}
if (typeof(Common_ImgData) === 'undefined') {
var Common_ImgData=gtc("Common+ImgData");
Common_ImgData.registerClass('Common_ImgData');
}
