LTK.prototype.LtkRecsIframe=new function(){function h(n,t){var r=a(n),i=new(window.XDomainRequest||XMLHttpRequest);i.open("GET",r);i.onload=function(){var r=document.createElement("iframe");r.frameBorder=0;r.style.height="0px";r.style.width="100%";t(n,r);r.contentDocument.open();r.contentWindow.resize=function(){r.style.height=r.contentDocument.documentElement.scrollHeight+"px"};r.contentWindow.posttoparent=function(n){typeof n=="function"&&n()};r.contentDocument.write(i.responseText);r.contentDocument.close();_ltk.browser.mozilla&&_ltk.browser.version=="11.0"||r.contentWindow.addEventListener("resize",function(n){return function(){n||(n=setTimeout(function(){n=null;r.contentWindow.resize()},1e3/30))}}())};i.send()}function c(t){return t.indexOf("data-ltk")>-1&&t!=n}function l(n){var f=["i="+r],u,t;for(_ltk_util.getQuerystringValue(i)==="1"&&f.push(i+"=1"),u=0;u<n.length;u++)t=n[u],t.specified&&c(t.name)&&f.push(t.name+"="+encodeURIComponent(t.value));return f.join("&")}function a(t){var r=t.getAttribute(e),u=t.getAttribute(n),i=l(t.attributes),f=v(r,u);return f+(i==""?"":"?"+i)}function v(n,t){var r=n===null?f:n,i=s+r+"/"+t;return console.log(i),i}var t=this,u="1.1.2",f=_ltk.Client.CTID,e="data-ltk-onsiterecs",n="data-ltk-recsframe",i="ltkrecsframetestmode",o="https:"==document.location.protocol?"https://":"http://",s=o+"services.listrak.com/API/R/",r=!0;t.Render=function(t){var u,i,f;for(t!=undefined&&typeof t=="boolean"&&(r=t),u=document.querySelectorAll("["+n+"]"),i=0;i<u.length;i++)f=u[i],h(f,function(n,t){n.appendChild(t)})};t.getVersion=function(){console.log("LtkRecsIframe Version: "+u+"; Last update: "+_lastUpdate)}};_ltk.LtkRecsIframe.Render(!0)