var ContentService=function() {
ContentService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ContentService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ContentService._staticInstance.get_path();},
ListActiveContentItems:function(contentType,succeededCallback, failedCallback, userContext) {
/// <param name="contentType" type="Rockets.ContentType">Rockets.ContentType</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(), 'ListActiveContentItems',false,{contentType:contentType},succeededCallback,failedCallback,userContext); },
GetContentItem:function(contentID,succeededCallback, failedCallback, userContext) {
/// <param name="contentID" 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(), 'GetContentItem',false,{contentID:contentID},succeededCallback,failedCallback,userContext); }}
ContentService.registerClass('ContentService',Sys.Net.WebServiceProxy);
ContentService._staticInstance = new ContentService();
ContentService.set_path = function(value) {
ContentService._staticInstance.set_path(value); }
ContentService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ContentService._staticInstance.get_path();}
ContentService.set_timeout = function(value) {
ContentService._staticInstance.set_timeout(value); }
ContentService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ContentService._staticInstance.get_timeout(); }
ContentService.set_defaultUserContext = function(value) { 
ContentService._staticInstance.set_defaultUserContext(value); }
ContentService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ContentService._staticInstance.get_defaultUserContext(); }
ContentService.set_defaultSucceededCallback = function(value) { 
 ContentService._staticInstance.set_defaultSucceededCallback(value); }
ContentService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ContentService._staticInstance.get_defaultSucceededCallback(); }
ContentService.set_defaultFailedCallback = function(value) { 
ContentService._staticInstance.set_defaultFailedCallback(value); }
ContentService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ContentService._staticInstance.get_defaultFailedCallback(); }
ContentService.set_path("/WS/ContentService.asmx");
ContentService.ListActiveContentItems= function(contentType,onSuccess,onFailed,userContext) {
/// <param name="contentType" type="Rockets.ContentType">Rockets.ContentType</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>
ContentService._staticInstance.ListActiveContentItems(contentType,onSuccess,onFailed,userContext); }
ContentService.GetContentItem= function(contentID,onSuccess,onFailed,userContext) {
/// <param name="contentID" 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>
ContentService._staticInstance.GetContentItem(contentID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Rockets');
if (typeof(Rockets.ContentItem) === 'undefined') {
Rockets.ContentItem=gtc("Rockets.ContentItem");
Rockets.ContentItem.registerClass('Rockets.ContentItem');
}
if (typeof(Rockets.ContentType) === 'undefined') {
Rockets.ContentType = function() { throw Error.invalidOperation(); }
Rockets.ContentType.prototype = {FeaturedStory: 1,NewsStory: 2,PressRelease: 4,Interview: 8,WhereAreTheyNow: 16,BehindTheScenes: 32,HomeTownHockey: 64,OnTheLaunchPad: 128}
Rockets.ContentType.registerEnum('Rockets.ContentType', true);
}
