    var ic = 3;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold filenames
    var xoxo1 = new Array(ic);  // Array to hold filenames
    var xoxo2 = new Array(ic);  // Array to hold filenames
	
xoxo[0] = "<table width='449'  border='0' cellpadding='0' cellspacing='0'><tr><td width='155'><a href='testlist.asp?testtype=r'><img src='images/howsmart.gif' width='155' height='153' border='0'></a></td><td width='4' background='images/top_ad_green.gif'>&nbsp;</td><td width='290' height='153' valign='top' bgcolor='339966'><table width='88%'  border='0' align='center' cellpadding='3' cellspacing='0'><tr><td height='60'><font size='4' face='Arial' color='#FFFFFF'><b>Find out how smart you really are!</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>We offer 5 types of certified IQ tests to test your knowledge. Find out where you stand.</font></td></tr><tr><td height='10'><font face='Arial' color='#FFFFFF' size='2'><b><a href='testlist.asp?testtype=r'><span class='whitebold'><u><font color='#FFFF66'>Tell me more</font></u></span></a></b></font></td></tr></table></td></tr><tr><td height='2' colspan='3'></td></tr><tr bgcolor='CCFFCC'><td height='15' colspan='3'></td></tr></table>";
xoxo[1] = "<table width='449'  border='0' cellpadding='0' cellspacing='0'><tr><td width='155'><a href='test.asp?product_id=36'><img src='images/commIQ_01.gif' width='155' height='153' border='0'></a></td><td width='1' background='images/top_ad_red.gif'>&nbsp;</td><td width='305' height='153' valign='top' bgcolor='993300'><table width='88%'  border='0' align='center' cellpadding='3' cellspacing='0'><tr><td height='60'><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.</font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'><b><a href='test.asp?product_id=36'><span class='whitebold'><u><font color='#FFFF66'>Tell me more</font></u></span></a></b></font></td></tr></table></td></tr><tr><td height='2' colspan='3'></td></tr><tr bgcolor='FF99CC'><td height='15' colspan='3'></td></tr></table>";
xoxo[2] = "<table width='449'  border='0' cellpadding='0' cellspacing='0'><tr><td width='155'><a href='test.asp?product_id=39'><img src='images/stockmarketIQ.gif' width='155' height='153' border='0'></a></td><td width='1' background='images/top_ad_3399FF.gif'>&nbsp;</td><td width='305' height='153' valign='top' bgcolor='3399FF'><table width='89%'  border='0' align='center' cellpadding='3' cellspacing='0'><tr><td height='60'><font size='4' face='Arial' color='#FFFFFF'><b>Do you know your stock market IQ?</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Most of us invest in stock market directly or indirectly. Do you know enough to make the right moves?</font></td></tr><tr><td height='10'><font face='Arial' color='#FFFFFF' size='2'><b><a href='test.asp?product_id=39'><span class='whitebold'><u><font color='#FFFF66'>Tell me more</font></u></span></a></b></font></td></tr></table></td></tr><tr><td height='2' colspan='3'></td></tr><tr bgcolor='99CCFF'><td height='15' colspan='3'></td></tr></table>";
xoxo1[0] = "<table width='449'  border='0' cellpadding='0' cellspacing='0'><tr><td width='155'><a href='test.asp?product_id=38'><img src='images/financialIQ.gif' width='155' height='153' border='0'></a></td><td width='1' background='images/top_ad_FF9900.gif'>&nbsp;</td><td width='305' height='153' valign='top' bgcolor='FF9900'><table width='89%'  border='0' align='center' cellpadding='3' cellspacing='0'><tr><td height='60'><font size='4' face='Arial' color='#FFFFFF'><b>Is your knowledge of finance adequate?</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Finance plays a big role in our life (credit cards, mortgages, etc)! Find how much you know about finance & money.</font></td></tr><tr><td height='10'><font face='Arial' color='#FFFFFF' size='2'><b><a href='test.asp?product_id=38'><span class='whitebold'><u><font color='#FFFF66'>Tell me more</font></u></span></a></b></font></td></tr></table></td></tr><tr><td height='2' colspan='3'></td></tr><tr bgcolor='FFCC66'><td height='15' colspan='3'></td></tr></table>";
xoxo1[1] = "<table width='449'  border='0' cellpadding='0' cellspacing='0'><tr><td width='155'><a href='test.asp?product_id=37'><img src='images/mbamaterial.gif' width='155' height='153' border='0'></a></td><td width='1' background='images/top_ad_00999.gif'>&nbsp;</td><td width='305' height='153' valign='top' bgcolor='009999'><table width='89%'  border='0' align='center' cellpadding='3' cellspacing='0'><tr><td height='60'><font size='4' face='Arial' color='#FFFFFF'><b>Want an MBA? But do you have the stuff?</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Frankly, are you MBA material? Willingness alone is not enough. Find out if you are MBA ready!</font></td></tr><tr><td height='10'><font face='Arial' color='#FFFFFF' size='2'><b><a href='test.asp?product_id=37'><span class='whitebold'><u><font color='#FFFF66'>Tell me more</font></u></span></a></b></font></td></tr></table></td></tr><tr><td height='2' colspan='3'></td></tr><tr bgcolor='99FFCC'><td height='15' colspan='3'></td></tr></table>";
xoxo1[2] = "<table width='449'  border='0' cellpadding='0' cellspacing='0'><tr><td width='155'><a href='test.asp?product_id=40'><img src='images/selfconfidence.gif' width='155' height='153' border='0'></a></td><td width='1' background='images/top_ad_FF00FF.gif'>&nbsp;</td><td width='305' height='153' valign='top' bgcolor='FF00FF'><table width='89%'  border='0' align='center' cellpadding='3' cellspacing='0'><tr><td height='60'><font size='4' face='Arial' color='#FFFFFF'><b>Is your confidence level helping or hurting you?</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Self-confidence plays a key role in your success and growth. Find where your confidence level stands.</font></td></tr><tr><td height='10'><font face='Arial' color='#FFFFFF' size='2'><b><a href='test.asp?product_id=40'><span class='whitebold'><u><font color='#FFFF66'>Tell me more</font></u></span></a></b></font></td></tr></table></td></tr><tr><td height='2' colspan='3'></td></tr><tr bgcolor='FF99CC'><td height='15' colspan='3'></td></tr></table>";
xoxo2[0] = "<table width='449'  border='0' cellpadding='0' cellspacing='0'><tr><td width='155'><a href='test.asp?product_id=41'><img src='images/powerpersonality.gif' width='155' height='153' border='0'></a></td><td width='1' background='images/top_ad_FF9900.gif'>&nbsp;</td><td width='305' height='153' valign='top' bgcolor='FF9900'><table width='89%'  border='0' align='center' cellpadding='3' cellspacing='0'><tr><td height='60'><font size='4' face='Arial' color='#FFFFFF'><b>What is your power personality?</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Everyone has a power personality based on their desire for power. Find what powers drive and define you.</font></td></tr><tr><td height='10'><font face='Arial' color='#FFFFFF' size='2'><b><a href='test.asp?product_id=41'><span class='whitebold'><u><font color='#FFFF66'>Tell me more</font></u></span></a></b></font></td></tr></table></td></tr><tr><td height='2' colspan='3'></td></tr><tr bgcolor='FFCC66'><td height='15' colspan='3'></td></tr></table>";
xoxo2[1] = "<table width='449'  border='0' cellpadding='0' cellspacing='0'><tr><td width='155'><a href='test.asp?product_id=42'><img src='images/innerfears.gif' width='155' height='153' border='0'></a></td><td width='1' background='images/top_ad_33CC33.gif'>&nbsp;</td><td width='305' height='153' valign='top' bgcolor='33CC33'><table width='89%'  border='0' align='center' cellpadding='3' cellspacing='0'><tr><td height='60'><font size='4' face='Arial' color='#FFFFFF'><b>Do you know what your inner fears are?</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Believe it or not, everyone has some inner fears. Find what inner fears affect and define you.</font></td></tr><tr><td height='10'><font face='Arial' color='#FFFFFF' size='2'><b><a href='test.asp?product_id=42'><span class='whitebold'><u><font color='#FFFF66'>Tell me more</font></u></span></a></b></font></td></tr></table></td></tr><tr><td height='2' colspan='3'></td></tr><tr bgcolor='CCFFFF'><td height='15' colspan='3'></td></tr></table>";
xoxo2[2] = "<table width='449'  border='0' cellpadding='0' cellspacing='0'><tr><td width='155'><a href='test.asp?product_id=44'><img src='images/gmatscore.gif' width='155' height='153' border='0'></a></td><td width='1' background='images/top_ad_00CCFF.gif'>&nbsp;</td><td width='305' height='153' valign='top' bgcolor='00CCFF'><table width='89%'  border='0' align='center' cellpadding='3' cellspacing='0'><tr><td height='60'><font size='4' face='Arial' color='#FFFFFF'><b>Get your GMAT score estimate in minutes.</b></font></td></tr><tr><td><font face='Arial' color='#FFFFFF' size='2'>Our Quick GMAT test will give you a very accurate estimate of your real GMAT score.</font></td></tr><tr><td height='10'><font face='Arial' color='#FFFFFF' size='2'><b><a href='test.asp?product_id=44'><span class='whitebold'><u><font color='#FFFF66'>Tell me more</font></u></span></a></b></font></td></tr></table></td></tr><tr><td height='2' colspan='3'></td></tr><tr bgcolor='CCFFFF'><td height='15' colspan='3'></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);
