//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==
// Generates the MENU for all Paranoia pages on this site
// version 1.0
//==//==//==//==//==//==//==//==//==//==//==//==//==//==//==

function mailme()
{var m1="mai";var m2="lto:";var me="tirdun";var y="yahoo";var at="@";var dc=".com";document.location.href = m1+m2+me+at+y+dc;}

var $page = new Array();
$page[0] = new Array("index.html","TIR","Return to the entry page");
$page[1] = new Array("new.html","NEW","Things that are New and Things that are News");
$page[2] = new Array("tips.html","TFT","Tips for Traitors: learn PARANOIA");

$page[3] = new Array("rd.html","R&amp;D","Research and Development");
$page[4] = new Array("plc.html","PLC","Production Logistics and Commissary");
$page[5] = new Array("military.html","AF","Armed Forces");
$page[6] = new Array("central.html","CP","Central Processing");
$page[7] = new Array("hpdmc.html","HPD&MC","Housing Preservation Development and Mind Control");

$page [8] = new Array("infrared.html","IRM","Return to the entry page");

$page [9] = new Array("missions.html","BYE","Return to the entry page");

$page [10] = new Array("stuff.html","MSC","Return to the entry page");
$page [11] = new Array("links.html","ZIP","Return to the entry page");

var $geturl = parent.location.href;
var $spliturl = $geturl.split('/');
var $thispage = $spliturl[$spliturl.length-1];

document.write ('<script type="text/javascript" src="computersays.js"></script>')
document.write ('<div class="nav" id="navigation">');


for ($p=0; $p<$page.length; $p++)
{
	if ($thispage != $page[$p][0])
	{
			document.write('<a href="'+$page[$p][0]+'" class="shownav" title="'+$page[$p][2]+'"><div class="navbox">'+$page[$p][1]+'</div></a>');
	}
	else
	{
		document.write('<div class="thisnavbox">'+$page[$p][1]+'</div>');
	}
}
document.write ('</div>');
document.write('<div class="lowermenu">');
document.write('<a href="javascript:mailme()" class="undermenu">[ Email Tirdun ] </a><br>');
document.write('<a href="pagenotes.html" class="undermenu">[ About The Site ]</a><br>');
document.write('<a href="../index.html" class="undermenu">[ Tirdun\'s Home ]</a>');
document.write ('</div>');
