function getElementsByClassName(node, classname) { var a = []; var re = new RegExp('(^| )'+classname+'( |$)'); var els = node.getElementsByTagName("*"); for(var i=0,j=els.length; iFreundschaftswerbung<\/i>, um mehr Infos \u00fcber die Aktion zu erhalten","shop_id":"135","shop_key":"puma.de","coupon_name":"PUMA Pr\u00e4mie","shop_rauschtext":""},{"is_valid":"1","coupon_id":"100195417","coupon_expiresat":"2040-01-01 00:00:00","coupon_expiry":"1","shop_mediumlogolink":"\/logos\/medium\/PUMAc09a5a.jpg","coupon_code":"","shop_minorderlabel":"","coupon_minorder":"60 Euro","coupon_validfor":"","coupon_newcustomer":"0","coupon_value":"Gratis Versand","shop_smallogolink":"\/logos\/PUMAa5daa4.jpg","shop_einloesehinweise":"W\u00e4hle zun\u00e4chst deine gew\u00fcnschten Artikel aus. \nKlicke auf das \"Einkaufswagensymbol\" rechts oben. \nGehe in den Warenkorb. \nFinde das Feld \"Gutscheincode anwenden\" auf der rechten Seite. \nGib deinen Gutscheincode in das Feld \"Gutscheincode anwenden\" ein. \nKlicke auf den Button \"Anwenden\". \nGehe zur Kasse, um deine Bestellung abzuschlie\u00dfen.","shop_has_einloesehinweise":"1","coupon_information":"Bei Erreichen des Mindestbestellwertes entfallen die Versandkosten automatisch\r\nEs ist kein Gutscheincode erforderlich","shop_id":"135","shop_key":"puma.de","coupon_name":"PUMA Angebot","shop_rauschtext":""},{"is_valid":"1","coupon_id":"100387824","coupon_expiresat":"2040-01-01 00:00:00","coupon_expiry":"1","shop_mediumlogolink":"\/logos\/medium\/PUMAc09a5a.jpg","coupon_code":"","shop_minorderlabel":"","coupon_minorder":"","coupon_validfor":"","coupon_newcustomer":"0","coupon_value":"Geschenkkarten ab 25 Euro","shop_smallogolink":"\/logos\/PUMAa5daa4.jpg","shop_einloesehinweise":"W\u00e4hle zun\u00e4chst deine gew\u00fcnschten Artikel aus. \nKlicke auf das \"Einkaufswagensymbol\" rechts oben. \nGehe in den Warenkorb. \nFinde das Feld \"Gutscheincode anwenden\" auf der rechten Seite. \nGib deinen Gutscheincode in das Feld \"Gutscheincode anwenden\" ein. \nKlicke auf den Button \"Anwenden\". \nGehe zur Kasse, um deine Bestellung abzuschlie\u00dfen.","shop_has_einloesehinweise":"1","coupon_information":"Folge einfach unserem Link\r\nAnschlie\u00dfend kannst du Geschenkgutscheine ab 25 Euro bestellen","shop_id":"135","shop_key":"puma.de","coupon_name":"PUMA Geschenkgutschein","shop_rauschtext":""}]; var LlgGutscheinc3f06064a4302861942ff0499d2d2a15 = { // show the gray translucent background and return the elements div showOverlay : function() { var el = document.createElement('div'); el.setAttribute("id", "llg-overlay"); el.onclick = function() { // this.remove(); } // toggle overlay // var el = document.getElementById("llg-overlay"); el.style.visibility = "visible"; // el = document.getElementById("llg-overlay-div"); // el.style.visibility = (el.style.visibility == "visible") ? "hidden" : "visible"; // el.innerHTML = ""; document.body.appendChild(el); return el; }, conversion : function (theId, uid) { // get proper shop var shop = null; for (var c=0; c"; } // 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 = LlgGutscheinc3f06064a4302861942ff0499d2d2a15.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 getCouponHtmlc3f06064a4302861942ff0499d2d2a15(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_gutscheinlistec3f06064a4302861942ff0499d2d2a15() { // foreach widget placeholder var elems = getElementsByClassName(document,"widget-gutscheinrausch-gutschein-liste"); for (var c=0; c