--- projects/cms/source/reports/php/shared/title.inc.php 2001/03/22 17:41:41 1.10 +++ projects/cms/source/reports/php/shared/title.inc.php 2001/03/22 18:32:54 1.11 @@ -23,7 +23,12 @@ setTimeout("pScroll();", 50); } function waitThenReload() { - setTimeout("location.reload();", 2000); + if (document.body.clientHeight + 100 > document.body.scrollHeight) { + setTimeout("location.reload();", 10000); + } + else { + location.reload(); + } } //-->