// initialize pointer array
function randomimg(){
};

// main display function
function displayside(){

// init vars
r=new randomimg();
n=0;
i=0;
//i2=0;

// image list
r[n++]= '<tr><td><a href="../../fre/games/games_roguewarrior.html"><img src="http://bethsoft.com/images/side_images/game_roguewarrior.jpg" width="175" height="100" border="0" alt="Rogue Warrior"></a></td></tr><tr><td><img src="http://bethsoft.com/images/layout/spacer.gif" width="100%" height="5"></td></tr><tr><td align="center" valign="top"><span class="bdycpy"><b><a href="../../fre/games/games_roguewarrior.html">Rogue Warrior</a></b></span></td></tr><tr><td><b><img src="http://bethsoft.com/images/layout/spacer.gif" width="100%" height="15"></b></td></tr>';

//r[1]= '<tr><td><a href="file://///Devlinux/games/games_roguewarrior.html"><img src="file://///Devlinux/images/side_images/game_roguewarrior.jpg" width="175" height="100" border="0" alt="Rogue Warrior"></a></td></tr><tr><td><img src="file://///Devlinux/images/layout/spacer.gif" width="100%" height="5"></td></tr><tr><td align="center" valign="top"><span class="bdycpy"><b><a href="file://///Devlinux/games/games_roguewarrior.html">Rogue Warrior</a></b></span></td></tr><tr><td><b><img src="file://///Devlinux/images/layout/spacer.gif" width="100%" height="15"></b></td></tr>';

// end image list

i=Math.floor(Math.random()*n);

// keeps the script from displaying the same game

//do
//{
//i2 = Math.floor(Math.random()*n);
//}
//while (i2 == i);

// write games to screen 
//document.write(r[1]);
document.write(r[i]);
//document.write(r[i2]);

};