document.write('<table align="center" width="100%" height="98%" border="0" cellpadding="1" cellspacing="1"><tr><td align="center" valign="middle"><a href="http://insurancesettlementfinancial.info/?cat=13" target="_blank"><img onclick="clickCTR(\'626\');" width="100" height="100" alt="Ferrari XV" src="http://www.thebestracinggames.com/images/thumbs/ferrari.jpeg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.celebinstyle.com" target="_blank"><img onclick="clickCTR(\'387\');" width="100" height="100" alt="World Drifting Champions" src="http://www.thebestracinggames.com/images/thumbs/zz_nfs.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.celebinstyle.com" target="_blank"><img onclick="clickCTR(\'616\');" width="100" height="100" alt="HotAdventureGames.com" src="http://www.thebestracinggames.com/images/thumbs/hotskillgames_100x100.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.dailyfreegames.com/" target="_blank"><img onclick="clickCTR(\'593\');" width="100" height="100" alt="Santa Rush" src="http://www.thebestracinggames.com/images/thumbs/banner_naruto.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://insurancesettlementfinancial.info/?cat=13" target="_blank"><img onclick="clickCTR(\'288\');" width="100" height="100" alt="Customize Your Ride" src="http://www.thebestracinggames.com/images/thumbs/banner_dbz.jpg" border="0" /></a></td></tr><tr><td align="center" valign="middle"><a href="http://www.celebinstyle.com"  target="_blank"><img onclick="clickCTR(\'617\');" width="100" height="100" alt="HotAdventureGames.com" src="http://www.thebestracinggames.com/images/thumbs/thegreatestarcade_100x100.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.dailyfreegames.com/"  target="_blank"><img onclick="clickCTR(\'599\');" width="100" height="100" alt="Burnin Rubber 2" src="http://www.thebestracinggames.com/images/thumbs/burninrubber2.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.dailyfreegames.com/"  target="_blank"><img onclick="clickCTR(\'622\');" width="100" height="100" alt="Counter Strike" src="http://www.thebestracinggames.com/images/thumbs/Counter Strike Best Racing Games.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.dailyfreegames.com/"  target="_blank"><img onclick="clickCTR(\'625\');" width="100" height="100" alt="Sonic Snowboarding" src="http://www.thebestracinggames.com/images/thumbs/Sonic Snowboarding Best Racing Games.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.dailyfreegames.com/"  target="_blank"><img onclick="clickCTR(\'633\');" width="100" height="100" alt="Colacao BMX" src="http://www.thebestracinggames.com/images/thumbs/banner_ben10.jpg" border="0" /></a></td></tr></table>');
function clickCTR_processGenerateForm()
				{					
					if (req.readyState == 4) {
						if (req.status == 200)
						{
							var sStatus = req.responseText;
							if (sStatus != "") 
							{
								/*alert (sStatus);
								oLyrLinkResult.innerHTML = req.responseText;*/
							}
							else {
								/*alert(req.statusText);
								oLyrLinkResult.innerHTML = "Error on Generate Form: " + req.statusText;*/
							}
						}
					}					
				}
				function clickCTR_generateForm(url_xml,pmode,pGID)
				{	
					/*oLyrLinkResult = document.getElementById("view");*/
					
					req = new XMLHttpRequest();
					req.abort();
					req.onreadystatechange = clickCTR_processGenerateForm;
					req.open('POST', url_xml, true);
				    req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');  
					req.send('n='+pGID); 
				}
				                                            
				function clickCTR(pGID)
				{
					var ajax_url = '/bannerCtr.php';				
					clickCTR_generateForm(ajax_url,1,pGID);
				}
				
				function rollup()
				{	
					var oTrade1 = document.getElementById('trade1');
					var oTrade2 = document.getElementById('trade2');
					var i;					
					var iRand = Math.floor(Math.random() * (5+5));
					if (iRand % 2 == 0)
					{						
						oTrade1.style.display = 'none';
						oTrade2.style.display = 'inline';
					}
					else
					{
						oTrade1.style.display = 'inline';
						oTrade2.style.display = 'none';
					}
				}
				//rollup();

