var Service_Content=function() {
Service_Content.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Service_Content.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Service_Content._staticInstance.get_path();},
getContentList:function(issue_id,vn_number,sec_id,succeededCallback, failedCallback, userContext) {
/// <param name="issue_id" type="String">System.String</param>
/// <param name="vn_number" type="String">System.String</param>
/// <param name="sec_id" 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(), 'getContentList',false,{issue_id:issue_id,vn_number:vn_number,sec_id:sec_id},succeededCallback,failedCallback,userContext); },
addVisitCount:function(cnt_id,succeededCallback, failedCallback, userContext) {
/// <param name="cnt_id" 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(), 'addVisitCount',false,{cnt_id:cnt_id},succeededCallback,failedCallback,userContext); }}
Service_Content.registerClass('Service_Content',Sys.Net.WebServiceProxy);
Service_Content._staticInstance = new Service_Content();
Service_Content.set_path = function(value) {
Service_Content._staticInstance.set_path(value); }
Service_Content.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Service_Content._staticInstance.get_path();}
Service_Content.set_timeout = function(value) {
Service_Content._staticInstance.set_timeout(value); }
Service_Content.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Service_Content._staticInstance.get_timeout(); }
Service_Content.set_defaultUserContext = function(value) { 
Service_Content._staticInstance.set_defaultUserContext(value); }
Service_Content.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Service_Content._staticInstance.get_defaultUserContext(); }
Service_Content.set_defaultSucceededCallback = function(value) { 
 Service_Content._staticInstance.set_defaultSucceededCallback(value); }
Service_Content.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Service_Content._staticInstance.get_defaultSucceededCallback(); }
Service_Content.set_defaultFailedCallback = function(value) { 
Service_Content._staticInstance.set_defaultFailedCallback(value); }
Service_Content.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Service_Content._staticInstance.get_defaultFailedCallback(); }
Service_Content.set_enableJsonp = function(value) { Service_Content._staticInstance.set_enableJsonp(value); }
Service_Content.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return Service_Content._staticInstance.get_enableJsonp(); }
Service_Content.set_jsonpCallbackParameter = function(value) { Service_Content._staticInstance.set_jsonpCallbackParameter(value); }
Service_Content.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return Service_Content._staticInstance.get_jsonpCallbackParameter(); }
Service_Content.set_path("http://www.asre-iranian.ir/WCF/Service_Content.svc");
Service_Content.getContentList= function(issue_id,vn_number,sec_id,onSuccess,onFailed,userContext) {
/// <param name="issue_id" type="String">System.String</param>
/// <param name="vn_number" type="String">System.String</param>
/// <param name="sec_id" 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>
Service_Content._staticInstance.getContentList(issue_id,vn_number,sec_id,onSuccess,onFailed,userContext); }
Service_Content.addVisitCount= function(cnt_id,onSuccess,onFailed,userContext) {
/// <param name="cnt_id" 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>
Service_Content._staticInstance.addVisitCount(cnt_id,onSuccess,onFailed,userContext); }

