function ramdomTable() {

	// iTable is the formating and building of the actual table.
	// it's pretty straight forward
//	var iTableStart = "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\"><tr bgcolor=\"#CCCCCC\">\n";
	var iTableStart = "<tr bgcolor=\"#CCCCCC\">\n";
	var iTableEnd =	"</table>\n";
	var iTableRow = "</tr><tr bgcolor=\"#999999\">\n";
	var iTableCel = "<td align=center>Look it works</td>\n";
	var iTableCelStart = "<td class=\"bodyLink\" bgcolor=\"#FFFFFF\">";
	var iTableCelEnd = "</td>";
	var iTableALLCels = "";
	var iCurrentCell = "";
	
	// list of total possible banners
	var aCellContent = ["<a href=\"http://www.provigo.ca/fr/\" target=\"_blank\"><img src=\"http://www.loblaw.com/images/provigo.gif\" width=\"110\" height=\"45\" border=\"0\" alt=\"Provigo\"></a>",
						"<a href=\"http://www.yourindependentgrocer.ca/fr\" target=\"_blank\"><img src=\"http://www.loblaw.com/images/YourIndependentGrocer_fr.gif\" alt=\"Votre Epicier Independant\" width=\"110\" height=\"45\" border=\"0\"></a>",
						"<a href=\"http://www.loblaws.ca/fr/\" target=\"_blank\"><img src=\"http://www.loblaw.com/images/loblawslogo_fr.jpg\" width=\"110\" height=\"45\" border=\"0\" alt=\"Loblaws\"></a>",
						"<a href=\"http://www.maxi.ca/fr\" target=\"_blank\"><img src=\"http://www.loblaw.com/images/MaxiLogoFloat.jpg\" width=\"110\" height=\"45\" border=\"0\" alt=\"Maxi\"></a>",
						"<a href=\"http://www.maxi.ca/fr\" target=\"_blank\"><img src=\"http://www.loblaw.com/images/MaxiLogoFloat_fr.jpg\" width=\"110\" height=\"45\" border=\"0\" alt=\"Maxi\"></a>"];
	
	var jCount = 0;
	var jRandom = 0;
	var jNumberOfCells = aCellContent.length;

	while ( jCount < 4) {
	
		while (jRandom < 1 || jRandom > jNumberOfCells) {
			jRandom = Math.random() * 100;
			jRandom = jRandom - 10;
			jRandom = Math.round(jRandom);
			}
		jRandom = jRandom - 1;
		jCurrItem = aCellContent.splice( jRandom, 1);
		
		iCurrentCell = iCurrentCell + iTableCelStart;
		iCurrentCell = iCurrentCell + jCurrItem;
		iCurrentCell = iCurrentCell + iTableCelEnd;
	
		iTableALLCels = iTableALLCels + iCurrentCell + iTableRow;

		jCount = jCount + 1;
		jRandom = 0;
		jCurrItem = "";
		iCurrentCell = "";
		jNumberOfCells = aCellContent.length;

		}
	
//	iTable = iTableStart + iTableALLCels + iTableEnd;
	iTable = iTableStart + iTableALLCels;
	return iTable;

//	document.writeln("<br><br>aCellContent:<br>" + aCellContent);

	}


document.write('<div style="position:absolute; left:1px; top:170px; width:58px; height:118px; z-index:1; overflow: visible" id="floater"> ');
document.write('  <table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('    <tr> ');
document.write('      <td valign="top" width="12%" align="center"><a href="#top"><img src="http://www.loblaw.com/images/up.gif" width="20" height="35" border="0"></a></td>');
document.write('      <td width="88%">');
document.write('	          <table border="0" cellspacing="1" cellpadding="0" width="110" bgcolor="#999999">');
document.write('          <tr bgcolor="#CCCCCC"> ');
document.write('            <td class="bodyLink"><a href="http://www.presidentschoice.ca/home.aspx?userLanguage=fr" target="_blank"><img src="http://www.loblaw.com/images/lechoix_pres.gif" width="110" height="45" border="0" alt="le choix de président"></a></td>');
document.write('		  </tr> ');
document.write('		  <tr bgcolor="#CCCCCC"> ');
document.write('            <td class="bodyLink"><a href="http://www.pcfinance.ca/" target="_blank"><img src="http://www.loblaw.com/images/lechoix_pres_financiers.gif" width="110" height="45" border="0" alt="Services financiers le Choix du Président"></a></td>');
document.write('		  </tr>          ');

// random table from the code
document.write(ramdomTable());

document.write('        </table>');
document.write('	 </td>');
document.write('    </tr>');
document.write('  </table>');
document.write('</div>');
document.write('<img src="http://www.loblaw.com/images/spacer.gif" name="pg_bottom" id="pg_bottom" width="1" height="1" border="0">');
document.write('<script language="JavaScript" src="http://www.loblaw.com/scripts/float.js"></script>');