';
                for (var i = 0, length = virtualFolders.length; i < length; i++) {
                    var virtualFolder = virtualFolders[i];
                    html += getFolderHtml(config, virtualFolder, i);
                }
                html += '</div>';
                $('#divTraktLocations', page).html(html).trigger('create');

            }

            function getFolderHtml(currentUserConfig, virtualFolder, index) {
                var html = "";
                for (var i = 0, length = virt