var TopicCenterFetchAgent = Class.create( );
TopicCenterFetchAgent.prototype = {

    AD_POOL_MAP : "TCAdPoolMap",
    SITE_CATALYST_MAP : "TCSiteCatalystMap",

    initialize : function() {
    },

    fetchMapping : function( url, map, successCallbackFunction ) {
        new Ajax.Request( url, {
            method: 'get',
            asynchronous : false,
            parameters : {
                "action" : "fetch",
                "map" : map,
                "cacheBust" : new Date().getTime()
            },
            requestHeaders: {Accept: 'application/json'},
            onSuccess: successCallbackFunction
        } );
    }
}

