var MSK2=function() {
MSK2.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MSK2.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MSK2._staticInstance.get_path();},
RegisterVotes:function(GenderID,M,S,K,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RegisterVotes',false,{GenderID:GenderID,M:M,S:S,K:K},succeededCallback,failedCallback,userContext); },
GetMSK:function(GenderID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMSK',false,{GenderID:GenderID},succeededCallback,failedCallback,userContext); }}
MSK2.registerClass('MSK2',Sys.Net.WebServiceProxy);
MSK2._staticInstance = new MSK2();
MSK2.set_path = function(value) { MSK2._staticInstance.set_path(value); }
MSK2.get_path = function() { return MSK2._staticInstance.get_path(); }
MSK2.set_timeout = function(value) { MSK2._staticInstance.set_timeout(value); }
MSK2.get_timeout = function() { return MSK2._staticInstance.get_timeout(); }
MSK2.set_defaultUserContext = function(value) { MSK2._staticInstance.set_defaultUserContext(value); }
MSK2.get_defaultUserContext = function() { return MSK2._staticInstance.get_defaultUserContext(); }
MSK2.set_defaultSucceededCallback = function(value) { MSK2._staticInstance.set_defaultSucceededCallback(value); }
MSK2.get_defaultSucceededCallback = function() { return MSK2._staticInstance.get_defaultSucceededCallback(); }
MSK2.set_defaultFailedCallback = function(value) { MSK2._staticInstance.set_defaultFailedCallback(value); }
MSK2.get_defaultFailedCallback = function() { return MSK2._staticInstance.get_defaultFailedCallback(); }
MSK2.set_path("/Games/MarryShagKill/MSK2.asmx");
MSK2.RegisterVotes= function(GenderID,M,S,K,onSuccess,onFailed,userContext) {MSK2._staticInstance.RegisterVotes(GenderID,M,S,K,onSuccess,onFailed,userContext); }
MSK2.GetMSK= function(GenderID,onSuccess,onFailed,userContext) {MSK2._staticInstance.GetMSK(GenderID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(MSKData) === 'undefined') {
var MSKData=gtc("MSKData");
MSKData.registerClass('MSKData');
}
