BASTUCK 76mm Duplex Sportauspuff Komplettanlage BMW M2 (F87) 3.0l - Doppel-Endrohr Carbon 2 x Ø 85 mm mit Abgasklappe | Sportauspuff online bestellen | sportauspuff-store.de
function goBack(){if (document.referrer.indexOf(window.location.host) !== -1) {history.go(-1); return false;}}; document.addEventListener('DOMContentLoaded', function() { if (document.referrer.indexOf(window.location.host) !== -1) {$('.goBackLink').removeClass('d-none');} var catURL = $('.breadcrumb li:nth-last-child(2)>a').attr('href');$('.single a.parentCatlink').attr("href", catURL); $('.rightSide .price').addClass("salePrice"); var oldUVP=2360; var currentPrice = 2289.2; function calculatePercent() {var percent = (oldUVP-currentPrice)/oldUVP*100;var percentRound = Math.round(percent);$(".saving_p").html(" (-"+percentRound+"%)"); currentSaving=oldUVP-currentPrice,currentSaving=currentSaving.toFixed(2).replace(/\./,","),$("#saving_eur").html(currentSaving+" EUR")};calculatePercent(); }); function roundMe(r,p){return Math.round(r*Math.pow(10,p))/Math.pow(10,p)} $(document).ready(function(){$("#kwr").keyup(function(){kw=parseFloat($("#kwr").val().replace(",",".")),0/0!=kw&&kw>0&&$("#psr").val(roundMe(1.359621617*kw,2))}), $("#psr").keyup(function(){ps=parseFloat($("#psr").val().replace(",",".")),0/0!=ps&&ps>0&&$("#kwr").val(roundMe(.73549875*ps,2))})}); var price=2289.2; var presaving2=(price/100)*2; var presaving3=(price/100)*3; var prepay_saving2=presaving2.toFixed(2); var prepay_saving3=presaving3.toFixed(2); $(".sav2").html(prepay_saving2) $(".sav3").html(prepay_saving3) function runAfterElementExists(jquery_selector, callback) {var checker = window.setInterval(function() {if ($(jquery_selector).length) {clearInterval(checker);callback();}}, 200);} var ArtNr = $('.variationID').html(); $('input[name="variationid"]').val('BMWF87/M2-K/Q85TR/CKA').attr('disabled', 'disabled'); $(".ItemQuestionForm form > input[data-mail='subject']").val("Artikel-Nummer: BMWF87/M2-K/Q85TR/CKA");