var jCFC=new Object();jCFC.useGlobalCallback=false;jCFC.proxyObjectCache=new Object();jCFC.path="/ajax/wiring.cfc";function proxyObject(cfc){var methods="";if(jCFC.proxyObjectCache[cfc]!=undefined){methods=jCFC.proxyObjectCache[cfc]}else{jQuery.ajax({url:jCFC.path+'?method=relay&argumentCollection={ "cfc":"'+cfc+'", "method":"getAccessSignature" }',async:false,success:function(result){methods=jQuery.evalJSON(result)}});jCFC.proxyObjectCache[cfc]=methods}for(var cm=0;cm<methods.length;cm++){eval("function "+methods[cm]+'( ){ var pta = ""; var cem = arguments.callee.toString( ); cem = cem.substr( "function ".length ); cem = cem.substr( 0, cem.indexOf( "(" ) ); for( var ca = 0; ca < arguments.length; ca++ ){ if( ca > 0 ) pta += ", "; pta += "arguments[ " + ca + " ]"; } return ( pta.length == 0 ) ? eval( "jQuery.cfc( cfc, cem )" ) : eval( "jQuery.cfc( cfc, cem, " + pta + " )" ) ; }');this[methods[cm]]=eval(methods[cm])}return this}jQuery.cfc=function(f,a,i,h){if(a==undefined){return new proxyObject(f)}var g={cfc:f,method:a};var b={};var j=true;var e=jCFC.path+"?method=relay";if(typeof(i)=="undefined"){if(!jCFC.useGlobalCallback){b.async=false;b.success=function(k){j=jQuery.evalJSON(k)}}}else{if(typeof(h)!="undefined"&&(typeof(i)=="function"||typeof(arguments[arguments.length-1])=="function")){if(typeof(i)=="function"){b.success=function(k){i(jQuery.evalJSON(k))};if(typeof(h)=="object"&&h.length==undefined&&arguments.length==4){jQuery.extend(g,h)}else{for(var d=3;d<arguments.length;d++){g[d-2]=arguments[d]}}}else{var c=arguments[arguments.length-1];b.success=function(k){c(jQuery.evalJSON(k))};if(typeof(i)=="object"&&i.length==undefined&&arguments.length==4){jQuery.extend(g,i)}else{for(var d=3;d<=arguments.length-1;d++){g[d-2]=arguments[d-1]}}}}else{if(typeof(i)!="function"){if(typeof(i)=="object"&&i.length==undefined&&arguments.length==3){jQuery.extend(g,i)}else{for(var d=3;d<=arguments.length;d++){g[d-2]=arguments[d-1]}}if(!jCFC.useGlobalCallback){b.async=false;b.success=function(k){j=jQuery.evalJSON(k)}}}else{b.success=function(k){i(jQuery.evalJSON(k))}}}}e=e+"&argumentCollection="+jQuery.toJSON(g);b.url=e;jQuery.ajax(b);return j};