//<![CDATA[
var PageMethods = function() {
PageMethods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PageMethods.prototype = {
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PageMethods._staticInstance.get_path();},
GetStreamingMediaData:function(mediaId,connectionSpeed,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStreamingMediaData',false,{mediaId:mediaId,connectionSpeed:connectionSpeed},succeededCallback,failedCallback,userContext); },
SaveConnectionSpeed:function(connectionSpeed,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveConnectionSpeed',false,{connectionSpeed:connectionSpeed},succeededCallback,failedCallback,userContext); },
PlaceVote:function(mediaId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlaceVote',false,{mediaId:mediaId},succeededCallback,failedCallback,userContext); },
SubmitSurvey:function(ageGroup,politicalId,adThought,spotThought,gdCust,ipAddress,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SubmitSurvey',false,{ageGroup:ageGroup,politicalId:politicalId,adThought:adThought,spotThought:spotThought,gdCust:gdCust,ipAddress:ipAddress},succeededCallback,failedCallback,userContext); }}
PageMethods.registerClass('PageMethods',Sys.Net.WebServiceProxy);
PageMethods._staticInstance = new PageMethods();
PageMethods.set_path = function(value) { PageMethods._staticInstance.set_path(value); }
PageMethods.get_path = function() { return PageMethods._staticInstance.get_path(); }
PageMethods.set_timeout = function(value) { PageMethods._staticInstance.set_timeout(value); }
PageMethods.get_timeout = function() { return PageMethods._staticInstance.get_timeout(); }
PageMethods.set_defaultUserContext = function(value) { PageMethods._staticInstance.set_defaultUserContext(value); }
PageMethods.get_defaultUserContext = function() { return PageMethods._staticInstance.get_defaultUserContext(); }
PageMethods.set_defaultSucceededCallback = function(value) { PageMethods._staticInstance.set_defaultSucceededCallback(value); }
PageMethods.get_defaultSucceededCallback = function() { return PageMethods._staticInstance.get_defaultSucceededCallback(); }
PageMethods.set_defaultFailedCallback = function(value) { PageMethods._staticInstance.set_defaultFailedCallback(value); }
PageMethods.get_defaultFailedCallback = function() { return PageMethods._staticInstance.get_defaultFailedCallback(); }
PageMethods.set_path("/default.aspx");
PageMethods.GetStreamingMediaData= function(mediaId,connectionSpeed,onSuccess,onFailed,userContext) {PageMethods._staticInstance.GetStreamingMediaData(mediaId,connectionSpeed,onSuccess,onFailed,userContext); }
PageMethods.SaveConnectionSpeed= function(connectionSpeed,onSuccess,onFailed,userContext) {PageMethods._staticInstance.SaveConnectionSpeed(connectionSpeed,onSuccess,onFailed,userContext); }
PageMethods.PlaceVote= function(mediaId,onSuccess,onFailed,userContext) {PageMethods._staticInstance.PlaceVote(mediaId,onSuccess,onFailed,userContext); }
PageMethods.SubmitSurvey= function(ageGroup,politicalId,adThought,spotThought,gdCust,ipAddress,onSuccess,onFailed,userContext) {PageMethods._staticInstance.SubmitSurvey(ageGroup,politicalId,adThought,spotThought,gdCust,ipAddress,onSuccess,onFailed,userContext); }
if (typeof(ConnectionSpeed) === 'undefined') {
ConnectionSpeed = function() { throw Error.invalidOperation(); }
ConnectionSpeed.prototype = {Unknown: 0,High: 1,Low: 2}
ConnectionSpeed.registerEnum('ConnectionSpeed', true);
}
//]]> 