var url=window.location.href; url=url.toLowerCase(); if( (url.indexOf('flightfaresearch')!=-1) && (url.indexOf('SessionTimeOut')==-1) ) { document.write('
'); document.getElementById('iframe_post').submit(); }