$outracondicao = 'S';
$script = new TElement('script');
$script->type = 'text/javascript';
$script->add("$(document).ready(function(){
window.setTimeout(function(){
var results = new RegExp('[\?&]class=([^&#]*)').exec(window.location.href);
if('".__CLASS__."' == results[1])
__adianti_load_page('engine.php?class=AtendimentosEmProcessoList&method=onReload');
}, 5000);