Colin Powell Interactive
October 19, 2021
var adjustFrame=function(message){document.getElementById("ap-embed").style.height=Number(message)+20+"px"}
function bindEvent(element,eventName,eventHandler){if(element.addEventListener){element.addEventListener(eventName,eventHandler,!1)}else if(element.attachEvent){element.attachEvent('on'+eventName,eventHandler)}}
bindEvent(window,'message',function(e){if(e.data.indexOf('apym')!=-1){adjustFrame(e.data.replace("apym",""))}});