﻿//--------------------------------------------------------------
// Copyright (C) 2006 Michael Schwarz (http://www.ajaxpro.info).
// All rights reserved.
//--------------------------------------------------------------

// prototype.js
Object.extend = function(dest, source, replace) {
	for(var prop in source) {
		if(replace == false && dest[prop] != null) { continue; }
		dest[prop] = source[prop];
	}
	return dest;
};

Object.extend(Function.prototype, {
	apply: function(o, a) {
		var r, x = "__fapply";
		if(typeof o != "object") { o = {}; }
		o[x] = this;
		var s = "r = o." + x + "(";
		for(var i=0; i<a.length; i++) {
			if(i>0) { s += ","; }
			s += "a[" + i + "]";
		}
		s += ");";
		eval(s);
		delete o[x];
		return r;
	},
	bind: function(o) {
		if(!Function.__objs) {
			Function.__objs = [];
			Function.__funcs = [];
		}
		var objId = o.__oid;
		if(!objId) {
			Function.__objs[objId = o.__oid = Function.__objs.length] = o;
		}

		var me = this;
		var funcId = me.__fid;
		if(!funcId) {
			Function.__funcs[funcId = me.__fid = Function.__funcs.length] = me;
		}

		if(!o.__closures) {
			o.__closures = [];
		}

		var closure = o.__closures[funcId];
		if(closure) {
			return closure;
		}

		o = null;
		me = null;

		return Function.__objs[objId].__closures[funcId] = function() {
			return Function.__funcs[funcId].apply(Function.__objs[objId], arguments);
		};
	}
}, false);

Object.extend(Array.prototype, {
	push: function(o) {
		this[this.length] = o;
	},
	addRange: function(items) {
		if(items.length > 0) {
			for(var i=0; i<items.length; i++) {
				this.push(items[i]);
			}
		}
	},
	clear: function() {
		this.length = 0;
		return this;
	},
	shift: function() {
		if(this.length == 0) { return null; }
		var o = this[0];
		for(var i=0; i<this.length-1; i++) {
			this[i] = this[i + 1];
		}
		this.length--;
		return o;
	}
}, false);

Object.extend(String.prototype, {
	trimLeft: function() {
		return this.replace(/^\s*/,"");
	},
	trimRight: function() {
		return this.replace(/\s*$/,"");
	},
	trim: function() {
		return this.trimRight().trimLeft();
	},
	endsWith: function(s) {
		if(this.length == 0 || this.length < s.length) { return false; }
		return (this.substr(this.length - s.length) == s);
	},
	startsWith: function(s) {
		if(this.length == 0 || this.length < s.length) { return false; }
		return (this.substr(0, s.length) == s);
	},
	split: function(c) {
		var a = [];
		if(this.length == 0) return a;
		var p = 0;
		for(var i=0; i<this.length; i++) {
			if(this.charAt(i) == c) {
				a.push(this.substring(p, i));
				p = ++i;
			}
		}
		a.push(s.substr(p));
		return a;
	}
}, false);

Object.extend(String, {
	format: function(s) {
		for(var i=1; i<arguments.length; i++) {
			s = s.replace("{" + (i -1) + "}", arguments[i]);
		}
		return s;
	},
	isNullOrEmpty: function(s) {
		if(s == null || s.length == 0) {
			return true;
		}
		return false;
	}
}, false);

if(typeof addEvent == "undefined")
	addEvent = function(o, evType, f, capture) {
		if(o == null) { return false; }
		if(o.addEventListener) {
			o.addEventListener(evType, f, capture);
			return true;
		} else if (o.attachEvent) {
			var r = o.attachEvent("on" + evType, f);
			return r;
		} else {
			try{ o["on" + evType] = f; }catch(e){}
		}
	};
	
if(typeof removeEvent == "undefined")
	removeEvent = function(o, evType, f, capture) {
		if(o == null) { return false; }
		if(o.removeEventListener) {
			o.removeEventListener(evType, f, capture);
			return true;
		} else if (o.detachEvent) {
			o.detachEvent("on" + evType, f);
		} else {
			try{ o["on" + evType] = function(){}; }catch(e){}
		}
	};
//--------------------------------------------------------------
// Copyright (C) 2006 Michael Schwarz (http://www.ajaxpro.info).
// All rights reserved.
//--------------------------------------------------------------

// core.js
Object.extend(Function.prototype, {
	getArguments: function() {
		var args = [];
		for(var i=0; i<this.arguments.length; i++) {
			args.push(this.arguments[i]);
		}
		return args;
	}
}, false);

var MS = {"Browser":{}};

Object.extend(MS.Browser, {
	isIE: navigator.userAgent.indexOf('MSIE') != -1,
	isFirefox: navigator.userAgent.indexOf('Firefox') != -1,
	isOpera: window.opera != null
}, false);

var AjaxPro = {};

AjaxPro.IFrameXmlHttp = function() {};
AjaxPro.IFrameXmlHttp.prototype = {
	onreadystatechange: null, headers: [], method: "POST", url: null, async: true, iframe: null,
	status: 0, readyState: 0, responseText: null,
	abort: function() {
	},
	readystatechanged: function() {
		var doc = this.iframe.contentDocument || this.iframe.document;
		if(doc != null && doc.readyState == "complete" && doc.body != null && doc.body.res != null) {
			this.status = 200;
			this.statusText = "OK";
			this.readyState = 4;
			this.responseText = doc.body.res;
			this.onreadystatechange();
			return;
		}
		setTimeout(this.readystatechanged.bind(this), 10);
	},
	open: function(method, url, async) {
		if(async == false) {
			alert("Synchronous call using IFrameXMLHttp is not supported.");
			return;
		}
		if(this.iframe == null) {
			var iframeID = "hans";
			if (document.createElement && document.documentElement &&
				(window.opera || navigator.userAgent.indexOf('MSIE 5.0') == -1))
			{
				var ifr = document.createElement('iframe');
				ifr.setAttribute('id', iframeID);
				ifr.style.visibility = 'hidden';
				ifr.style.position = 'absolute';
				ifr.style.width = ifr.style.height = ifr.borderWidth = '0px';

				this.iframe = document.getElementsByTagName('body')[0].appendChild(ifr);
			}
			else if (document.body && document.body.insertAdjacentHTML)
			{
				document.body.insertAdjacentHTML('beforeEnd', '<iframe name="' + iframeID + '" id="' + iframeID + '" style="border:1px solid black;display:none"></iframe>');
			}
			if (window.frames && window.frames[iframeID]) {
				this.iframe = window.frames[iframeID];
			}
			this.iframe.name = iframeID;
			this.iframe.document.open();
			this.iframe.document.write("<html><body></body></html>");
			this.iframe.document.close();
		}
		this.method = method;
		this.url = url;
		this.async = async;
	},
	setRequestHeader: function(name, value) {
		for(var i=0; i<this.headers.length; i++) {
			if(this.headers[i].name == name) {
				this.headers[i].value = value;
				return;
			}
		}
		this.headers.push({"name":name,"value":value});
	},
	getResponseHeader: function(name, value) {
		return null;
	},
	addInput: function(doc, form, name, value) {
		var ele;
		var tag = "input";
		if(value.indexOf("\n") >= 0) {
			tag = "textarea";
		}
		
		if(doc.all) {
			ele = doc.createElement("<" + tag + " name=\"" + name + "\" />");
		}else{
			ele = doc.createElement(tag);
			ele.setAttribute("name", name);
		}
		ele.setAttribute("value", value);
		form.appendChild(ele);
		ele = null;
	},
	send: function(data) {
		if(this.iframe == null) {
			return;
		}
		var doc = this.iframe.contentDocument || this.iframe.document;
		var form = doc.createElement("form");
		
		doc.body.appendChild(form);
		
		form.setAttribute("action", this.url);
		form.setAttribute("method", this.method);
		form.setAttribute("enctype", "application/x-www-form-urlencoded");
		
		for(var i=0; i<this.headers.length; i++) {
			switch(this.headers[i].name.toLowerCase()) {
				case "content-length":
				case "accept-encoding":
				case "content-type":
					break;
				default:
					this.addInput(doc, form, this.headers[i].name, this.headers[i].value);
			}
		}
		this.addInput(doc, form, "data", data);
		form.submit();
		
		setTimeout(this.readystatechanged.bind(this), 0);
	}
};

