// initialize pointer array
function randomimg(){
};

// main display function
function displayside(){

// init vars
r=new randomimg();
n=0;
i=0;
//i2=0;

// image list
r[1]= '<tr><td><a href="http://www.dishonored.com" target="_blank"><img src="../../images/side_images/games_dishonored.jpg" width="175" height="100" border="0" alt="Dishonored"></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="http://www.dishonored.com" target="_blank">Dishonored</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[2]= '<tr><td><a href="http://www.facebook.com/prey2" target="_blank"><img src="../../images/side_images/game_prey2.jpg" width="175" height="100" border="0" alt="Prey 2"></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="http://www.facebook.com/prey2" target="_blank">Prey 2</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[1]);
document.write(r[2]);

};
