/* <![CDATA[ */
function receiveMessage(event) {
if (typeof event.data !== 'string') {
return;
}
var message = event.data.split(':');
var eventName = message[0];
var iframes, len, i = 0;
/* only receive messages from this domain */
var senderDomains = ['https://cdn.bestatterwebtool.de'];
if (senderDomains.indexOf(event.origin) !== -1 && eventName === 'resize') {
iframes = document.getElementsByTagName('iframe');
len = iframes.length;
for (; i */