function writeMovieContentsDoors(id) {
	writeContentsDoors(id, 'movie');
}

function writeContentsDoors(id, type) {
    var prand = ( new Date() ).getTime();
    var url = '/GetContentsDoors/type_'+type+'/?rand='+prand;
    var pars = '';
    var myAjax = new Ajax.Updater(
                    { success: id },
                    url,
                    {
                        method: 'get',
                        parameters: pars,
                        onFailure: reportContentsDoorsError
                    }
                );
}

function reportContentsDoorsError(request) {
    //alert('Sorry. There was an error.');
}
