function loadLookupData(entityKey, selSource, selTarget)
{
    $('Meta'+selTarget).options.length = 0;
    var lookupFilterKey = $('Meta'+selSource).getSelected().getProperty("value");

    var jsonRequest = new Request.JSON({
        // the selTarget key parameter passed through the URL
        url: "../controllers/processor.php",
		
        // the request will return the results in a json data format
        onComplete: function(aOptionsList){
            for( i = 0; i < aOptionsList.length; i++)
            {
                optionValue = aOptionsList[i][0];
                optionHTML = aOptionsList[i][1];

                var newOption = new Element('option',{
                    "value" : optionValue, 
                    "html" : optionHTML
                });
                $('Meta'+selTarget).adopt(newOption);
            }
        }
    }).get({ 
        "script" : "../umm_administration/metadata/metadata_api",
        "function" : "GetLookupData",
        "params[0]" : entityKey,
        "params[1]" : selSource.toString(),
        "params[2]" : lookupFilterKey.toString()
      });
}