function getElementsByClassName(node, classname) { var a = []; var re = new RegExp('(^| )'+classname+'( |$)'); var els = node.getElementsByTagName("*"); for(var i=0,j=els.length; i"; } // value var value = shop["coupon_value"]; if (shop["coupon_validfor"]) value += " " + shop["coupon_validfor"]; // new customer var newCustomer = "Nur für Neukunden"; if (shop["coupon_newcustomer"] == 0) newCustomer = "Für Neu- und Bestandskunden"; // min order var minOrderLabel = "Mindestbestellwert"; if (shop["shop_minorderlabel"]) minOrderLabel = shop["shop_minorderlabel"]; var minOrder = shop["coupon_minorder"]; if (!shop["coupon_minorder"]) minOrder = "Kein " + minOrderLabel; // new customer var newCustomer = "Nur für Neukunden"; if (shop["coupon_newcustomer"] == 0) newCustomer = "Neu- und Bestandskunden"; // toggle overlay var el = LlgGutscheinbcb7c01e54862d6aed991bffef4a76ed.showOverlay(); // var el = document.getElementById("llg-overlay-div"); // show window data var html = '
' + '
' + '
' + ' X' + '
' + '
' + '
' + '
' + '
' + '
' + // shop["shop_name"] + ' Gutscheincode' + '
' + '
 
' + '
' + '
Gutscheincode:
' + '
' + ' ' + code + '' + '
' + '
' + '
' + ' Einlösehinweise' + '
    ' + '
  • Wert: '+value+'
  • ' + information + '
' + '
 
' + '
' + ' ' + minOrderLabel + ': ' +minOrder+'
' + 'Gilt für: ' +newCustomer + '
' + '
' + '
' + '
'; el.innerHTML = html; window.open(conversionUrl, "", "width=800,height=600,left=0,top=0,scrollbars=yes,resizable=1,status=0"); // return false; } }; function getCouponHtmlbcb7c01e54862d6aed991bffef4a76ed(publisher, domain) { var html = ""; var lastCouponWasValid = 1; for (var c=0; c' + '
  • ' + '
    '+value+'
    ' + '
  • ' + '
  • '+valid+'
  • ' + '
  • '+newCustomer+'
  • ' + '
  • '+minOrder+'' + '
  • ' + '
  • ' + ' ' + couponType + ' anzeigen' /*+ ' anzeigen und Shop öffnen'*/ + ' ' + '
  • ' + ''; // lastCouponWasValid = isValid; } return html + ""; } function gutscheinrausch_onloadFkt_gutscheinlistebcb7c01e54862d6aed991bffef4a76ed() { // foreach widget placeholder var elems = getElementsByClassName(document,"widget-gutscheinrausch-gutschein-liste"); for (var c=0; c