<script>function resizeIframe(e){PTD.modalOpen||(PTD.iFameObj=document.getElementById("ptd_portal_login_iframe"),PTD.frameHeight=e,PTD.iFameObj.style.height=PTD.frameHeight+"px",PTD.iFameObj.setAttribute("scrolling","no"))}function receiveMessage(e){try{var o=JSON.parse(e.data);if("openModal"===o.event&&(PTD.modalOpen||(PTD.scrollPos=document.body.scrollTop||document.documentElement.scrollTop),document.body.scrollTop=document.documentElement.scrollTop=PTD.iFameObj.offsetTop,PTD.iFameObj.style.height=window.innerHeight+"px",PTD.modalOpen=!0),"closeModal"===o.event&&(PTD.iFameObj.style.height=PTD.frameHeight+"px",document.body.scrollTop=document.documentElement.scrollTop=PTD.scrollPos,PTD.modalOpen=!1),"frameLoaded"===o.event){var t=o.height;o.initialLoad&&(PTD.modalOpen=!1,document.body.scrollTop=document.documentElement.scrollTop=0),resizeIframe(t),PTD.iFameObj.contentWindow.postMessage(JSON.stringify({event:"parentHeight",height:window.innerHeight}),"*")}}catch(e){}}try{var PTD={};PTD.iFameObj={},PTD.modalOpen=0,PTD.scrollPos=0,PTD.frameHeight=0,window.addEventListener("message",receiveMessage,!1)}catch(e){}</script><iframe id="ptd_portal_login_iframe" width="100%" height="900px" frameBorder="0" style="display:block;" src="https://v3portal.ptdistinction.com/ptd_cl_iframe.php?apk=7N225269LW262548" title="Online Personal Training Software">Online Personal Training Software</iframe><div style="text-align:center; font-size:10px; margin-bottom:10px; margin-top:30px;"><a href="https://www.ptdistinction.com" target="_blank">Online Personal Training Software</a></div>

Pin It on Pinterest

Share This