function openWindow(file)
{
	// Replacing "win" with "" allows multiple windows to pop up (one for each click).
	var winProp = "width=450,height=530,toolbar=no,status=no,resizable=no,scrollbars=no";
	var Win = open(file, "win", winProp);
}

function MakeTable( title, links )
{
	document.write( "<table border=\"0\" bgcolor=\"#336699\" cellpadding=\"1\" cellspacing=\"0\">" );
	document.write( "<tr><td>" );
	document.write( "<table width=\"195\" border=\"0\" bgcolor=\"#E0F4FF\" cellpadding=\"3\" cellspacing=\"0\">" );
	document.write( "<tr><td bgcolor=\"#336699\">" );
	document.write( "<font color=\"#ffffff\"><b>" + title + "</b></font>" );
	document.write( "</td></tr><tr><td>" );

	for ( i in links )
	{
		var arr = links[ i ];
		document.write( "&nbsp;<a href=\"" + arr[ 1 ] + "\">"   + arr[ 0 ] + "</a><br>" );
	}

	document.write( "</td></tr></table></td></tr></table><br>" );
}



var links = new Array();
links[ 0 ] = new Array( "Home", "http://www.astro-cam.com" );
links[ 1 ] = new Array( "Overview", "http://www.astro-cam.com/arcpage.php?txt=overview.php" );
links[ 2 ] = new Array( "Contact Us", "http://www.astro-cam.com/arcpage.php?txt=contact.html" );
MakeTable( "GENERAL", links );

links = [];
links[ 0 ] = new Array( "Controller Boards", "http://www.astro-cam.com/arcpage.php?txt=products.php&cat=Controller%20Boards" );
links[ 1 ] = new Array( "Video Processor Boards", "http://www.astro-cam.com/arcpage.php?txt=products.php&cat=Video%20Processor%20Boards" );
links[ 2 ] = new Array( "Housings & Power Supplies", "http://www.astro-cam.com/arcpage.php?txt=products.php&cat=Housings%20and%20Power%20Supplies" );
links[ 3 ] = new Array( "CCD Systems", "http://www.astro-cam.com/arcpage.php?txt=products.php&cat=CCD%20Systems" );
MakeTable( "PRODUCTS", links );

links = [];
links[ 0 ] = new Array( "Owl", "http://www.astro-cam.com/arcpage.php?txt=software.php#owl" );
links[ 1 ] = new Array( "Voodoo", "http://www.astro-cam.com/arcpage.php?txt=software.php#voodoo" );
links[ 2 ] = new Array( "Device Drivers", "http://www.astro-cam.com/arcpage.php?txt=software.php#driver" );
links[ 3 ] = new Array( "DSP Firmware", "http://www.astro-cam.com/arcpage.php?txt=software.php#dspcode" );
links[ 4 ] = new Array( "DSP Tools", "http://www.astro-cam.com/arcpage.php?txt=software.php#dsptools" );
links[ 5 ] = new Array( "PCI/Controller API", "http://www.astro-cam.com/arcpage.php?txt=software.php#api" );
links[ 6 ] = new Array( "General Software Docs", "http://www.astro-cam.com/arcpage.php?txt=software.php#gensoftdocs" );
MakeTable( "SOFTWARE", links );

links = [];
links[ 0 ] = new Array( "System Notes", "http://www.astro-cam.com/arcpage.php?txt=systemnotes.php" );
links[ 1 ] = new Array( "FAQ's", "http://www.astro-cam.com/faq.php" );
//links[ 2 ] = new Array( "Troubleshooting", "http://www.astro-cam.com/ts.php" );
MakeTable( "SUPPORT", links );



