<javascript> i have 3 flash add popups, i need for a random one of them to popup when the page loads

i3rYs0n

Golden Member
Dec 9, 2001
1,525
0
0
How would i do this?

Make an array, of the items and then

randObj.set1 = new Array(
"hooters1.htm",
"hooters2.htm",
"hooters3.htm"
);


<body onload="initRandRotation()"

...); MM_openBrWindow('randObj.set1','HootersAir','width=500,height=400')"><body onload="window.open('randObj.set1', 'newWindow',
'scrollbars=0,resizable=0,height=500,width=400')">>



would this be how i chose a random webpage in the array, and the make it a popup window when the page loads?

Thx for any help,
Bryson