var ConsumerPortalObject={hh:0,height:function(x){parent.location=location.href.replace(/#.+$/ig,'')+'#'+x;ConsumerPortalObject.iframe.style.height=x+'px';ConsumerPortalObject.hh='#'+x},'iframe':null,'src':('http://www.loansifter.com/consumerportal.aspx?uid=29558&'+top.location.search.substr(1)).replace(/&+$/ig,''),'parentURL':escape(top.location),'post':function(x){if(!x.match(/^\w+=\w+/ig))return;var i=ConsumerPortalObject.src.indexOf('&');ConsumerPortalObject.iframe.src=(i<0?ConsumerPortalObject.src:ConsumerPortalObject.src.substr(0,i))+'&'+x.replace(/^&+| +|post=[a-z0-9]+/ig,'').match(new RegExp('\\b\\w+=[^&]+\\b','ig')).join('&')+'&post=1&sec='+(new Date()).getSeconds()+'#'+ConsumerPortalObject.parentURL}};var ConsumerPortalInterval;(function(){location.hash='0';/*Must reset hash during page load otherwise pages with large predefine hash will not reset its height*/ConsumerPortalInterval=setInterval(function(){if(location.hash!=ConsumerPortalObject.hh&&/^#\d+/ig.test(location.hash)){ConsumerPortalObject.hh=location.hash;document.getElementById('ifr').style.height=ConsumerPortalObject.hh.substr(1)+'px'} else if(location.hash != ConsumerPortalObject.hh && location.hash.indexOf('http')==1){clearInterval(ConsumerPortalInterval);window.location=location.href.substr(location.href.indexOf('#http')+1)}},200);document.write("");ConsumerPortalObject.iframe=document.getElementById('ifr')})()