function call (methodName, handlerMethod)	{
	var params 	 = {};
	var fileName = 'bridgeAjax.js'; //Used to find selfPath
	var selfPath = '';
	if(params){
		params['methodname'] = methodName;
		for(var i = 2; i < arguments.length ; i++){
			var typeParameter = "param";
			if(typeof(arguments[i])== "object" ){
				var jsonObj = JSON.stringify(arguments[i]);
				arguments[i] = jsonObj;
				typeParameter = "object";
			}
			params[ (i - 1) + '_' + typeParameter ] = arguments[i];
		}
		//Find absolute path of this script
	    selfPath = $("script[src*= '"+ fileName +"']").attr("src");
		selfPath = selfPath.replace(fileName, "");

		$.post(selfPath + "../core/JamesSquireAjax.php", params, handlerMethod, "json");
	}
}
