<script type="text/javascript">
function moveNext()
{
var percent = '<?PHP echo $percent; ?>';
window.parent.bottom.updateProgress(percent);
<?PHP
if( !$done )
{
?>
window.location = '<?PHP echo $location; ?>';
<?PHP
}
?>
window.onload = function()
{
moveNext();
}
</script>
<b><?PHP echo $message; ?></b>