var jsonServer = {
	url: '/index.php?eID=hht_json',
		
	dispatchMethod: function(extKey, methodName, parameters, callBack, pObj)	{
		var params = new Object;
		params['params'] = parameters;
		params['method'] = methodName;
		params['extKey'] = extKey;
		
		var myJSON = new Json.Remote(
			this.url,
			{onComplete: function(result)	{
				if (callBack)	{
					if (pObj)	{
						callBack(result.result, pObj);
					} else {
						callBack(result.result);
					}
				} else {
					console.debug('Content could not be handled!');
					console.debug(result);
				}
			}}
		).send(params);
	}
}