// javascript to display the css menu 

window.onload = function() {

initialiseMenu("menuwelcome", "menuwelcomeStarter");

initialiseMenu("menuproducts", "menuproductsStarter");

initialiseMenu("menupurchase", "menupurchaseStarter");

initialiseMenu("menuwintopo", "menuwintopoStarter");

initialiseMenu("menusupport", "menusupportStarter");

}

var szFolder;	// set this before calling script if it is relevant
if (!szFolder) szFolder="";
document.write("<div id='HeaderGap'><a href='http://www.topogx.com'><img id='SoftSoftLogo' src='"+szFolder+"images/softsoft-logo.png' border='0' width='124' height='23'></a></div>");

document.write("<div id='MenuBar'>");
document.write("	<div id='MenuOuterWrap'>");
document.write("	<div id='MenuInnerWrap'>");

document.write("	<div id='Menu'>");
document.write("		<ul>");
						
document.write("		<li id='current'><span id='ltab'>&nbsp;&nbsp;</span><a id='menuwelcomeStarter'  href='http://www.topogx.com'>Home</a><span id='rtab'>&nbsp;&nbsp;</span></li>");

//document.write("			<ul id='menuwelcome' class='menu' style='z-index: 999; padding: 0px; margin: 0px;'>");
//document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com'>TopoGX Home</a></li>");
//document.write("			</ul>");

//document.write("		<li id='current'><span id='ltab'>&nbsp;&nbsp;</span><a id='menuproductsStarter'  href='http://www.topogx.com/index.htm' >SoftSoft Products</a><span id='rtab'>&nbsp;&nbsp;</span></li>");

//document.write("			<ul id='menuproducts' class='menu' style='z-index: 999; padding: 0px; margin: 0px;'>");
//document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/products/index.htm'>TopoGX</a></li>");
//document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/products/pro.htm'>TopoGX Pro</a></li>");
//document.write("			<li> <a style='background-image: none;' href='http://www.wintopo.com'>WinTopo</a></li>");
//document.write("			</ul>");

document.write("		<li id='current'><span id='ltab'>&nbsp;&nbsp;</span><a id='menuwintopoStarter'  href='http://www.topogx.com' >TopoGX</a><span id='rtab'>&nbsp;&nbsp;</span></li>");
							
document.write("			<ul id='menuwintopo' class='menu' style='z-index: 999; padding: 0px; margin: 0px;'>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/topo/demo.htm'>Demonstrations</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/topo/screenshots.htm'>Screen Shots</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/topo/features.htm'>Features</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/topo/version.htm'>Version History</a></li>");
//document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/topo/comments.htm'>User Comments</a></li>");
// Currently there are no free to use versions so the download page link has been blanked out.
// Also there are no upgrades to the topogx product so the upgrade links have been blanked out too - see line 54 and 64 to re-instate upgrade.
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/topo/download.htm'>Downloads</a></li>");
//document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/purchase/upgrade.htm'>Upgrade</a></li>");

//document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/topo/linux.htm'>TopoGX for Linux</a></li>");
document.write("			</ul>");

document.write("		<li id='current'><span id='ltab'>&nbsp;&nbsp;</span><a id='menupurchaseStarter' href='http://www.topogx.com/buy.htm'>Purchase</a><span id='rtab'>&nbsp;&nbsp;</span></li>");

document.write("			<ul id='menupurchase' class='menu' style='z-index: 999; padding: 0px; margin: 0px;'>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/buy.htm'>Buy Online</a></li>");
//document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/purchase/upgrade.htm'>Upgrade</a></li>");
//document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/purchase/pricing.htm'>Prices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/purchase/quote.htm'>Request Quotation</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/purchase/order.htm'>Order</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/purchase/orderonline.htm'>Order Online</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/purchase/resellers.htm'>Resellers</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/purchase/converter.htm'>Currency Converter</a></li>");
document.write("			</ul>");

document.write("		<li id='current'><span id='ltab'>&nbsp;&nbsp;</span><a id='menusupportStarter' href='http://www.topogx.com/support/index.htm'>Support</a><span id='rtab'>&nbsp;&nbsp;</span></li>");

document.write("			<ul id='menusupport' class='menu' style='z-index: 999; padding: 0px; margin: 0px;'>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/support/index.htm'>Contact Us</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/support/help/html/index.htm' target='new'>Help Pages</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/support/faq.htm'>FAQ</a></li>");
//document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com/support/egroup.htm'>User Group</a></li>");
document.write("			</ul>");

document.write("		<li id='current'><span id='ltab'>&nbsp;&nbsp;</span><a id='menuproductsStarter'  href='http://www.topogx.com/products/index.htm'>SoftSoft Products</a><span id='rtab'>&nbsp;&nbsp;</span></li>");

document.write("			<ul id='menuproducts' class='menu' style='z-index: 999; padding: 0px; margin: 0px;'>");
document.write("			<li> <a style='background-image: none;' href='http://www.topogx.com'>TopoGX</a></li>");
document.write("			<li> <a style='background-image: none;' href='http://www.wintopo.com' target='_blank'>WinTopo</a></li>");
//document.write("			<li> <a style='background-image: none;' href='http://www.softsoft.net' target='_blank'>TimeBytes</a></li>");
document.write("			</ul>");

document.write("		</ul>");

document.write("	</div>");
document.write("	</div>");
document.write("	</div>");
document.write("</div>");

document.write("	<div id='SubMenuBar'>");
document.write("	<div id='SubMenuOuterWrap'>");
document.write("	<div id='SubMenuInnerWrap'>");
document.write("	<div id='SubMenu'>");
document.write("		<!--<ul>");
document.write("			<li><span id='ltab'><a href='index.htm'>Sub Item 1</a></span></li>");
document.write("			<li><span id='ltab'><a href='index.htm'>Sub Item 2</a></span></li>");
document.write("		</ul>-->");
document.write("	</div>");
document.write("	</div>");
document.write("	</div>");
document.write("	</div>");

document.write("<div style='height: 10px'></div>");