Hose Britta dark A&Co | Adenauer&Co. - Moin bei Adenauer&Co, the german beachhouse company | Adenauer 1876 | Adenauer Jeans
function runAfterElementExists(jquery_selector, callback) {var checker = window.setInterval(function() {if ($(jquery_selector).length) {clearInterval(checker);callback();}}, 200);} runAfterElementExists('.variation-select', function() {function getSelection() {var csName_1 = $('.variation-select:first-child>div>span').html();var csSelection_1 = $('.variation-select>div>b').html();$('.currentSelection_1').html(csName_1 + ' ' + csSelection_1);var csName_2 = $('.variation-select:last-child>div>span').html();var csSelection_2 = $('.variation-select:last-child>div>b').html();$('.currentSelection_2').html('/ '+ csName_2 + ' ' + csSelection_2);};getSelection();$(".v-s-box ").click(function() {getSelection();});});