

function inline_results_subroot(thiscatid, fetchtype) { 

	var catid = thiscatid;

	new Ajax.Updater ('results', 'admin/ajax.php', {method:'post', postBody:'description=true&catid='+catid+'&fetchtype='+fetchtype});

	new Effect.Appear('results');



}

function prepdownload(pid){ 

	new Ajax.Updater ('downloadarea', 'admin/ajax.php', {method:'post', postBody:'description=true&pid='+pid});

	new Effect.Appear('downloadarea');

}



function downloaduploaded(filename, contenttype){

	new Ajax.Updater ('downloadarea', 'downloaduploaded.php', {method:'post', postBody:'filename='+filename+'&contenttype='+contenttype});

		

}