function randomimg(){

};

function displayheader(){

r=new randomimg();
n=0;

// image list
r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_oblivion.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-07.jpg" width="780" height="100" alt="The Elder Scrolls IV: Oblivion" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_startreklegacy.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-10.jpg" width="780" height="100" alt="Star Trek: Legacy" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_startrektacassault.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-11.jpg" width="780" height="100" alt="Star Trek: Tactical Assault" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_oblivion-kotn.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-13.jpg" width="780" height="100" alt="The Elder Scrolls IV: Knights of the Nine" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_roguewarrior.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-15.jpg" width="780" height="100" alt="Rogue Warrior" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_obliv_shivisles.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-17.jpg" width="780" height="100" alt="The Elder Scrolls IV: Shivering Isles" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_obliv_goty.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-18.jpg" width="780" height="100" alt="The Elder Scrolls IV: Oblivion Game of the Year Edition" border=0></a></td>';


//duplicate list follows for random purposes
r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_oblivion.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-07.jpg" width="780" height="100" alt="The Elder Scrolls IV: Oblivion" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_startreklegacy.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-10.jpg" width="780" height="100" alt="Star Trek: Legacy" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_startrektacassault.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-11.jpg" width="780" height="100" alt="Star Trek: Tactical Assault" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_oblivion-kotn.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-13.jpg" width="780" height="100" alt="The Elder Scrolls IV: Knights of the Nine" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_roguewarrior.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-15.jpg" width="780" height="100" alt="Rogue Warrior" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_obliv_shivisles.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-17.jpg" width="780" height="100" alt="The Elder Scrolls IV: Shivering Isles" border=0></a></td>';

r[n++]= '<td bgcolor="#000000"> <a href="http://www.bethsoft.com/eng/games/games_obliv_goty.html"><img src="http://www.bethsoft.com/images/header_bg/header_bg-18.jpg" width="780" height="100" alt="The Elder Scrolls IV: Oblivion Game of the Year Edition" border=0></a></td>';


// end image list

i=Math.floor(Math.random()*n);
document.write(r[i]);
};