document.write('<table align="center" width="100%" height="98%" border="0" cellpadding="1" cellspacing="1"><tr><td align="center" valign="middle"><a href="http://referer.us/0/JtlPz2" target="_blank"><img onclick="clickCTR(\'1183\');" width="100" height="100" alt="Heatwave Racing" src="http://www.myactiongames.com/images/thumbs/heatwavegamesrounded100x100-MAG.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://referer.us/0/JtlPz2" target="_blank"><img onclick="clickCTR(\'1200\');" width="100" height="100" alt="Dragon Ball 3" src="http://www.myactiongames.com/images/thumbs/DB3-100-MAG-Trade.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.ballerarcade.com/playgames/1114/armored-legion-.html" target="_blank"><img onclick="clickCTR(\'1101\');" width="100" height="100" alt="Armored Legion" src="http://www.myactiongames.com/images/thumbs/gundammoshurounded100x100-MAG.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.pockgames.com/free-games/358/Vinnies-Shooting-Yard.html" target="_blank"><img onclick="clickCTR(\'1122\');" width="100" height="100" alt="Vinnies Shooting Yard" src="http://www.myactiongames.com/images/thumbs/vinnieshootingyardgamesrounded100x100-MAG.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://jarkey.net/playgames/sonic-lost-in-mario-world_game.htm" target="_blank"><img onclick="clickCTR(\'1177\');" width="100" height="100" alt="Sonic Lost in Mario World" src="http://www.myactiongames.com/images/thumbs/marioandsonicbetheonerounded100x100-MAG.jpg" border="0" /></a></td></tr><tr><td align="center" valign="middle"><a href="http://referer.us/daily-portal.com/?cat=25"  target="_blank"><img onclick="clickCTR(\'1193\');" width="100" height="100" alt="Brothers in Arms (Earned in Blood)" src="http://www.myactiongames.com/images/thumbs/callofdutygamesrounded100x100-MAG.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.pockgames.com/games/121/Kilroy-2.html"  target="_blank"><img onclick="clickCTR(\'1192\');" width="100" height="100" alt="Kilroy 2" src="http://www.myactiongames.com/images/thumbs/Agelinajolierounded100x100-MAG.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://www.stumpygames.com/supermariogames/play/1105/ms-pacman.html"  target="_blank"><img onclick="clickCTR(\'1191\');" width="100" height="100" alt="Ms Pacman" src="http://www.myactiongames.com/images/thumbs/mspacmangamesrounded100x100-MAG.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://myactiongames.com/movie_list/index_8.html"  target="_blank"><img onclick="clickCTR(\'1198\');" width="100" height="100" alt="Top Movies" src="http://www.myactiongames.com/images/thumbs/shrekafterliferounded100x100-MAG.jpg" border="0" /></a></td><td align="center" valign="middle"><a href="http://referer.us/0/JtlPz2"  target="_blank"><img onclick="clickCTR(\'1194\');" width="100" height="100" alt="Thing Thing 3" src="http://www.myactiongames.com/images/thumbs/neocontragamesrounded100x100-MAG.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();