var progids = ["Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
var progid = null;

if(typeof ActiveXObject != "undefined") {
	var ie7xmlhttp = false;
	if(typeof XMLHttpRequest == "object") {
		try{ var o = new XMLHttpRequest(); ie7xmlhttp = true; }catch(e){}
	}
	if(typeof XMLHttpRequest == "undefined" || !ie7xmlhttp) {
		XMLHttpRequest = function() {
			var xmlHttp = null;
			if(!AjaxPro.noActiveX) {
				if(progid != null) {
					return new ActiveXObject(progid);
				}
				for(var i=0; i<progids.length && xmlHttp == null; i++) {
					try {
						xmlHttp = new ActiveXObject(progids[i]);
						progid = progids[i];

					}catch(e){}
				}
			}
			if(xmlHttp == null && MS.Browser.isIE) {
				return new AjaxPro.IFrameXmlHttp();
			}
			return xmlHttp;
		};
	}
}

Object.extend(AjaxPro, {
	noOperation: function() {},
	onLoading: function() {},
	onError: function() {},
	onTimeout: function() {},
	onStateChanged: function() {},
	cryptProvider: null,
	queue: null,
	token: "",
	version: "6.10.6.2",
	ID: "AjaxPro",
	noActiveX: false,
	timeoutPeriod: 10*1000,
	queue: null,
	noUtcTime: false,
	m : {
		'\b': '\\b',
		'\t': '\\t',
		'\n': '\\n',
		'\f': '\\f',
		'\r': '\\r',
		'"' : '\\"',
		'\\': '\\\\'
	},
	toJSON: function(o) {	
		if(o == null) {
			return "null";
		}
		var v = [];
		var i;
		var c = o.constructor;
		if(c == Number) {
			return isFinite(o) ? o.toString() : AjaxPro.toJSON(null);
		} else if(c == Boolean) {
			return o.toString();
		} else if(c == String) {
			if (/["\\\x00-\x1f]/.test(o)) {
				o = o.replace(/([\x00-\x1f\\"])/g, function(a, b) {
					var c = AjaxPro.m[b];
					if (c) {
						return c;
					}
					c = b.charCodeAt();
					return '\\u00' +
						Math.floor(c / 16).toString(16) +
						(c % 16).toString(16);
				});
            }
			return '"' + o + '"';
		} else if (c == Array) {
			for(i=0; i<o.length; i++) {
				v.push(AjaxPro.toJSON(o[i]));
			}
			return "[" + v.join(",") + "]";
		} else if (c == Date) {
			var d = {};
			d.__type = "System.DateTime";
			if(AjaxPro.noUtcTime == true) {
				d.Year = o.getFullYear();
				d.Month = o.getMonth() +1;
				d.Day = o.getDate();
				d.Hour = o.getHours();
				d.Minute = o.getMinutes();
				d.Second = o.getSeconds();
				d.Millisecond = o.getMilliseconds();
			} else {
				d.Year = o.getUTCFullYear();
				d.Month = o.getUTCMonth() +1;
				d.Day = o.getUTCDate();
				d.Hour = o.getUTCHours();
				d.Minute = o.getUTCMinutes();
				d.Second = o.getUTCSeconds();
				d.Millisecond = o.getUTCMilliseconds();
			}
			return AjaxPro.toJSON(d);
		}
		if(typeof o.toJSON == "function") {
			return o.toJSON();
		}
		if(typeof o == "object") {
			for(var attr in o) {
				if(typeof o[attr] != "function") {
					v.push('"' + attr + '":' + AjaxPro.toJSON(o[attr]));
				}
			}
			if(v.length>0) {
				return "{" + v.join(",") + "}";
			}
			return "{}";		
		}
		return o.toString();
	},
	dispose: function() {
		if(AjaxPro.queue != null) {
			AjaxPro.queue.dispose();
		}
	}
}, false);

addEvent(window, "unload", AjaxPro.dispose);

AjaxPro.Request = function(url) {
	this.url = url;
	this.xmlHttp = null;
};

AjaxPro.Request.prototype = {
	url: null,
	callback: null,
	onLoading: AjaxPro.noOperation,
	onError: AjaxPro.noOperation,
	onTimeout: AjaxPro.noOperation,
	onStateChanged: AjaxPro.noOperation,
	args: null,
	context: null,
	isRunning: false,
	abort: function() {
		if(this.timeoutTimer != null) {
			clearTimeout(this.timeoutTimer);
		}
		if(this.xmlHttp) {
			this.xmlHttp.onreadystatechange = AjaxPro.noOperation;
			this.xmlHttp.abort();
		}
		if(this.isRunning) {
			this.isRunning = false;
			this.onLoading(false);
		}
	},
	dispose: function() {
		this.abort();
	},
	getEmptyRes: function() {
		return {
			error: null,
			value: null,
			request: {method:this.method, args:this.args},
			context: this.context,
			duration: this.duration
		};	
	},
	endRequest: function(res) {
		this.abort();
		if(res.error != null) {
			this.onError(res.error, this);
		}

		if(typeof this.callback == "function") {
			this.callback(res, this);
		}
	},
	mozerror: function() {
		if(this.timeoutTimer != null) {
			clearTimeout(this.timeoutTimer);
		}
		var res = this.getEmptyRes();
		res.error = {Message:"Unknown",Type:"ConnectFailure",Status:0};
		this.endRequest(res);
	},
	doStateChange: function() {
		this.onStateChanged(this.xmlHttp.readyState, this);

		if(this.xmlHttp.readyState != 4 || !this.isRunning) {
			return;
		}

		this.duration = new Date().getTime() - this.__start;

		if(this.timeoutTimer != null) {
			clearTimeout(this.timeoutTimer);
		}

		var res = this.getEmptyRes();
		if(this.xmlHttp.status == 200 && this.xmlHttp.statusText == "OK") {
			res = this.createResponse(res);
		} else {
			res = this.createResponse(res, true);
			res.error = {Message:this.xmlHttp.statusText,Type:"ConnectFailure",Status:this.xmlHttp.status};
		}
		
		this.endRequest(res);
	},
	createResponse: function(r, noContent) {	
		if(!noContent) {
			var responseText = "" + this.xmlHttp.responseText;

			if(AjaxPro.cryptProvider != null && typeof AjaxPro.cryptProvider == "function") {
				responseText = AjaxPro.cryptProvider.decrypt(responseText);
			}

			if(this.xmlHttp.getResponseHeader("Content-Type") == "text/xml") {
				r.value = this.xmlHttp.responseXML;
			} else {
				if(responseText != null && responseText.trim().length > 0) {
					r.json = responseText;
					eval("r.value = " + responseText + "*" + "/");
				}
			}
		}
		/* if(this.xmlHttp.getResponseHeader("X-" + AjaxPro.ID + "-Cache") == "server") {
			r.isCached = true;
		} */
		return r;
	},
	timeout: function() {
		this.duration = new Date().getTime() - this.__start;
		var r = this.onTimeout(this.duration, this);
		if(typeof r == "undefined" || r != false) {
			this.abort();
		} else {
			this.timeoutTimer = setTimeout(this.timeout.bind(this), AjaxPro.timeoutPeriod);
		}
	},
	invoke: function(method, args, callback, context) {
		this.__start = new Date().getTime();

		if(this.xmlHttp == null) {
			this.xmlHttp = new XMLHttpRequest();
		}

		this.isRunning = true;
		this.method = method;
		this.args = args;
		this.callback = callback;
		this.context = context;
		
		var async = typeof(callback) == "function" && callback != AjaxPro.noOperation;
		
		if(async) {
			if(MS.Browser.isIE) {
				this.xmlHttp.onreadystatechange = this.doStateChange.bind(this);
			} else {
				this.xmlHttp.onload = this.doStateChange.bind(this);
				this.xmlHttp.onerror = this.mozerror.bind(this);
			}
			this.onLoading(true);
		}
		
		var json = AjaxPro.toJSON(args) + "";
		if(AjaxPro.cryptProvider != null) {
			json = AjaxPro.cryptProvider.encrypt(json);
		}
		
		this.xmlHttp.open("POST", this.url, async);
		this.xmlHttp.setRequestHeader("Content-Type", "text/plain; charset=utf-8");
		this.xmlHttp.setRequestHeader("X-" + AjaxPro.ID + "-Method", method);
		
		if(AjaxPro.token != null && AjaxPro.token.length > 0) {
			this.xmlHttp.setRequestHeader("X-" + AjaxPro.ID + "-Token", AjaxPro.token);
		}

		if(!MS.Browser.isIE) {
			this.xmlHttp.setRequestHeader("Connection", "close");		// Mozilla Bug #246651
		}

		this.timeoutTimer = setTimeout(this.timeout.bind(this), AjaxPro.timeoutPeriod);

		try{ this.xmlHttp.send(json); }catch(e){}	// IE offline exception

		if(!async) {
			return this.createResponse({error: null,value: null});
		}

		return true;	
	}
};

AjaxPro.RequestQueue = function(conc) {
	this.queue = [];
	this.requests = [];
	this.timer = null;
	
	if(isNaN(conc)) { conc = 2; }

	for(var i=0; i<conc; i++) {		// max 2 http connections
		this.requests[i] = new AjaxPro.Request();
		this.requests[i].callback = function(res) {
			var r = res.context;
			res.context = r[3][1];

			r[3][0](res, this);
		};
		this.requests[i].callbackHandle = this.requests[i].callback.bind(this.requests[i]);
	}
};

AjaxPro.RequestQueue.prototype = {
	process: function() {
	
		this.timer = null;
		if(this.queue.length == 0) {
			return;
		}
		for(var i=0; i<this.requests.length && this.queue.length > 0; i++) {
			if(this.requests[i].isRunning == false) {
				var r = this.queue.shift();

				this.requests[i].url = r[0];
				this.requests[i].onLoading = r[3].length >2 && r[3][2] != null && typeof r[3][2] == "function" ? r[3][2] : AjaxPro.onLoading;
				this.requests[i].onError = r[3].length >3 && r[3][3] != null && typeof r[3][3] == "function" ? r[3][3] : AjaxPro.onError;
				this.requests[i].onTimeout = r[3].length >4 && r[3][4] != null && typeof r[3][4] == "function" ? r[3][4] : AjaxPro.onTimeout;
				this.requests[i].onStateChanged = r[3].length >5 && r[3][5] != null && typeof r[3][5] == "function" ? r[3][5] : AjaxPro.onStateChanged;

				this.requests[i].invoke(r[1], r[2], this.requests[i].callbackHandle, r);
				r = null;
			}
		}
		if(this.queue.length > 0 && this.timer == null) {
			this.timer = setTimeout(this.process.bind(this), 0);
		}
	},
	add: function(url, method, args, e) {

// txt += "\r\nqueue.add " + (new Date().getTime() - ss);

		this.queue.push([url, method, args, e]);
/*		
		if(this.timer == null) {
			this.timer = setTimeout(this.process.bind(this), 0);
		}
*/
		this.process();
	},
	abort: function() {
		this.queue.length = 0;
		if (this.timer != null) {
			clearTimeout(this.timer);
		}
		this.timer = null;
		for(var i=0; i<this.requests.length; i++) {
			if(this.requests[i].isRunning == true) {
				this.requests[i].abort();
			}
		}
	},
	dispose: function() {
		for(var i=0; i<this.requests.length; i++) {
			var r = this.requests[i];
			r.dispose();
		}
		this.requests.clear();
	}
};

AjaxPro.queue = new AjaxPro.RequestQueue(2);	// 2 http connections

AjaxPro.AjaxClass = function(url) {
	this.url = url;
};

AjaxPro.AjaxClass.prototype = {
	invoke: function(method, args, e) {
	
		if(e != null) {
			if(e.length != 6) {
				for(;e.length<6;) { e.push(null); }
			}
			if(e[0] != null && typeof(e[0]) == "function") {
				return AjaxPro.queue.add(this.url, method, args, e);
			}
		}
		var r = new AjaxPro.Request();
		r.url = this.url;
		return r.invoke(method, args);
	}
};
//--------------------------------------------------------------
// Copyright (C) 2006 Michael Schwarz (http://www.ajaxpro.info).
// All rights reserved.
//--------------------------------------------------------------
// Converter.js

// NameValueCollectionConverter
if(typeof Ajax == "undefined") Ajax={};
if(typeof Ajax.Web == "undefined") Ajax.Web={};
if(typeof Ajax.Web.NameValueCollection == "undefined") Ajax.Web.NameValueCollection={};

Ajax.Web.NameValueCollection = function(items) {
	this.__type = "System.Collections.Specialized.NameValueCollection";
	this.keys = [];
	this.values = [];

	if(items != null && !isNaN(items.length)) {
		for(var i=0; i<items.length; i++)
			this.add(items[i][0], items[i][1]);
	}
};
Object.extend(Ajax.Web.NameValueCollection.prototype, {
	add: function(k, v) {
		if(k == null || k.constructor != String || v == null || v.constructor != String)
			return -1;
		this.keys.push(k);
		this.values.push(v);
		return this.values.length -1;
	},
	containsKey: function(key) {
		for(var i=0; i<this.keys.length; i++) {
			if(this.keys[i] == key) return true;
		}
		return false;
	},
	getKeys: function() {
		return this.keys;
	},
	getValue: function(k) {
		for(var i=0; i<this.keys.length && i<this.values.length; i++) {
			if(this.keys[i] == k) return this.values[i];
		}
		return null;
	},
	setValue: function(k, v) {
		if(k == null || k.constructor != String || v == null || v.constructor != String)
			return -1;
		for(var i=0; i<this.keys.length && i<this.values.length; i++) {
			if(this.keys[i] == k) this.values[i] = v;
			return i;
		}
		return this.add(k, v);
	},
	toJSON: function() {
		return AjaxPro.toJSON({__type:this.__type,keys:this.keys,values:this.values});
	}
}, true);

// DataSetConverter
if(typeof Ajax == "undefined") Ajax={};
if(typeof Ajax.Web == "undefined") Ajax.Web={};
if(typeof Ajax.Web.DataSet == "undefined") Ajax.Web.DataSet={};

Ajax.Web.DataSet = function(t) {
	this.__type = "System.Data.DataSet,System.Data";
	this.Tables = [];
	this.addTable = function(t) {
		this.Tables.push(t);
	};
	if(t != null) {
		for(var i=0; i<t.length; i++) {
			this.addTable(t[i]);
		}
	}
};

// DataTableConverter
if(typeof Ajax == "undefined") Ajax={};
if(typeof Ajax.Web == "undefined") Ajax.Web={};
if(typeof Ajax.Web.DataTable == "undefined") Ajax.Web.DataTable={};

Ajax.Web.DataTable = function(c, r) {
	this.__type = "System.Data.DataTable,System.Data";
	this.Columns = [];
	this.Rows = [];
	this.addColumn = function(name, type) {
		this.Columns.push({Name:name,__type:type});
	};
	this.toJSON = function() {
		var dt = {};
		var i;
		dt.Columns = [];
		for(i=0; i<this.Columns.length; i++)
			dt.Columns.push([this.Columns[i].Name, this.Columns[i].__type]);
		dt.Rows = [];
		for(i=0; i<this.Rows.length; i++) {
			var row = [];
			for(var j=0; j<this.Columns.length; j++)
				row.push(this.Rows[i][this.Columns[j].Name]);
			dt.Rows.push(row);
		}
		return AjaxPro.toJSON(dt);
	};
	this.addRow = function(row) {
		this.Rows.push(row);
	};
	if(c != null) {
		for(var i=0; i<c.length; i++)
			this.addColumn(c[i][0], c[i][1]);
	}
	if(r != null) {
		for(var y=0; y<r.length; y++) {
			var row = {};
			for(var z=0; z<this.Columns.length && z<r[y].length; z++)
				row[this.Columns[z].Name] = r[y][z];
			this.addRow(row);
		}
	}
};

// ProfileBaseConverter
if(typeof Ajax == "undefined") Ajax={};
if(typeof Ajax.Web == "undefined") Ajax.Web={};
if(typeof Ajax.Web.Profile == "undefined") Ajax.Web.Profile={};

Ajax.Web.Profile = function() {
	this.toJSON = function() {
		throw "Ajax.Web.Profile cannot be converted to JSON format.";
	};
	this.setProperty_callback = function(res) {
	};
	this.setProperty = function(name, object) {
		this[name] = object;
		AjaxPro.Services.Profile.SetProfile({name:o}, this.setProperty_callback.bind(this));
	};
};

// IDictionaryConverter
if(typeof Ajax == "undefined") Ajax={};
if(typeof Ajax.Web == "undefined") Ajax.Web={};
if(typeof Ajax.Web.Dictionary == "undefined") Ajax.Web.Dictionary={};

Ajax.Web.Dictionary = function(type,items) {
	this.__type = type;
	this.keys = [];
	this.values = [];

	if(items != null && !isNaN(items.length)) {
		for(var i=0; i<items.length; i++)
			this.add(items[i][0], items[i][1]);
	}
};
Object.extend(Ajax.Web.Dictionary.prototype, {
	add: function(k, v) {
		this.keys.push(k);
		this.values.push(v);
		return this.values.length -1;
	},
	containsKey: function(key) {
		for(var i=0; i<this.keys.length; i++) {
			if(this.keys[i] == key) return true;
		}
		return false;
	},
	getKeys: function() {
		return this.keys;
	},
	getValue: function(key) {
		for(var i=0; i<this.keys.length && i<this.values.length; i++) {
			if(this.keys[i] == key){ return this.values[i]; }
		}
		return null;
	},
	setValue: function(k, v) {
		for(var i=0; i<this.keys.length && i<this.values.length; i++) {
			if(this.keys[i] == k){ this.values[i] = v; }
			return i;
		}
		return this.add(k, v);
	},
	toJSON: function() {
		return AjaxPro.toJSON({__type:this.__type,keys:this.keys,values:this.values});
	}
}, true);

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS._Default == "undefined") CpushIMS._Default={};
CpushIMS._Default_class = function() {};
Object.extend(CpushIMS._Default_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetBlock: function(BlockID) {
		return this.invoke("GetBlock", {"BlockID":BlockID}, this.GetBlock.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS._Default,CpushIMS.ashx'
}));
CpushIMS._Default = new CpushIMS._Default_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Helpinfo == "undefined") CpushIMS.File_Helpinfo={};
CpushIMS.File_Helpinfo_class = function() {};
Object.extend(CpushIMS.File_Helpinfo_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Helpinfo,CpushIMS.ashx'
}));
CpushIMS.File_Helpinfo = new CpushIMS.File_Helpinfo_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Template == "undefined") CpushIMS.Block_Template={};
CpushIMS.Block_Template_class = function() {};
Object.extend(CpushIMS.Block_Template_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SetTemplate: function(TemplateName) {
		return this.invoke("SetTemplate", {"TemplateName":TemplateName}, this.SetTemplate.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS.Block_Template,CpushIMS.ashx'
}));
CpushIMS.Block_Template = new CpushIMS.Block_Template_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_vote_weektop == "undefined") CpushIMS.Block_News_vote_weektop={};
CpushIMS.Block_News_vote_weektop_class = function() {};
Object.extend(CpushIMS.Block_News_vote_weektop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_vote_weektop,CpushIMS.ashx'
}));
CpushIMS.Block_News_vote_weektop = new CpushIMS.Block_News_vote_weektop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Default_newtextintro == "undefined") CpushIMS.Block_Default_newtextintro={};
CpushIMS.Block_Default_newtextintro_class = function() {};
Object.extend(CpushIMS.Block_Default_newtextintro_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Default_newtextintro,CpushIMS.ashx'
}));
CpushIMS.Block_Default_newtextintro = new CpushIMS.Block_Default_newtextintro_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Class_child_info == "undefined") CpushIMS.Block_Class_child_info={};
CpushIMS.Block_Class_child_info_class = function() {};
Object.extend(CpushIMS.Block_Class_child_info_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Class_child_info,CpushIMS.ashx'
}));
CpushIMS.Block_Class_child_info = new CpushIMS.Block_Class_child_info_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Register == "undefined") CpushIMS.File_Register={};
CpushIMS.File_Register_class = function() {};
Object.extend(CpushIMS.File_Register_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Register,CpushIMS.ashx'
}));
CpushIMS.File_Register = new CpushIMS.File_Register_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Empty == "undefined") CpushIMS.File_Empty={};
CpushIMS.File_Empty_class = function() {};
Object.extend(CpushIMS.File_Empty_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Empty,CpushIMS.ashx'
}));
CpushIMS.File_Empty = new CpushIMS.File_Empty_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Vote == "undefined") CpushIMS.Block_Vote={};
CpushIMS.Block_Vote_class = function() {};
Object.extend(CpushIMS.Block_Vote_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	VoteChoiceID: function(Vid) {
		return this.invoke("VoteChoiceID", {"Vid":Vid}, this.VoteChoiceID.getArguments().slice(1));
	},
	VoteChoiceAdd: function(VoteID, VoteChoiceID) {
		return this.invoke("VoteChoiceAdd", {"VoteID":VoteID, "VoteChoiceID":VoteChoiceID}, this.VoteChoiceAdd.getArguments().slice(2));
	},
	VoteChoiceDel: function(VoteChoiceID) {
		return this.invoke("VoteChoiceDel", {"VoteChoiceID":VoteChoiceID}, this.VoteChoiceDel.getArguments().slice(1));
	},
	VoteChoiceItemAdd: function(VoteID, VoteChoice) {
		return this.invoke("VoteChoiceItemAdd", {"VoteID":VoteID, "VoteChoice":VoteChoice}, this.VoteChoiceItemAdd.getArguments().slice(2));
	},
	url: '/ajaxpro/CpushIMS.Block_Vote,CpushIMS.ashx'
}));
CpushIMS.Block_Vote = new CpushIMS.Block_Vote_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Vote_other == "undefined") CpushIMS.Block_Vote_other={};
CpushIMS.Block_Vote_other_class = function() {};
Object.extend(CpushIMS.Block_Vote_other_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Vote_other,CpushIMS.ashx'
}));
CpushIMS.Block_Vote_other = new CpushIMS.Block_Vote_other_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Member_menu == "undefined") CpushIMS.Block_Member_menu={};
CpushIMS.Block_Member_menu_class = function() {};
Object.extend(CpushIMS.Block_Member_menu_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Member_menu,CpushIMS.ashx'
}));
CpushIMS.Block_Member_menu = new CpushIMS.Block_Member_menu_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_visit_daytop == "undefined") CpushIMS.Block_News_visit_daytop={};
CpushIMS.Block_News_visit_daytop_class = function() {};
Object.extend(CpushIMS.Block_News_visit_daytop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_visit_daytop,CpushIMS.ashx'
}));
CpushIMS.Block_News_visit_daytop = new CpushIMS.Block_News_visit_daytop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsinfo_topnewpic == "undefined") CpushIMS.Block_Newsinfo_topnewpic={};
CpushIMS.Block_Newsinfo_topnewpic_class = function() {};
Object.extend(CpushIMS.Block_Newsinfo_topnewpic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsinfo_topnewpic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsinfo_topnewpic = new CpushIMS.Block_Newsinfo_topnewpic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Newsspeciallist == "undefined") CpushIMS.File_Newsspeciallist={};
CpushIMS.File_Newsspeciallist_class = function() {};
Object.extend(CpushIMS.File_Newsspeciallist_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Newsspeciallist,CpushIMS.ashx'
}));
CpushIMS.File_Newsspeciallist = new CpushIMS.File_Newsspeciallist_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Newsclass_list == "undefined") CpushIMS.File_Newsclass_list={};
CpushIMS.File_Newsclass_list_class = function() {};
Object.extend(CpushIMS.File_Newsclass_list_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Newsclass_list,CpushIMS.ashx'
}));
CpushIMS.File_Newsclass_list = new CpushIMS.File_Newsclass_list_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Default_commend_pic == "undefined") CpushIMS.Block_Default_commend_pic={};
CpushIMS.Block_Default_commend_pic_class = function() {};
Object.extend(CpushIMS.Block_Default_commend_pic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Default_commend_pic,CpushIMS.ashx'
}));
CpushIMS.Block_Default_commend_pic = new CpushIMS.Block_Default_commend_pic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_visit_weektop == "undefined") CpushIMS.Block_News_visit_weektop={};
CpushIMS.Block_News_visit_weektop_class = function() {};
Object.extend(CpushIMS.Block_News_visit_weektop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_visit_weektop,CpushIMS.ashx'
}));
CpushIMS.Block_News_visit_weektop = new CpushIMS.Block_News_visit_weektop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsinfo_tophitspic == "undefined") CpushIMS.Block_Newsinfo_tophitspic={};
CpushIMS.Block_Newsinfo_tophitspic_class = function() {};
Object.extend(CpushIMS.Block_Newsinfo_tophitspic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsinfo_tophitspic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsinfo_tophitspic = new CpushIMS.Block_Newsinfo_tophitspic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_commandpic == "undefined") CpushIMS.Block_Newsmclass_commandpic={};
CpushIMS.Block_Newsmclass_commandpic_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_commandpic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_commandpic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_commandpic = new CpushIMS.Block_Newsmclass_commandpic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Helps == "undefined") CpushIMS.File_Helps={};
CpushIMS.File_Helps_class = function() {};
Object.extend(CpushIMS.File_Helps_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Helps,CpushIMS.ashx'
}));
CpushIMS.File_Helps = new CpushIMS.File_Helps_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Help_class == "undefined") CpushIMS.File_Help_class={};
CpushIMS.File_Help_class_class = function() {};
Object.extend(CpushIMS.File_Help_class_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Help_class,CpushIMS.ashx'
}));
CpushIMS.File_Help_class = new CpushIMS.File_Help_class_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_visit_monthtop == "undefined") CpushIMS.Block_News_visit_monthtop={};
CpushIMS.Block_News_visit_monthtop_class = function() {};
Object.extend(CpushIMS.Block_News_visit_monthtop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_visit_monthtop,CpushIMS.ashx'
}));
CpushIMS.Block_News_visit_monthtop = new CpushIMS.Block_News_visit_monthtop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_topnewpic == "undefined") CpushIMS.Block_Newsmclass_topnewpic={};
CpushIMS.Block_Newsmclass_topnewpic_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_topnewpic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_topnewpic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_topnewpic = new CpushIMS.Block_Newsmclass_topnewpic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Class_curr_info == "undefined") CpushIMS.Block_Class_curr_info={};
CpushIMS.Block_Class_curr_info_class = function() {};
Object.extend(CpushIMS.Block_Class_curr_info_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Class_curr_info,CpushIMS.ashx'
}));
CpushIMS.Block_Class_curr_info = new CpushIMS.Block_Class_curr_info_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Newscomment == "undefined") CpushIMS.File_Newscomment={};
CpushIMS.File_Newscomment_class = function() {};
Object.extend(CpushIMS.File_Newscomment_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Newscomment,CpushIMS.ashx'
}));
CpushIMS.File_Newscomment = new CpushIMS.File_Newscomment_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Newsclass_parent_list == "undefined") CpushIMS.File_Newsclass_parent_list={};
CpushIMS.File_Newsclass_parent_list_class = function() {};
Object.extend(CpushIMS.File_Newsclass_parent_list_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Newsclass_parent_list,CpushIMS.ashx'
}));
CpushIMS.File_Newsclass_parent_list = new CpushIMS.File_Newsclass_parent_list_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Link_picture == "undefined") CpushIMS.Block_Link_picture={};
CpushIMS.Block_Link_picture_class = function() {};
Object.extend(CpushIMS.Block_Link_picture_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Link_picture,CpushIMS.ashx'
}));
CpushIMS.Block_Link_picture = new CpushIMS.Block_Link_picture_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Help_list == "undefined") CpushIMS.Block_Help_list={};
CpushIMS.Block_Help_list_class = function() {};
Object.extend(CpushIMS.Block_Help_list_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Help_list,CpushIMS.ashx'
}));
CpushIMS.Block_Help_list = new CpushIMS.Block_Help_list_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_comment_daytop == "undefined") CpushIMS.Block_News_comment_daytop={};
CpushIMS.Block_News_comment_daytop_class = function() {};
Object.extend(CpushIMS.Block_News_comment_daytop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_comment_daytop,CpushIMS.ashx'
}));
CpushIMS.Block_News_comment_daytop = new CpushIMS.Block_News_comment_daytop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_tophitstxt == "undefined") CpushIMS.Block_Newsmclass_tophitstxt={};
CpushIMS.Block_Newsmclass_tophitstxt_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_tophitstxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_tophitstxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_tophitstxt = new CpushIMS.Block_Newsmclass_tophitstxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsclass_topnewpic == "undefined") CpushIMS.Block_Newsclass_topnewpic={};
CpushIMS.Block_Newsclass_topnewpic_class = function() {};
Object.extend(CpushIMS.Block_Newsclass_topnewpic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsclass_topnewpic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsclass_topnewpic = new CpushIMS.Block_Newsclass_topnewpic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Notice_top == "undefined") CpushIMS.Block_Notice_top={};
CpushIMS.Block_Notice_top_class = function() {};
Object.extend(CpushIMS.Block_Notice_top_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Notice_top,CpushIMS.ashx'
}));
CpushIMS.Block_Notice_top = new CpushIMS.Block_Notice_top_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Notice_list == "undefined") CpushIMS.Block_Notice_list={};
CpushIMS.Block_Notice_list_class = function() {};
Object.extend(CpushIMS.Block_Notice_list_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Notice_list,CpushIMS.ashx'
}));
CpushIMS.Block_Notice_list = new CpushIMS.Block_Notice_list_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Member_favclass == "undefined") CpushIMS.File_Member_favclass={};
CpushIMS.File_Member_favclass_class = function() {};
Object.extend(CpushIMS.File_Member_favclass_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	FavClass_ADD: function(FavClassName) {
		return this.invoke("FavClass_ADD", {"FavClassName":FavClassName}, this.FavClass_ADD.getArguments().slice(1));
	},
	GetFavClassID: function(FavClassName) {
		return this.invoke("GetFavClassID", {"FavClassName":FavClassName}, this.GetFavClassID.getArguments().slice(1));
	},
	FavClassDel: function(oFavClassID) {
		return this.invoke("FavClassDel", {"oFavClassID":oFavClassID}, this.FavClassDel.getArguments().slice(1));
	},
	FavClassList: function() {
		return this.invoke("FavClassList", {}, this.FavClassList.getArguments().slice(0));
	},
	url: '/ajaxpro/CpushIMS.File_Member_favclass,CpushIMS.ashx'
}));
CpushIMS.File_Member_favclass = new CpushIMS.File_Member_favclass_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Searchresult == "undefined") CpushIMS.File_Searchresult={};
CpushIMS.File_Searchresult_class = function() {};
Object.extend(CpushIMS.File_Searchresult_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Searchresult,CpushIMS.ashx'
}));
CpushIMS.File_Searchresult = new CpushIMS.File_Searchresult_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsclass_tophitspic == "undefined") CpushIMS.Block_Newsclass_tophitspic={};
CpushIMS.Block_Newsclass_tophitspic_class = function() {};
Object.extend(CpushIMS.Block_Newsclass_tophitspic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsclass_tophitspic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsclass_tophitspic = new CpushIMS.Block_Newsclass_tophitspic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Class_root == "undefined") CpushIMS.Block_Class_root={};
CpushIMS.Block_Class_root_class = function() {};
Object.extend(CpushIMS.Block_Class_root_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Class_root,CpushIMS.ashx'
}));
CpushIMS.Block_Class_root = new CpushIMS.Block_Class_root_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_list_topnewtxt == "undefined") CpushIMS.Block_Newsmclass_list_topnewtxt={};
CpushIMS.Block_Newsmclass_list_topnewtxt_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_list_topnewtxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_list_topnewtxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_list_topnewtxt = new CpushIMS.Block_Newsmclass_list_topnewtxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Special_class == "undefined") CpushIMS.Block_Special_class={};
CpushIMS.Block_Special_class_class = function() {};
Object.extend(CpushIMS.Block_Special_class_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Special_class,CpushIMS.ashx'
}));
CpushIMS.Block_Special_class = new CpushIMS.Block_Special_class_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_vote_monthtop == "undefined") CpushIMS.Block_News_vote_monthtop={};
CpushIMS.Block_News_vote_monthtop_class = function() {};
Object.extend(CpushIMS.Block_News_vote_monthtop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_vote_monthtop,CpushIMS.ashx'
}));
CpushIMS.Block_News_vote_monthtop = new CpushIMS.Block_News_vote_monthtop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_comment_yeartop == "undefined") CpushIMS.Block_News_comment_yeartop={};
CpushIMS.Block_News_comment_yeartop_class = function() {};
Object.extend(CpushIMS.Block_News_comment_yeartop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_comment_yeartop,CpushIMS.ashx'
}));
CpushIMS.Block_News_comment_yeartop = new CpushIMS.Block_News_comment_yeartop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsclass_topnew == "undefined") CpushIMS.Block_Newsclass_topnew={};
CpushIMS.Block_Newsclass_topnew_class = function() {};
Object.extend(CpushIMS.Block_Newsclass_topnew_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetNewsClass_TopPic: function(FID) {
		return this.invoke("GetNewsClass_TopPic", {"FID":FID}, this.GetNewsClass_TopPic.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS.Block_Newsclass_topnew,CpushIMS.ashx'
}));
CpushIMS.Block_Newsclass_topnew = new CpushIMS.Block_Newsclass_topnew_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Notices == "undefined") CpushIMS.File_Notices={};
CpushIMS.File_Notices_class = function() {};
Object.extend(CpushIMS.File_Notices_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Notices,CpushIMS.ashx'
}));
CpushIMS.File_Notices = new CpushIMS.File_Notices_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Vote_result == "undefined") CpushIMS.Block_Vote_result={};
CpushIMS.Block_Vote_result_class = function() {};
Object.extend(CpushIMS.Block_Vote_result_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Vote_result,CpushIMS.ashx'
}));
CpushIMS.Block_Vote_result = new CpushIMS.Block_Vote_result_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Default == "undefined") CpushIMS.File_Default={};
CpushIMS.File_Default_class = function() {};
Object.extend(CpushIMS.File_Default_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Default,CpushIMS.ashx'
}));
CpushIMS.File_Default = new CpushIMS.File_Default_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_related == "undefined") CpushIMS.Block_News_related={};
CpushIMS.Block_News_related_class = function() {};
Object.extend(CpushIMS.Block_News_related_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_related,CpushIMS.ashx'
}));
CpushIMS.Block_News_related = new CpushIMS.Block_News_related_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsclass_list == "undefined") CpushIMS.Block_Newsclass_list={};
CpushIMS.Block_Newsclass_list_class = function() {};
Object.extend(CpushIMS.Block_Newsclass_list_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsclass_list,CpushIMS.ashx'
}));
CpushIMS.Block_Newsclass_list = new CpushIMS.Block_Newsclass_list_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Default_tophits == "undefined") CpushIMS.Block_Default_tophits={};
CpushIMS.Block_Default_tophits_class = function() {};
Object.extend(CpushIMS.Block_Default_tophits_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Default_tophits,CpushIMS.ashx'
}));
CpushIMS.Block_Default_tophits = new CpushIMS.Block_Default_tophits_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_vote_yeartop == "undefined") CpushIMS.Block_News_vote_yeartop={};
CpushIMS.Block_News_vote_yeartop_class = function() {};
Object.extend(CpushIMS.Block_News_vote_yeartop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_vote_yeartop,CpushIMS.ashx'
}));
CpushIMS.Block_News_vote_yeartop = new CpushIMS.Block_News_vote_yeartop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Help_topnew == "undefined") CpushIMS.Block_Help_topnew={};
CpushIMS.Block_Help_topnew_class = function() {};
Object.extend(CpushIMS.Block_Help_topnew_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Help_topnew,CpushIMS.ashx'
}));
CpushIMS.Block_Help_topnew = new CpushIMS.Block_Help_topnew_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Default_topcomment == "undefined") CpushIMS.Block_Default_topcomment={};
CpushIMS.Block_Default_topcomment_class = function() {};
Object.extend(CpushIMS.Block_Default_topcomment_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Default_topcomment,CpushIMS.ashx'
}));
CpushIMS.Block_Default_topcomment = new CpushIMS.Block_Default_topcomment_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Channel == "undefined") CpushIMS.Block_Channel={};
CpushIMS.Block_Channel_class = function() {};
Object.extend(CpushIMS.Block_Channel_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Channel,CpushIMS.ashx'
}));
CpushIMS.Block_Channel = new CpushIMS.Block_Channel_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsinfo_commendtxt == "undefined") CpushIMS.Block_Newsinfo_commendtxt={};
CpushIMS.Block_Newsinfo_commendtxt_class = function() {};
Object.extend(CpushIMS.Block_Newsinfo_commendtxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsinfo_commendtxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsinfo_commendtxt = new CpushIMS.Block_Newsinfo_commendtxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Link_text == "undefined") CpushIMS.Block_Link_text={};
CpushIMS.Block_Link_text_class = function() {};
Object.extend(CpushIMS.Block_Link_text_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Link_text,CpushIMS.ashx'
}));
CpushIMS.Block_Link_text = new CpushIMS.Block_Link_text_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Vote == "undefined") CpushIMS.File_Vote={};
CpushIMS.File_Vote_class = function() {};
Object.extend(CpushIMS.File_Vote_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Vote,CpushIMS.ashx'
}));
CpushIMS.File_Vote = new CpushIMS.File_Vote_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Special_topnews == "undefined") CpushIMS.Block_Special_topnews={};
CpushIMS.Block_Special_topnews_class = function() {};
Object.extend(CpushIMS.Block_Special_topnews_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Special_topnews,CpushIMS.ashx'
}));
CpushIMS.Block_Special_topnews = new CpushIMS.Block_Special_topnews_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Special_list == "undefined") CpushIMS.Block_Special_list={};
CpushIMS.Block_Special_list_class = function() {};
Object.extend(CpushIMS.Block_Special_list_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Special_list,CpushIMS.ashx'
}));
CpushIMS.Block_Special_list = new CpushIMS.Block_Special_list_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Publish == "undefined") CpushIMS.File_Publish={};
CpushIMS.File_Publish_class = function() {};
Object.extend(CpushIMS.File_Publish_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	InfoSpecialList: function(InfoClassID) {
		return this.invoke("InfoSpecialList", {"InfoClassID":InfoClassID}, this.InfoSpecialList.getArguments().slice(1));
	},
	InfoClassTreeList: function() {
		return this.invoke("InfoClassTreeList", {}, this.InfoClassTreeList.getArguments().slice(0));
	},
	InfoType: function() {
		return this.invoke("InfoType", {}, this.InfoType.getArguments().slice(0));
	},
	InfoType_Property: function(InfoTypeID) {
		return this.invoke("InfoType_Property", {"InfoTypeID":InfoTypeID}, this.InfoType_Property.getArguments().slice(1));
	},
	GetPropertyContent: function(InfoPropertyID) {
		return this.invoke("GetPropertyContent", {"InfoPropertyID":InfoPropertyID}, this.GetPropertyContent.getArguments().slice(1));
	},
	InfoAdd: function(InfoName, InfoTypeID, InfoClassID, Keyword, Intro) {
		return this.invoke("InfoAdd", {"InfoName":InfoName, "InfoTypeID":InfoTypeID, "InfoClassID":InfoClassID, "Keyword":Keyword, "Intro":Intro}, this.InfoAdd.getArguments().slice(5));
	},
	InfoPropertyAdd: function(InfoID, XMLName, Content) {
		return this.invoke("InfoPropertyAdd", {"InfoID":InfoID, "XMLName":XMLName, "Content":Content}, this.InfoPropertyAdd.getArguments().slice(3));
	},
	url: '/ajaxpro/CpushIMS.File_Publish,CpushIMS.ashx'
}));
CpushIMS.File_Publish = new CpushIMS.File_Publish_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Member_filevotelist == "undefined") CpushIMS.File_Member_filevotelist={};
CpushIMS.File_Member_filevotelist_class = function() {};
Object.extend(CpushIMS.File_Member_filevotelist_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Member_filevotelist,CpushIMS.ashx'
}));
CpushIMS.File_Member_filevotelist = new CpushIMS.File_Member_filevotelist_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_visit_yeartop == "undefined") CpushIMS.Block_News_visit_yeartop={};
CpushIMS.Block_News_visit_yeartop_class = function() {};
Object.extend(CpushIMS.Block_News_visit_yeartop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_visit_yeartop,CpushIMS.ashx'
}));
CpushIMS.Block_News_visit_yeartop = new CpushIMS.Block_News_visit_yeartop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsvote == "undefined") CpushIMS.Block_Newsvote={};
CpushIMS.Block_Newsvote_class = function() {};
Object.extend(CpushIMS.Block_Newsvote_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	NewsInfo_Vote: function(InfoID) {
		return this.invoke("NewsInfo_Vote", {"InfoID":InfoID}, this.NewsInfo_Vote.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS.Block_Newsvote,CpushIMS.ashx'
}));
CpushIMS.Block_Newsvote = new CpushIMS.Block_Newsvote_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_tophitspic == "undefined") CpushIMS.Block_Newsmclass_tophitspic={};
CpushIMS.Block_Newsmclass_tophitspic_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_tophitspic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_tophitspic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_tophitspic = new CpushIMS.Block_Newsmclass_tophitspic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_list_topnewforpics == "undefined") CpushIMS.Block_Newsmclass_list_topnewforpics={};
CpushIMS.Block_Newsmclass_list_topnewforpics_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_list_topnewforpics_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_list_topnewforpics,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_list_topnewforpics = new CpushIMS.Block_Newsmclass_list_topnewforpics_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Comment_list == "undefined") CpushIMS.Block_Comment_list={};
CpushIMS.Block_Comment_list_class = function() {};
Object.extend(CpushIMS.Block_Comment_list_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	NewsCommandAdd: function(FileID, NickName, Email, content, Anonymous) {
		return this.invoke("NewsCommandAdd", {"FileID":FileID, "NickName":NickName, "Email":Email, "content":content, "Anonymous":Anonymous}, this.NewsCommandAdd.getArguments().slice(5));
	},
	NewsCommandDel: function(ID) {
		return this.invoke("NewsCommandDel", {"ID":ID}, this.NewsCommandDel.getArguments().slice(1));
	},
	IsCommentVerifyCode: function() {
		return this.invoke("IsCommentVerifyCode", {}, this.IsCommentVerifyCode.getArguments().slice(0));
	},
	IsRightVerifyCode: function(VerifyCode) {
		return this.invoke("IsRightVerifyCode", {"VerifyCode":VerifyCode}, this.IsRightVerifyCode.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS.Block_Comment_list,CpushIMS.ashx'
}));
CpushIMS.Block_Comment_list = new CpushIMS.Block_Comment_list_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Class_curr == "undefined") CpushIMS.Block_Class_curr={};
CpushIMS.Block_Class_curr_class = function() {};
Object.extend(CpushIMS.Block_Class_curr_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Class_curr,CpushIMS.ashx'
}));
CpushIMS.Block_Class_curr = new CpushIMS.Block_Class_curr_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Empty == "undefined") CpushIMS.Block_Empty={};
CpushIMS.Block_Empty_class = function() {};
Object.extend(CpushIMS.Block_Empty_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Empty,CpushIMS.ashx'
}));
CpushIMS.Block_Empty = new CpushIMS.Block_Empty_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Voteshow == "undefined") CpushIMS.File_Voteshow={};
CpushIMS.File_Voteshow_class = function() {};
Object.extend(CpushIMS.File_Voteshow_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Voteshow,CpushIMS.ashx'
}));
CpushIMS.File_Voteshow = new CpushIMS.File_Voteshow_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsinfo_commandpic == "undefined") CpushIMS.Block_Newsinfo_commandpic={};
CpushIMS.Block_Newsinfo_commandpic_class = function() {};
Object.extend(CpushIMS.Block_Newsinfo_commandpic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsinfo_commandpic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsinfo_commandpic = new CpushIMS.Block_Newsinfo_commandpic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_list == "undefined") CpushIMS.Block_Newsmclass_list={};
CpushIMS.Block_Newsmclass_list_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_list_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_list,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_list = new CpushIMS.Block_Newsmclass_list_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_vote_daytop == "undefined") CpushIMS.Block_News_vote_daytop={};
CpushIMS.Block_News_vote_daytop_class = function() {};
Object.extend(CpushIMS.Block_News_vote_daytop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_vote_daytop,CpushIMS.ashx'
}));
CpushIMS.Block_News_vote_daytop = new CpushIMS.Block_News_vote_daytop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_list_topnewforonepic == "undefined") CpushIMS.Block_Newsmclass_list_topnewforonepic={};
CpushIMS.Block_Newsmclass_list_topnewforonepic_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_list_topnewforonepic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_list_topnewforonepic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_list_topnewforonepic = new CpushIMS.Block_Newsmclass_list_topnewforonepic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_list_topnewforclass == "undefined") CpushIMS.Block_Newsmclass_list_topnewforclass={};
CpushIMS.Block_Newsmclass_list_topnewforclass_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_list_topnewforclass_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_list_topnewforclass,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_list_topnewforclass = new CpushIMS.Block_Newsmclass_list_topnewforclass_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsinfo_topnewtxt == "undefined") CpushIMS.Block_Newsinfo_topnewtxt={};
CpushIMS.Block_Newsinfo_topnewtxt_class = function() {};
Object.extend(CpushIMS.Block_Newsinfo_topnewtxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsinfo_topnewtxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsinfo_topnewtxt = new CpushIMS.Block_Newsinfo_topnewtxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsclass_commendtxt == "undefined") CpushIMS.Block_Newsclass_commendtxt={};
CpushIMS.Block_Newsclass_commendtxt_class = function() {};
Object.extend(CpushIMS.Block_Newsclass_commendtxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsclass_commendtxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsclass_commendtxt = new CpushIMS.Block_Newsclass_commendtxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Default_pictophits == "undefined") CpushIMS.Block_Default_pictophits={};
CpushIMS.Block_Default_pictophits_class = function() {};
Object.extend(CpushIMS.Block_Default_pictophits_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Default_pictophits,CpushIMS.ashx'
}));
CpushIMS.Block_Default_pictophits = new CpushIMS.Block_Default_pictophits_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsclass_newpicnews == "undefined") CpushIMS.Block_Newsclass_newpicnews={};
CpushIMS.Block_Newsclass_newpicnews_class = function() {};
Object.extend(CpushIMS.Block_Newsclass_newpicnews_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsclass_newpicnews,CpushIMS.ashx'
}));
CpushIMS.Block_Newsclass_newpicnews = new CpushIMS.Block_Newsclass_newpicnews_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Login == "undefined") CpushIMS.Block_Login={};
CpushIMS.Block_Login_class = function() {};
Object.extend(CpushIMS.Block_Login_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	LoginVerifyCode: function() {
		return this.invoke("LoginVerifyCode", {}, this.LoginVerifyCode.getArguments().slice(0));
	},
	getValue_old: function(MemberName, Password, VerifyCode) {
		return this.invoke("getValue_old", {"MemberName":MemberName, "Password":Password, "VerifyCode":VerifyCode}, this.getValue_old.getArguments().slice(3));
	},
	getValue: function(MemberName, Password, VerifyCode) {
		return this.invoke("getValue", {"MemberName":MemberName, "Password":Password, "VerifyCode":VerifyCode}, this.getValue.getArguments().slice(3));
	},
	HadVerifyCode: function() {
		return this.invoke("HadVerifyCode", {}, this.HadVerifyCode.getArguments().slice(0));
	},
	Edition: function() {
		return this.invoke("Edition", {}, this.Edition.getArguments().slice(0));
	},
	Logined: function() {
		return this.invoke("Logined", {}, this.Logined.getArguments().slice(0));
	},
	IsAdmin: function() {
		return this.invoke("IsAdmin", {}, this.IsAdmin.getArguments().slice(0));
	},
	GetUserName: function() {
		return this.invoke("GetUserName", {}, this.GetUserName.getArguments().slice(0));
	},
	SetLogout: function() {
		return this.invoke("SetLogout", {}, this.SetLogout.getArguments().slice(0));
	},
	url: '/ajaxpro/CpushIMS.Block_Login,CpushIMS.ashx'
}));
CpushIMS.Block_Login = new CpushIMS.Block_Login_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Default_new_pic == "undefined") CpushIMS.Block_Default_new_pic={};
CpushIMS.Block_Default_new_pic_class = function() {};
Object.extend(CpushIMS.Block_Default_new_pic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetNewsPic_Content: function() {
		return this.invoke("GetNewsPic_Content", {}, this.GetNewsPic_Content.getArguments().slice(0));
	},
	url: '/ajaxpro/CpushIMS.Block_Default_new_pic,CpushIMS.ashx'
}));
CpushIMS.Block_Default_new_pic = new CpushIMS.Block_Default_new_pic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Default_newcommend_text == "undefined") CpushIMS.Block_Default_newcommend_text={};
CpushIMS.Block_Default_newcommend_text_class = function() {};
Object.extend(CpushIMS.Block_Default_newcommend_text_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Default_newcommend_text,CpushIMS.ashx'
}));
CpushIMS.Block_Default_newcommend_text = new CpushIMS.Block_Default_newcommend_text_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Special_topcomment == "undefined") CpushIMS.Block_Special_topcomment={};
CpushIMS.Block_Special_topcomment_class = function() {};
Object.extend(CpushIMS.Block_Special_topcomment_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Special_topcomment,CpushIMS.ashx'
}));
CpushIMS.Block_Special_topcomment = new CpushIMS.Block_Special_topcomment_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_comment_monthtop == "undefined") CpushIMS.Block_News_comment_monthtop={};
CpushIMS.Block_News_comment_monthtop_class = function() {};
Object.extend(CpushIMS.Block_News_comment_monthtop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_comment_monthtop,CpushIMS.ashx'
}));
CpushIMS.Block_News_comment_monthtop = new CpushIMS.Block_News_comment_monthtop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsinfo_tophitstxt == "undefined") CpushIMS.Block_Newsinfo_tophitstxt={};
CpushIMS.Block_Newsinfo_tophitstxt_class = function() {};
Object.extend(CpushIMS.Block_Newsinfo_tophitstxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsinfo_tophitstxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsinfo_tophitstxt = new CpushIMS.Block_Newsinfo_tophitstxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Default_pictopnew == "undefined") CpushIMS.Block_Default_pictopnew={};
CpushIMS.Block_Default_pictopnew_class = function() {};
Object.extend(CpushIMS.Block_Default_pictopnew_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Default_pictopnew,CpushIMS.ashx'
}));
CpushIMS.Block_Default_pictopnew = new CpushIMS.Block_Default_pictopnew_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Noticeinfo == "undefined") CpushIMS.File_Noticeinfo={};
CpushIMS.File_Noticeinfo_class = function() {};
Object.extend(CpushIMS.File_Noticeinfo_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Noticeinfo,CpushIMS.ashx'
}));
CpushIMS.File_Noticeinfo = new CpushIMS.File_Noticeinfo_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newscommand_today == "undefined") CpushIMS.Block_Newscommand_today={};
CpushIMS.Block_Newscommand_today_class = function() {};
Object.extend(CpushIMS.Block_Newscommand_today_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newscommand_today,CpushIMS.ashx'
}));
CpushIMS.Block_Newscommand_today = new CpushIMS.Block_Newscommand_today_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_commandtxt == "undefined") CpushIMS.Block_Newsmclass_commandtxt={};
CpushIMS.Block_Newsmclass_commandtxt_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_commandtxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_commandtxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_commandtxt = new CpushIMS.Block_Newsmclass_commandtxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Member_filelist == "undefined") CpushIMS.File_Member_filelist={};
CpushIMS.File_Member_filelist_class = function() {};
Object.extend(CpushIMS.File_Member_filelist_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.File_Member_filelist,CpushIMS.ashx'
}));
CpushIMS.File_Member_filelist = new CpushIMS.File_Member_filelist_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsmclass_topnewtxt == "undefined") CpushIMS.Block_Newsmclass_topnewtxt={};
CpushIMS.Block_Newsmclass_topnewtxt_class = function() {};
Object.extend(CpushIMS.Block_Newsmclass_topnewtxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsmclass_topnewtxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsmclass_topnewtxt = new CpushIMS.Block_Newsmclass_topnewtxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Comment_topnew == "undefined") CpushIMS.Block_Comment_topnew={};
CpushIMS.Block_Comment_topnew_class = function() {};
Object.extend(CpushIMS.Block_Comment_topnew_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Comment_topnew,CpushIMS.ashx'
}));
CpushIMS.Block_Comment_topnew = new CpushIMS.Block_Comment_topnew_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Newsinfo == "undefined") CpushIMS.File_Newsinfo={};
CpushIMS.File_Newsinfo_class = function() {};
Object.extend(CpushIMS.File_Newsinfo_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	ConfirmToFile: function(FID) {
		return this.invoke("ConfirmToFile", {"FID":FID}, this.ConfirmToFile.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS.File_Newsinfo,CpushIMS.ashx'
}));
CpushIMS.File_Newsinfo = new CpushIMS.File_Newsinfo_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Class_child == "undefined") CpushIMS.Block_Class_child={};
CpushIMS.Block_Class_child_class = function() {};
Object.extend(CpushIMS.Block_Class_child_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	InfoClass_Child: function(InfoClassID) {
		return this.invoke("InfoClass_Child", {"InfoClassID":InfoClassID}, this.InfoClass_Child.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS.Block_Class_child,CpushIMS.ashx'
}));
CpushIMS.Block_Class_child = new CpushIMS.Block_Class_child_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Footer_nav == "undefined") CpushIMS.Block_Footer_nav={};
CpushIMS.Block_Footer_nav_class = function() {};
Object.extend(CpushIMS.Block_Footer_nav_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Footer_nav,CpushIMS.ashx'
}));
CpushIMS.Block_Footer_nav = new CpushIMS.Block_Footer_nav_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.File_Member_favlist == "undefined") CpushIMS.File_Member_favlist={};
CpushIMS.File_Member_favlist_class = function() {};
Object.extend(CpushIMS.File_Member_favlist_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	FavAdd: function(oFileID, oFavClassID) {
		return this.invoke("FavAdd", {"oFileID":oFileID, "oFavClassID":oFavClassID}, this.FavAdd.getArguments().slice(2));
	},
	FavChangeFavClass: function(oFavID, oFavClassID) {
		return this.invoke("FavChangeFavClass", {"oFavID":oFavID, "oFavClassID":oFavClassID}, this.FavChangeFavClass.getArguments().slice(2));
	},
	FavDel: function(oFavID) {
		return this.invoke("FavDel", {"oFavID":oFavID}, this.FavDel.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS.File_Member_favlist,CpushIMS.ashx'
}));
CpushIMS.File_Member_favlist = new CpushIMS.File_Member_favlist_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Special_tophits == "undefined") CpushIMS.Block_Special_tophits={};
CpushIMS.Block_Special_tophits_class = function() {};
Object.extend(CpushIMS.Block_Special_tophits_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Special_tophits,CpushIMS.ashx'
}));
CpushIMS.Block_Special_tophits = new CpushIMS.Block_Special_tophits_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Search == "undefined") CpushIMS.Block_Search={};
CpushIMS.Block_Search_class = function() {};
Object.extend(CpushIMS.Block_Search_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	InfoSpecialList: function(InfoClassID) {
		return this.invoke("InfoSpecialList", {"InfoClassID":InfoClassID}, this.InfoSpecialList.getArguments().slice(1));
	},
	InfoClassList: function(InfoClassID) {
		return this.invoke("InfoClassList", {"InfoClassID":InfoClassID}, this.InfoClassList.getArguments().slice(1));
	},
	InfoClassTreeList: function() {
		return this.invoke("InfoClassTreeList", {}, this.InfoClassTreeList.getArguments().slice(0));
	},
	InfoSearchWordAdd: function(ClassID, Word) {
		return this.invoke("InfoSearchWordAdd", {"ClassID":ClassID, "Word":Word}, this.InfoSearchWordAdd.getArguments().slice(2));
	},
	HotWordList: function(InfoClassID) {
		return this.invoke("HotWordList", {"InfoClassID":InfoClassID}, this.HotWordList.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS.Block_Search,CpushIMS.ashx'
}));
CpushIMS.Block_Search = new CpushIMS.Block_Search_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsclass_topnewtxt == "undefined") CpushIMS.Block_Newsclass_topnewtxt={};
CpushIMS.Block_Newsclass_topnewtxt_class = function() {};
Object.extend(CpushIMS.Block_Newsclass_topnewtxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsclass_topnewtxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsclass_topnewtxt = new CpushIMS.Block_Newsclass_topnewtxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsclass_commandpic == "undefined") CpushIMS.Block_Newsclass_commandpic={};
CpushIMS.Block_Newsclass_commandpic_class = function() {};
Object.extend(CpushIMS.Block_Newsclass_commandpic_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsclass_commandpic,CpushIMS.ashx'
}));
CpushIMS.Block_Newsclass_commandpic = new CpushIMS.Block_Newsclass_commandpic_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_totel == "undefined") CpushIMS.Block_News_totel={};
CpushIMS.Block_News_totel_class = function() {};
Object.extend(CpushIMS.Block_News_totel_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetNews_Totel: function() {
		return this.invoke("GetNews_Totel", {}, this.GetNews_Totel.getArguments().slice(0));
	},
	url: '/ajaxpro/CpushIMS.Block_News_totel,CpushIMS.ashx'
}));
CpushIMS.Block_News_totel = new CpushIMS.Block_News_totel_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Default_topnew == "undefined") CpushIMS.Block_Default_topnew={};
CpushIMS.Block_Default_topnew_class = function() {};
Object.extend(CpushIMS.Block_Default_topnew_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Default_topnew,CpushIMS.ashx'
}));
CpushIMS.Block_Default_topnew = new CpushIMS.Block_Default_topnew_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_News_comment_weektop == "undefined") CpushIMS.Block_News_comment_weektop={};
CpushIMS.Block_News_comment_weektop_class = function() {};
Object.extend(CpushIMS.Block_News_comment_weektop_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_News_comment_weektop,CpushIMS.ashx'
}));
CpushIMS.Block_News_comment_weektop = new CpushIMS.Block_News_comment_weektop_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.rules == "undefined") CpushIMS.rules={};
if(typeof CpushIMS.rules.Block_Newsmclass_newtextintro == "undefined") CpushIMS.rules.Block_Newsmclass_newtextintro={};
CpushIMS.rules.Block_Newsmclass_newtextintro_class = function() {};
Object.extend(CpushIMS.rules.Block_Newsmclass_newtextintro_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.rules.Block_Newsmclass_newtextintro,CpushIMS.ashx'
}));
CpushIMS.rules.Block_Newsmclass_newtextintro = new CpushIMS.rules.Block_Newsmclass_newtextintro_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsinfovote == "undefined") CpushIMS.Block_Newsinfovote={};
CpushIMS.Block_Newsinfovote_class = function() {};
Object.extend(CpushIMS.Block_Newsinfovote_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	NewsInfo_Vote: function(InfoID) {
		return this.invoke("NewsInfo_Vote", {"InfoID":InfoID}, this.NewsInfo_Vote.getArguments().slice(1));
	},
	url: '/ajaxpro/CpushIMS.Block_Newsinfovote,CpushIMS.ashx'
}));
CpushIMS.Block_Newsinfovote = new CpushIMS.Block_Newsinfovote_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Newsclass_tophitstxt == "undefined") CpushIMS.Block_Newsclass_tophitstxt={};
CpushIMS.Block_Newsclass_tophitstxt_class = function() {};
Object.extend(CpushIMS.Block_Newsclass_tophitstxt_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Newsclass_tophitstxt,CpushIMS.ashx'
}));
CpushIMS.Block_Newsclass_tophitstxt = new CpushIMS.Block_Newsclass_tophitstxt_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Help_class == "undefined") CpushIMS.Block_Help_class={};
CpushIMS.Block_Help_class_class = function() {};
Object.extend(CpushIMS.Block_Help_class_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Help_class,CpushIMS.ashx'
}));
CpushIMS.Block_Help_class = new CpushIMS.Block_Help_class_class();

if(typeof CpushIMS == "undefined") CpushIMS={};
if(typeof CpushIMS.Block_Class_multi == "undefined") CpushIMS.Block_Class_multi={};
CpushIMS.Block_Class_multi_class = function() {};
Object.extend(CpushIMS.Block_Class_multi_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	url: '/ajaxpro/CpushIMS.Block_Class_multi,CpushIMS.ashx'
}));
CpushIMS.Block_Class_multi = new CpushIMS.Block_Class_multi_class();


