	var iMyLoc;

	iMyLoc = (document.location);

function keepResident() {

	var iMyWidth;

	var iMyHeight;

	//gets top and left positions based on user's resolution so hint window is centered.

	iMyWidth = (window.screen.width/2) - (200 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).

	iMyHeight = (window.screen.height/2) - (225 + 50); //half the screen height minus half the new window height (plus title and status bars).

	var win2 = window.open(iMyLoc,"Winners","status,height=500,width=400,resizable=yes,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=yes");

	win2.focus();

}

var imagenumber = 2;

 var randomnumber = Math.random() ;

 var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;

 links = new Array;

	//links[imagenumber]="<!-- NORMAL ADS --><SCRIPT LANGUAGE='javascript' src='http://www.qksz.net/1e-52bl'></SCRIPT>";


//8x rundown
links[1]="<IFRAME SRC='http://www.liquidgaming.net/rundown/468_game_ca.html' name='rundown' width='468'height='60' frameborder='no' border='0' MARGINWIDTH='0' MARGINHEIGHT='0' SCROLLING='no'></IFRAME>";

// 8x riddick
links[2]="<IFRAME SRC='http://www.liquidgaming.net/riddick/468.html' name='riddick_trailer' width='468'height='60' frameborder='no' border='0' MARGINWIDTH='0' MARGINHEIGHT='0'SCROLLING='no'></IFRAME>";
var link = links[rand1] ;

 document.write(link);


