function showMainMenu(page)
{
	var html = "<form method=post><input type=hidden name=light value=1 /></form>";

	html += "<table width=145 class=table_main><caption class=caption>Main Menu</caption>";

	html += "<tr><td width=135 height=135 align=center><img width=120 height=150 alt='Pozirk Games Logo' src='http://www.pozirk.com/images/logo_small.jpg' class=button><td><tr>";
	html += "<tr><td align=left><img src='http://www.pozirk.com/images/favorite.gif'>&nbsp;<a href='javascript: external.AddFavorite(location.href, document.title)' class=link>Bookmark</a><br></td></tr>";
	html += "<tr><td align=left><img src='http://www.pozirk.com/images/tellfriend.gif'>&nbsp;<a href='javascript://' onclick='window.open(\"http://www.pozirk.com/tellafriend.html\", null, \"width=200, height=310, status=no, toolbar=no, menubar=no, location=no\"); return false;' class=link>Tell a Friend</a><br></td></tr>";
	html += "<tr><td align=left><img src='http://www.pozirk.com/images/light.gif'>&nbsp;<a href='javascript:document.forms[0].submit();' class=link>Pozirk Light</a><br></td></tr>";
	html += "<tr><td align=left><img src='http://www.pozirk.com/images/rss.gif'>&nbsp;<a href='http://www.pozirk.com/newsletter-rss' class=link>Newsletter/RSS</a><br><br></td></tr>";
	
	if(page == 'home')
		html += "<tr><td width=131 height=26 align=center><a href='http://www.pozirk.com/' class=link><img width=131 height=26 alt=Home src='http://www.pozirk.com/images/buttons/home_sel.gif' class=button></a></td></tr>";
	else
		html += "<tr><td width=131 height=26 align=center><a href='http://www.pozirk.com/' class=link><img width=131 height=26 alt=Home src='http://www.pozirk.com/images/buttons/home.gif' class=button onmouseover=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/home_hl.gif')\" onmouseout=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/home.gif')\"></a></td></tr>";
		
	if(page == 'games')
		html += "<tr><td width=131 height=26 align=center><a href='http://www.pozirk-games.com' class=link><img width=131 height=26 alt=Games src='http://www.pozirk.com/images/buttons/games_sel.gif' class=button></a></td></tr>";
	else
		html += "<tr><td width=131 height=26 align=center><a href='http://www.pozirk-games.com' class=link><img width=131 height=26 alt=Games src='http://www.pozirk.com/images/buttons/games.gif' class=button onmouseover=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/games_hl.gif')\" onmouseout=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/games.gif')\"></a></td></tr>";
		
	if(page == 'online_games')
		html += "<tr><td width=131 height=26 align=center><a href='http://www.pozirk-games.net' class=link><img width=131 height=26 alt='Online Games' src='http://www.pozirk.com/images/buttons/online_games_sel.gif' class=button></a></td></tr>";
	else
		html += "<tr><td width=131 height=26 align=center><a href='http://www.pozirk-games.net' class=link><img width=131 height=26 alt='Online Games' src='http://www.pozirk.com/images/buttons/online_games.gif' class=button onmouseover=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/online_games_hl.gif')\" onmouseout=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/online_games.gif')\"></a></td></tr>";
	
	/*if(page == 'scrsavers')
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/screensavers' class=link><img width=131 height=26 alt=Screensavers src='http://www.pozirk.com/images/buttons/scrsavers_sel.gif' class=button></a></td></tr>";
	else
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/screensavers' class=link><img width=131 height=26 alt=Screensavers src='http://www.pozirk.com/images/buttons/scrsavers.gif' class=button onmouseover=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/scrsavers_hl.gif')\" onmouseout=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/scrsavers.gif')\"></a></td></tr>";*/
		
	if(page == 'tiks')
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/tips-tricks' class=link><img width=131 height=26 alt='Tips&Tricks' src='http://www.pozirk.com/images/buttons/tiks_sel.gif' class=button></a></td></tr>";
	else
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/tips-tricks' class=link><img width=131 height=26 alt='Tips&Tricks' src='http://www.pozirk.com/images/buttons/tiks.gif' class=button onmouseover=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/tiks_hl.gif')\" onmouseout=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/tiks.gif')\"></a></td></tr>";
	
	if(page == 'faq')
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/faq' class=link><img width=131 height=26 alt=FAQ src='http://www.pozirk.com/images/buttons/faq_sel.gif' class=button></a></td></tr>";
	else
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/faq' class=link><img width=131 height=26 alt=FAQ src='http://www.pozirk.com/images/buttons/faq.gif' class=button onmouseover=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/faq_hl.gif')\" onmouseout=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/faq.gif')\"></a></td></tr>";
	
	if(page == 'contact')
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/contact' class=link><img width=131 height=26 alt='Contact Us' src='http://www.pozirk.com/images/buttons/contact_sel.gif' class=button></a></td></tr>";
	else
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/contact' class=link><img width=131 height=26 alt='Contact Us' src='http://www.pozirk.com/images/buttons/contact.gif' class=button onmouseover=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/contact_hl.gif')\" onmouseout=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/contact.gif')\"></a></td></tr>";
	
	if(page == 'links')
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/links' class=link><img width=131 height=26 alt=Links src='http://www.pozirk.com/images/buttons/links_sel.gif' class=button></a></td></tr>";
	else
		html += "<tr><td width=131 height=26 align=center class=button><a href='http://www.pozirk.com/links' class=link><img width=131 height=26 alt=Links src='http://www.pozirk.com/images/buttons/links.gif' class=button onmouseover=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/links_hl.gif')\" onmouseout=\"swapButtons(this, 'http://www.pozirk.com/images/buttons/links.gif')\"></a></td></tr>";
	
	html += "</table><br>";
	
	document.writeln(html);
}

function showOthers()
{
	var html = "";
	
	/*html += "<table class=table_main><caption class=caption>Advertisement</caption>";
	var rand=Math.round(Math.random()*10000);
	html += "<tr><td width=135 align=center><a href='http://www.gamesbanner.net/work/click.php4?rnd="+rand+"' target=_blank><img src='http://www.gamesbanner.net/work/show.php4?from=pozirk&rnd="+rand+"' border=0 alt='Games Banner Network' width=100 height=100></a></td></tr>";
	html += "</table><br>";*/
	
	html += "<table class=table_main><caption class=caption>FAQ</caption><tr><td width=135 nowrap=false>";
	html += getRandomFAQ();
	html += "</td></tr></table><br>";
	
	document.writeln(html);
}

function showBanner()
{
}

function showBottomCounter()
{
	var html = "";

	html += "<table align=center border=0>";
	html += "<td><img src='http://www.pozirk.com/manager/counter.php' border=0 width=1 height=1></td>";
	html += "<td><A HREF='http://www.relmaxtop.com/Games_and_Kids/Computer_Games/' TARGET=_blank><IMG SRC='http://counter.relmaxtop.com/counter/?id=25414' WIDTH=1 HEIGHT=1 BORDER=0></A></td>";
	html += "</table>";
	
	document.writeln(html);
}