/*@cc_on @*/

var listings = new Array();
var listingsURL = new Array();
listings[0] = 'New games</a></b></td><td>Jewel quest, Magic Match, Luxor Amun Rising, Luxor, bejeweled 2, Mystery Case File Huntsville, Big Kahuna Reef, Bricks of Atlantis, Mahjong quest, Mah Jong Medley, Poker Superstars, Aloha Solitaire, Family Feud, Wheel of Fortune, Dino and Aliens';
listingsURL[0] = 'ht' + 'tp://www.bigalgames.com';
listings[1] = 'Puzzle games</a></b></td><td>Jewel quest, Magic Match, Luxor Amun Rising, Luxor, bejeweled 2, Mystery Case File Huntsville, Big Kahuna Reef, Bricks of Atlantis, Insaniquarium Deluxe, Lemonade Tycoon, Mad Caps, Betrapped, Wonderland, Chainz, Puzzle Express, Puzzaz, Qbz, Diamond Drops, Combo Chaos, Equilibria, Sveerz, The Walls Of Jericho, High Roller, Color match, Bug Smasher, Puzzle Myth, Jericho Mirage, Domino Master, Puzzle Express';
listingsURL[1] = 'ht' + 'tp://www.bigalgames.com';
listings[2] = 'Arcade games</a></b></td><td>Magic Ball, Ricochet Lost Worlds, Ballistiks, Yammy Dots, Bettys Beer Bar, Ultraball, Luxor Amun Rising, Luxor, Snowy, Ricochet Xtreme, Froggy Castle, Airxonix, Bugix, Beetle Junior, Freak Out Gold, Digbys Donuts, Ricocohet Lost Worlds';
listingsURL[2] = 'ht' + 'tp://www.bigalgames.com';
listings[3] = 'Action games</a></b></td><td>Zuma Deluxe, Atomaders, Alien Sky, Air Strike 3D, Alien Shooter, Astobatics, Varmintz, Swarn, Hamsterball, Rocket Mania';
listingsURL[3] = 'ht' + 'tp://www.bigalgames.com';
listings[4] = 'Word games</a></b></td><td>Bookworm Deluxe, Word Slinger, Big Kahuna Words, Flip Words, Word Wizard, Puzzle word, Spelvin, Word Mojo Gold, Infinite Crosswords, WordUp, Word Jolt, Word Buzz, Word Challenger, Chatterblox Deluxe, Text Express';
listingsURL[4] = 'ht' + 'tp://www.bigalgames.com';
listings[5] = 'Logic games</a></b></td><td>Inspector Parker, Family Feud, Wheel of Fortune, slingo, 5 Spots, Cubis Gold, Fusion, Jigsaw 365, Super Groovy, AlphaQUEUE';
listingsURL[5] = 'ht' + 'tp://www.bigalgames.com';
listings[6] = 'Mah jong</a></b></td><td>Mahjong towers 2, Mahjong quest, Mah Jong Medley, Mahjong Jr., Maxjongg, Mahjong Holidays II, Mahjong Valentines';
listingsURL[6] = 'ht' + 'tp://www.bigalgames.com';
listings[7] = 'Sports games</a></b></td><td>Rocket Bowl, Cue Club, Gutterball 3D, touchdown Madness, Koko Arena, Atomic Pongling';
listingsURL[7] = 'ht' + 'tp://www.bigalgames.com';
listings[8] = 'Cards games</a></b></td><td>Poker Superstars, Aloha Solitaire, Two Feet Texas Hold Em, Top Ten Solitaire, Slingo, Five Card Frenzy, Power Chips, Five Card Deluxe, Fruits, Lucky Streak Poker, 5 Card Slingo';
listingsURL[8] = 'ht' + 'tp://www.bigalgames.com';

var HBanners = new Array();
var HBannersText = new Array();
HBanners[0] = '<a href="ht' + 'tp://bigalgames.com"><img src="/images/banner1.gif" border="0" ></a>';
HBannersText[0] = 'Play Fun Games!!!';
HBanners[1] = '<a href="ht' + 'tp://www.bigalgames.com"><img src="/images/banner2.gif" border="0" ></a>';
HBannersText[1] = 'Play Top games Online!';
HBanners[2] = '<a href="ht' + 'tp://www.bigalgames.com"><img src="/images/banner3.gif" border="0" ></a>';
HBannersText[2] = 'Download Fun Games!';
HBanners[3] = '<a href="ht' + 'tp://www.bigalgames.com"><img src="/images/banner4.gif" border="0" ></a>';
HBannersText[3] = 'Fun Downloadable Games and Puzzles';
HBanners[4] = '<a href="ht' + 'tp://www.bigalgames.com"><img src="/images/banner5.gif" border="0" ></a>';
HBannersText[4] = 'Top Games Downloads!';
HBanners[5] = '<a href="ht' + 'tp://www.bigalgames.com"><img src="/images/banner5.gif" border="0" ></a>';
HBannersText[5] = 'Have Fun - Play Games';

function writelisting(name, category, gameList, str)
{
 	var arr = str.split(",");
	document.write('<table cellspacing="0" width="100%" cellpadding="2">');
    document.write('<tr>');
    document.write('<td><b>' + category + '</b></td>');
    document.write('<td><b>' + gameList + '</b></td>');
    document.write('</tr>');

    for(var i=0; i<arr.length;i++)
    {
    	document.write('<tr><td><b><a href=' + listingsURL[arr[i]] + ' target=_new>' + 	listings[arr[i]] + '</td></tr>'); 
	}
    document.write('</table>');
    return;
}
				
function writeHBanners(i)
{
   document.write('<table><tr><td align=center style=border:0>' + HBanners[i] + '</td></tr></table>');      
   return;
}

function writeHBannersText(i)
{
   document.write('<table><tr><td align=center style=border:0>' + HBannersText[i] + '</td></tr></table><br /><br />');      
   return;
}
