
	function doRollOver(id)
	{
		if(document.all && document.getElementById){
			document.getElementById(id).style.color = '#9CCFFF';
		}else if(document.all && !document.getElementById){
			document.all[id].style.color = '#9CCFFF';
		}
	}
	
	function doRollOut(id)
	{
		if(document.all && document.getElementById){
			document.getElementById(id).style.color = '#FFFFFF';
		}else if(document.all && !document.getElementById){
			document.all[id].style.color = '#FFFFFF';
		}
	}
	
	function writeTopMenu()
	{
		menu1Content = '<table width="107" border="0" cellspacing="0" cellpadding="0" height="42" bgcolor="#003399"> \n'+
		'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="107" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="107" height="20" class="menuLink" onMouseOver="doRollOver(\'link1\');" onMouseOut="doRollOut(\'link1\');" onclick="javascript:window.location.href=\'../../register.html\'">&nbsp;<a href="../../register.html" class="menuLink" id="link1">Register</a></td></tr> \n'+
		'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="107" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link2\');" onMouseOut="doRollOut(\'link2\');" onclick="javascript:window.location.href=\'../../general/login.html\'">&nbsp;<a href="../../general/login.html" class="menuLink" id="link2">Login</a></td></tr> \n'+
		'</table>';
		
		menu2Content = '<table width="137" border="0" cellspacing="0" cellpadding="0" height="63" bgcolor="#003399"> \n'+
		'<tr><td width="137" height="1"><img src="images/space.gif" width="137" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="137" height="20" class="menuLink" onMouseOver="doRollOver(\'link3\');" onMouseOut="doRollOut(\'link3\');" onclick="javascript:window.location.href=\'../../resources_overview.html\'">&nbsp;<a id="link3" href="../../resources_overview.html" class="menuLink">Overview</a></td></tr> \n'+
		'<tr><td width="137" height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="137" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="137" height="20" class="menuLink" onMouseOver="doRollOver(\'link4\');" onMouseOut="doRollOut(\'link4\');" onclick="javascript:window.location.href=\'../../methodology.html\'">&nbsp;<a href="../../methodology.html" class="menuLink" id="link4">REIMS Methodology</a></td></tr> \n'+
		'<tr><td width="137" height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="137" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="137" height="20" class="menuLink" onMouseOver="doRollOver(\'link5\');" onMouseOut="doRollOut(\'link5\');" onclick="javascript:window.location.href=\'../../public_news/e-business_events.html\'">&nbsp;<a href="../../public_news/e-business_events.html" class="menuLink" id="link5">B2B Events</a></td></tr> \n'+
		'<tr><td width="137" height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="137" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="137" height="20" class="menuLink" onMouseOver="doRollOver(\'link6\');" onMouseOut="doRollOut(\'link6\');" onclick="javascript:window.location.href=\'http://www.saaconsultants.com/products/\'">&nbsp;<a href="http://www.saaconsultants.com/products/" class="menuLink" id="link6">B2B Solutions</a></td></tr> \n'+
		'</table>';
		
		menu3Content = '<table width="107" border="0" cellspacing="0" cellpadding="0" height="42" bgcolor="#003399"> \n'+
		'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="107" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link6\');" onMouseOut="doRollOut(\'link6\');" onclick="javascript:window.location.href=\'../index.asp\'">&nbsp;<a href="../index.asp" class="menuLink" id="link6">Overview</a></td></tr> \n'+
		'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="107" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link7\');" onMouseOut="doRollOut(\'link7\');" onclick="javascript:window.location.href=\'timedoutset.asp\'">&nbsp;<a href="timedoutset.asp" class="menuLink" id="link7">The XML Library</a></td></tr> \n'+
		'</table>';	

		menu4Content = '<table width="107" border="0" cellspacing="0" cellpadding="0" height="42" bgcolor="#003399"> \n'+
		'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="107" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link8\');" onMouseOut="doRollOut(\'link8\');" onclick="javascript:window.location.href=\'../../about_saa.html\'">&nbsp;<a href="../../about_saa.html" class="menuLink" id="link8">About SAA</a></td></tr> \n'+
		'<tr><td width="107" height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="107" height="1"></td></tr> \n'+
		'<tr><td class="cursorStyle" width="107" height="20" onMouseOver="doRollOver(\'link9\');" onMouseOut="doRollOut(\'link9\');" onclick="javascript:window.location.href=\'http://www.saaconsultants.com\'">&nbsp;<a href="http://www.saaconsultants.com" class="menuLink" id="link9">Corporate Site</a></td></tr> \n'+
		'</table>';	
	
		if(document.all)writeIeMenu(menu1Content, menu2Content, menu3Content, menu4Content);
		if(document.layers)writeNs4Menu(menu1Content, menu2Content, menu3Content, menu4Content);
		if(!document.all && document.getElementById)writeNs6Menu(menu1Content, menu2Content, menu3Content, menu4Content);
	}
	
	function writeIeMenu(m1,m2,m3,m4)
	{
		document.all.menu1.innerHTML = m1;
		document.all.menu2.innerHTML = m2;
		document.all.menu3.innerHTML = m3;
		document.all.menu4.innerHTML = m4;
		document.all.menu1.style.visibility = 'hidden';
		document.all.menu2.style.visibility = 'hidden';
		document.all.menu3.style.visibility = 'hidden';
		document.all.menu4.style.visibility = 'hidden';		
		menu1Content = null;
		menu2Content = null;
		menu3Content = null;
		menu4Content = null;	
	}
	
	function writeNs4Menu(m1,m2,m3,m4)
	{
		document.layers.menu1.document.write(m1);
		document.layers.menu1.document.close();
		document.layers.menu2.document.write(m2);
		document.layers.menu2.document.close();
		document.layers.menu3.document.write(m3);
		document.layers.menu3.document.close();
		document.layers.menu4.document.write(m4);
		document.layers.menu4.document.close();		
		document.layers.menu1.visibility = 'hide';
		document.layers.menu2.visibility = 'hide';
		document.layers.menu3.visibility = 'hide';
		document.layers.menu4.visibility = 'hide';		
		menu1Content = null;
		menu2Content = null;
		menu3Content = null;
		menu4Content = null;		
	}
	
	function writeNs6Menu(m1,m2,m3,m4)
	{
		document.getElementById("menu1").innerHTML = m1;
		document.getElementById("menu2").innerHTML = m2;
		document.getElementById("menu3").innerHTML = m3;
		document.getElementById("menu4").innerHTML = m4;		
		document.getElementById("menu1").style.visibility = 'hidden';
		document.getElementById("menu2").style.visibility = 'hidden';
		document.getElementById("menu3").style.visibility = 'hidden';
		document.getElementById("menu4").style.visibility = 'hidden';		
		menu1Content = null;
		menu2Content = null;
		menu3Content = null;
		menu4Content = null;		
	}
	
	function resizeFix()
	{
		if(document.layers)location.reload();
	}
	
	function writeYear(){
		document.write((new Date).getFullYear());
	}