function openPopup(url,nme,w,h,s,r,t,root)
{
	window.name = "RiskArb";
	var s1 = r1 = t1 = 'no';
	if (s) s1 = s;
	if (r) r1 = r;
	if (t) t1 = t;
	if (root) window.parent.name = root;
	window.open(url,nme,'height='+h+',width='+w+',scrollbars='+s1+',resizable='+r1+',toolbar='+t1);
}

function over(arg) {
}
	
function out(arg) {
	document.images[arg].src = 'images/'+arg+'0.gif';
}
	
function preLoad() {
}

var images = new Array();
	images[0] = 'fp_1.jpg';
	images[1] = 'fp_2.jpg';
	images[2] = 'fp_3.jpg';
	images[3] = 'fp_4.jpg';
	images[4] = 'fp_5.jpg';
	images[5] = 'fp_6.jpg';
	images[6] = 'fp_7.jpg';
	images[7] = 'fp_8.jpg';
	images[8] = 'fp_9.jpg';
	images[9] = 'fp_10.jpg';
	images[10] = 'fp_11.jpg';
	images[11] = 'fp_12.jpg';
	images[12] = 'fp_13.jpg';
	images[13] = 'fp_14.jpg';
	images[14] = 'fp_15.jpg';
  
function rand(n) {
  var now = new Date()
  var seed = now.getTime() % 0xffffffff
	seed = (0x015a4e35 * seed) % 0x7fffffff;
	return (seed >> 1) % n;
}

