me of current accessed menu-list
var imgs = document.getElementById('imgs');    // element with images

// To get value of imgroot and CKEditorFuncNum from URL
var url = location.href;    // current page address
var imgroot = url.match(/imgroot=([^&]*)/) ? url.match(/imgroot=([^&]*)/)[1] : null;
var CKEditorFuncNum = url.match(/CKEditorFuncNum=([0-9]+)/) ? url.match(/CKEditorFuncNum=([0-9]+)/)[1] : null;

// Ajax, receives the url of file to access, data to send, and a callback function (called when the res