		
		function getObj(name) {
		  //A caller can ask for the element with id="name" to change its styles
		  //If the function finds a DOM the browser supports, 
		  //it sets two properties: style and obj.
		  if (document.getElementById) { // W3C DOM code
		    this.obj = document.getElementById(name);
		    this.style = document.getElementById(name).style;
		  }
		  else if (document.all) { // Microsoft DOM code
		    this.obj = document.all[name];
		    this.style = document.all[name].style;
		  }
		  else if (document.layers) { // Netscape DOM code
		    //The Netscape DOM is different. Layers have no style property, 
		    //so style and obj should both refer to the layer itself.
		    this.obj = document.layers[name];
		    this.style = this.obj;
		  }
		}


		function ShowDescriptionText(index) {
			ShowDescription(descriptionArray[index])
		}

		function ShowDescription(html) {
			document.write('<table cellpadding="5" cellspacing="0" border="0" width="500"><tr><td>&nbsp;<img src="images/dotclear.gif" width="20"></td><td class="text">')
			document.write(html)
			document.write('</td><td>&nbsp;<img src="images/dotclear.gif" width="20"></td></tr></table>')
		}

		function ShowTitleBar(prefix) {
			if (arguments.length == 0) prefix="";
			document.write('<div id="titlelogo" class="clearfix">')
			document.write('<img style="border:0pt none ; width:203px; height:42px;" alt="Forecaster - For Retirement & Estate Planning" title="Forecaster - For Retirement & Estate Planning" src="' + prefix + 'images/forecasterlogosmall.gif">')
			document.write('</div>')
			document.write('<div id="titletext" class="clearfix">')
			document.write('<a href="' + prefix + 'default.html">Home</a> | <a href="#" onClick="history.go(-1)">Back</a>')
			document.write('<a href="/">&nbsp;</a>')
			document.write('</div>')
			document.write('<div style="clear:both;"></div>')
		}
		
		function ShowCopyright(prefix) {
			if (arguments.length == 0) prefix="";
			document.write('<span align="center" class="copyright">')
			document.write('Copyright &copy; 1997-2010 <a href="' + prefix + 'bm.html">Bruce Martin</a>.&nbsp;&nbsp; All Rights Reserved.')
			document.write('</span>')
		}
		
		function ShowVersion() {
			document.write('<br>Current Version:<br>' + ForecasterVersion + '<br><br>')
		}
		function ShowVersionNumberOnly() {
			document.write(ForecasterVersion)
		}
		
		function EmailProblem() {
			var sItemURL = "mailto:?subject=Problem Report&from=&to=software@retirementforecaster.com&body=(Note: Please attach your file if possible.)  Here is a description of a problem I have:"
			document.write('<a href="' + sItemURL + '"  target=>Please report any problems.</a>')
		}

		function ShowEmailPage() {
			//var sItemURL = "mailto:?subject=Check out this Web site&body=Here is a great retirement planning program. And it\'s a free download!" + "   Click this link: "  + escape(top.parent.location.href) +  "   Or copy into your browser\'s address window" // address window" //Or copythe link and paste it into your browser address window."
			//var sItemURL = "mailto:?subject=Check out this Web site&body=Here is a great retirement planning program. And it\'s a free download!" + "   Click this link: "  +  "http:&#47;&#47;www.retirementforecaster.com"  +  ".   Or copy it into your browser\'s address window."
			var sItemURL = "mailto:?subject=Check out this Web site&body=Here is a great retirement planning program. And it\'s a free download!" + "  Click this link: "  +  "http://www.retirementforecaster.com/"  +  ".  Or copy it into your browser\'s address window."
			document.write('<a href="' + sItemURL + '"  target=>E-Mail This Page</a>')
		}

		var menuNameArray = new Array()
		menuNameArray[menuNameArray.length]='Home'
		menuNameArray[menuNameArray.length]='Overview'
		menuNameArray[menuNameArray.length]='Details'
		menuNameArray[menuNameArray.length]='Help<br>Pages'
		
		//menuNameArray[menuNameArray.length]='Monte Carlo<br>Simulation'
		//menuNameArray[menuNameArray.length]='Screen Shots<br>Of Examples'
		menuNameArray[menuNameArray.length]='Downloading<br>Version Updates'
		menuNameArray[menuNameArray.length]='Freeware<br>Explained'
		menuNameArray[menuNameArray.length]='Prerequisite<br>Software<br>Installation<br>Guide'
		menuNameArray[menuNameArray.length]='Download<br>The Program'
		menuNameArray[menuNameArray.length]='Recommended<br>Links'
		//menuNameArray[menuNameArray.length]='Registration<br>Benefits'
		menuNameArray[menuNameArray.length]='Version<br>History'
		menuNameArray[menuNameArray.length]='Send<br>Feedback'
		//menuNameArray[menuNameArray.length]='Discussion<br>Forum'
		//menuNameArray[menuNameArray.length]='Sponsorship'
		
		var menuLinkArray = new Array()
		menuLinkArray[menuLinkArray.length]='<a href="default.html">Home</a><br><hr>'
		menuLinkArray[menuLinkArray.length]='<a href="overview.html">Overview</a><br><hr>'
		menuLinkArray[menuLinkArray.length]='<a href="details.html">Details</a><br><hr>'
		menuLinkArray[menuLinkArray.length]='<a href="knowledgebase.html">Help<br>Pages</a><br><hr>'
		
		//menuLinkArray[menuLinkArray.length]='<a href="montecarlo.html">Monte Carlo<br>Simulation</a><br><hr>'
		//menuLinkArray[menuLinkArray.length]='<a href="screenshots.html">Screen Shots<br>Of Examples</a><br><hr>'
		menuLinkArray[menuLinkArray.length]='<a href="downloads.html">Downloading<br>Version Updates</a><br><hr>'
		menuLinkArray[menuLinkArray.length]='<a href="freeware20.html">Freeware<br>Explained</a><br><hr>'
		menuLinkArray[menuLinkArray.length]='<a href="\installationsupport.html">Prerequisite<br>Software<br>Installation<br>Guide</a><br><hr>'	
		menuLinkArray[menuLinkArray.length]='<a href="install/regfreeinstaller.html">Download<br>The Program</a><br><hr>'
		menuLinkArray[menuLinkArray.length]='<a href="articles.html">Recommended<br>Links</a><br><hr>'
		//menuLinkArray[menuLinkArray.length]='<a href="register.html">Registration<br>Benefits</a><br><hr>'
		menuLinkArray[menuLinkArray.length]='<a href="versions.html">Version<br>History</a><br><hr>'
		menuLinkArray[menuLinkArray.length]='<a href="feedback.html">Send<br>Feedback</a><br><hr>'
		//menuLinkArray[menuLinkArray.length]='<a href="forum/index.php?forum=1">Discussion<br>Forum</a><br><hr>'
		//menuLinkArray[menuLinkArray.length]='<a href="sponsor.html">Sponsorship</a><br><hr>'

		function ShowNavMenu(CurrentPage) {
			document.write('<table  width="110" border="0" align="center" cellpadding="5" ><tr><td class="menu" valign="middle" align="center">')
					
			document.write('<hr>')
			for (var i = 0; i < menuNameArray.length; i++) {
				if (CurrentPage==menuNameArray[i]) {
					document.write(menuNameArray[i] + '<br><hr>')
				} else {
					document.write(menuLinkArray[i])
				}
			}
			ShowEmailPage()
			document.write('<hr>')			
			document.write('</td></tr></table>')
		}

		function ShowPayBox() {
			return // Don't ask, if subscription fee is possible later
			// Begin Amazon Honor System Paybox
			document.write('<img src="http://s1.amazon.com/exec/varzea/tipbox/A1V5M79NSFHY7I/T1GGP1Q73WSHG8" usemap="#T1GGP1Q73WSHG8" border="0" alt="Amazon Honor System">')
			document.write('<map name="T1GGP1Q73WSHG8">')
			document.write('<area coords="13,64,108,117" href="http://s1.amazon.com/exec/varzea/pay/T1GGP1Q73WSHG8" alt="Click Here to Pay" target=_top>')
			document.write('<area coords="13,133,108,145" href="http://s1.amazon.com/exec/varzea/subst/fx/help/how-we-know.html" alt="Learn More" target=_top>')
			document.write('</map>')
			// End Amazon Honor System Paybox
		}

		function handleResize() {
			location.reload(1)
			return false
		}		
		if (is_nav) {
			window.captureEvents(Event.RESIZE)
			window.onresize = handleResize
		}

