    var ic = 3;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold filenames
        
xoxo[0] = "<table width='249' height='402'  border='0' align='center' cellpadding='0' cellspacing='0'><tr><td width='249' height='111' valign='top' bgcolor='33CC33'><table width='249' height='410'  border='0' align='center' cellpadding='0' cellspacing='0'><tr><td width='249' height='130'><a href='test.asp?product_id=36'><img src='images/commIQ.gif' width='249' height='147' border='0'></a></td></tr><tr><td height='2' bgcolor='CCFFCC'></td></tr><tr><td valign='top'><table width='86%'  border='0' align='center' cellpadding='5' cellspacing='0'><tr><td height='100'><font size='4' face='Arial' color='#FFFFFF'><b>What is your communication IQ?</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Effective communication skills are prerequisite for success. Find out how good a communicator you are.<br><br><b><a href='test.asp?product_id=36'><span class='whitebold'><u>Tell me more</u></span></a></b></font></td></tr></table></td></tr></table></td></tr></table>";
xoxo[1] = "<table width='249' height='402'  border='0' align='center' cellpadding='0' cellspacing='0'><tr><td width='249' height='111' valign='top' bgcolor='FF6600'><table width='249' height='433'  border='0' align='center' cellpadding='0' cellspacing='0'><tr><td width='249' height='130'><a href='test.asp?product_id=42'><img src='images/fearholding.gif' width='249' height='137' border='0'></a></td></tr><tr><td height='2' bgcolor='FF99CC'></td></tr><tr><td><table width='77%'  border='0' align='center' cellpadding='5' cellspacing='0'><tr><td height='70' valign='top'><font size='4' face='Arial' color='#FFFFFF'><b>Are your fears holding you back?</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Everyone has some fears which is quite normal. Find out if you have any conscious or unconscious fears that are affecting your success and growth.<br><br><b><a href='test.asp?product_id=42'><span class='whitebold'><u>Tell me more</u></span></a></b></font></td></tr></table></td></tr></table></td></tr></table>";
xoxo[2] = "<table width='249' height='402'  border='0' align='center' cellpadding='0' cellspacing='0'><tr><td width='249' height='111' valign='top' bgcolor='3366FF'><table width='249' height='410'  border='0' align='center' cellpadding='0' cellspacing='0'><tr><td width='249' height='130'><a href='test.asp?product_id=43'><img src='images/realestateIQ.gif' width='249' height='130' border='0'></a></td></tr><tr><td height='2' bgcolor='99CCFF'></td></tr><tr><td><table width='77%'  border='0' align='center' cellpadding='5' cellspacing='0'><tr><td height='70' valign='top'><font size='4' face='Arial' color='#FFFFFF'><b>What is your real estate IQ?</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Chances are you are already invested in real estate and are planning more real estate investment in the next few years. But do you know enough to make informed decisions? Find out.<br><br><b><a href='test.asp?product_id=43'><span class='whitebold'><u>Tell me more</u></span></a></b></font></td></tr></table></td></tr></table></td></tr></table>";


function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
// Write out an IMG tag, using a randomly-chosen image name.
var choice = pickRandom(ic);