FOX Mittelschalldämpfer Ersatzrohr VW Golf 4 / Audi A3 8L | Sportauspuff online bestellen | sportauspuff-store.de
Filter
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=135; var currentPrice = 109; 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=109; 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)