// JavaScript Document

document.writeln('<table width="60%" align="right" border="0" cellspacing="0" cellpadding="0" class="headerNav">');
document.writeln('   <tr>');
document.writeln('      <td width="1%" class="headerNav" align:"center"><a class="headerNav" href="http://consulting.tmg-emedia.com">Consulting</a></td>');
document.writeln('		<td width="6" class="headerNav" align:"center">&nbsp;|&nbsp;</td>');
document.writeln('		<td width="1%" class="headerNav" align:"right"><a class="headerNav" href="http://www.tmgr.com">Managed IT Services</a></td>');
document.writeln('		<td width="6" class="headerNav" align:"center">&nbsp;|&nbsp;</td>');
document.writeln('      <td width="1%" class="headerNav" align:"right"><a class="headerNav" href="http://appdev.tmg-emedia.com">Application Development</a></td>');
document.writeln('   </tr>');
document.writeln('</table>');

// NOTE MODIFICATION TO THIS CODE: ADDED "if(this.current) this.doHide();" TO Menu.show
//		to prevent timeout from retaining old menu when next to new menu, due to when mouse events
//		fire and timeout works
// This code was copied from FC&S top menu control
//   The div that uses it has been changed to eliminate reliance on images for links
Menu = {timer : null, current : null};
Menu.getStyle = function(name){
	if(document.getElementById) return document.getElementById(name).style;
	else if(document.all) return document.all[name].style;
	else if(document.layers) return document.layers[name];
}
Menu.show = function(name){
	if(this.timer) clearTimeout(this.timer);
	if(this.current) this.doHide();
	this.getStyle(name).visibility = "visible";
	this.current = name;
}
Menu.hide = function(){
	this.timer = setTimeout("Menu.doHide()",100);
}
Menu.doHide = function(){
	if(this.current){
		this.getStyle(this.current).visibility = "hidden";
		this.current = null;
	}
}

// ||||||||||||||||||||||||||||||||||||||||||||||||||
	/*This div is shown and hidden as a submenu under About Us. It is positioned, so if something in the menu
    changes, it will have to be repositioned. */

document.writeln('<div id="subnav1" class="topSubNav" onmouseover="Menu.show(this.id);" style="POSITION: absolute; LEFT: 528px; TOP: 23px; z-index: 10; VISIBILITY: hidden;" onmouseout="Menu.hide();">');
document.writeln('	<layer onmouseover="if(document.layers)Menu.show(\'subnav1\');" onmouseout="if(document.layers)Menu.hide();">');
document.writeln('	<table cellSpacing="0" cellPadding="0" border="0">');
document.writeln('		<tr>');
document.writeln('			<td align="left"><A href="/nuab/Website/nuab_letters.html" class="topNav">Letters to the Editor</A></td>');
document.writeln('		</tr>');
document.writeln('		<tr>');
document.writeln('			<td align="left"><A href="/nuab/Website/nuab_guidelines.html" class="topNav">Writers\' Guidelines</A></td>');
document.writeln('		</tr>');
document.writeln('	</table>');
document.writeln('	</layer></div>');

	/* This div is shown and hidden as a submenu under About Us. It is positioned, so if something in the menu
    changes, it will have to be repositioned. */

document.writeln('<div id="subnav2" class="topSubNav" onmouseover="Menu.show(this.id);" style="POSITION: absolute; LEFT: 640px; TOP: 23px; z-index: 10; VISIBILITY: hidden;" onmouseout="Menu.hide();">');
document.writeln('	<layer onmouseover="if(document.layers)Menu.show(\'subnav2\');" onmouseout="if(document.layers)Menu.hide();">');
document.writeln('	<table cellSpacing="0" cellPadding="0" border="0">');
document.writeln('		<tr>');
document.writeln('			<td align="right"><A class="topNav" href="/nuab/Website/nuab_about.html">About AB</A></td>');
document.writeln('		</tr>');
document.writeln('		<tr>');
document.writeln('			<td align="right"><A class="topNav" href="/nuab/Website/nuab_staff.html">AB Staff</A></td>');
document.writeln('		</tr>');
document.writeln('		<tr>');
document.writeln('			<td align="right"><a class="topNav" href="/nuab/Website/nuab_company.html">Company Information</a></td>');
document.writeln('		</tr>');
document.writeln('	</table>');
document.writeln('	</layer></div>');
		
