On your index.php add the following code:
PHP Code:
<?php
$imgs = array("image1.gif", "image2.gif", "image3.gif");
srand ((double)microtime()*1000000);
shuffle($imgs);
?>
then
PHP Code:
<script LANGUAGE="JavaScript">
function changeFond() {
document.getElementById("maTableHeader").style.backgroundImage='url(<?php echo $imgs[0]?>)'
}
</script>
then this:
PHP Code:
<body onload="changeFond()">
and finally in the page where your table is described must be added
PHP Code:
<table width="860" height="143" id="maTableHeader">
Bookmarks