For all other users from Germany : ;) function x3_load_page(){ var ob = { 'folder_amount': 'Alben', 'amount': 'Fotos' } $.each(ob, function(key, val) { $('.' + key).each(function() { var el = $(this), child = el.children(), item = child.length ? child :...