<script language="javascript">
var j=0;
var message1="AAA";
var message2="BBB";
window.status=message1;
function showmessage()
{
if (j==0)
{j=1;
window.status=message1;
window.setTimeout("showmessage();",1000);}
else
{j=0;
window.status=message2;
window.setTimeout("showmessage();",1000);}
}
showmessage();
</script>