	
}


//Add a new editor window to the editor (?) -->ALL FILE PATH PASSED IN MUST BE FROM AOR OR /media/storage*
function newEditor(filepath){
     if (openedFilePath.includes(filepath)){
        //This page is already opened. Ignore this request and focus on the existing tab.
        $(".fileTab").each(function(){
            if ($(this).attr("filename").includes(filepath)){
                var tabid = $(this).attr("tabid");
                focusTab(tabid);
            }
        });
        return;
    }

