var fieldsForm_816_dom=document.getElementById('fieldsForm_816'); var fromaddr=location.href.match(/fromaddr=[^&]+/); if(fromaddr){ var src=fieldsForm_816_dom.src.replace(/fromaddr=[^&]+/,''); src+=(src.indexOf('?')>-1?'&':'?')+fromaddr; fieldsForm_816_dom.src=src; } if (typeof window.addEventListener != 'undefined') { window.addEventListener('message', function(e) { var ifname_dom=document.getElementById(e.data.ifname?e.data.ifname:'fieldsForm_816'); ifname_dom.style.height=e.data.height+'px'; }, false); } else if (typeof window.attachEvent != 'undefined') { window.attachEvent('onmessage', function(e) { var ifname_dom=document.getElementById(e.data.ifname?e.data.ifname:'fieldsForm_816'); ifname_dom.style.height=e.data.height+'px'; }); }