DownloadsManager = {
'is_protected': function(filename, options) {
var o = {};o.url = '/downloadsmanager/is_protected/'+encodeURIComponent(filename)+'/?ajax&route';
o.type = 'GET';
o.async = false;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
}
}
