var adyardBase = { _keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", encode: function (input) { var output = ""; var chr1, chr2, chr3, enc1, enc2, enc3, enc4; var i = 0; while (i < input.length) { chr1 = input.charCodeAt(i++); chr2 = input.charCodeAt(i++); chr3 = input.charCodeAt(i++); enc1 = chr1 >> 2; enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); enc4 = chr3 & 63; if (isNaN(chr2)) { enc3 = enc4 = 64; } else if (isNaN(chr3)) { enc4 = 64; } output = output + this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) + this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4); } return output; }, addListener: function(element, event, listener, bubble) { if (element.addEventListener) { if (typeof bubble == 'undefined'){ bubble = false; } element.addEventListener(event, listener, bubble); } else if (this.attachEvent) { element.attachEvent("on" + event, listener); } } }; adyardMonetizer = { vars: window.location.search.substring(1).split("&"), hostname: 'http://adfarm.adyard.de', user_id: '7c988f0e55ce1f7', unit_id: 5, __var: function(variable) { for (var i=0; i