function addFloat(){var n=document.getElementById("h0000");n&&(n.className="sideNavHeaderFox",n=document.getElementById("h0100"),n&&(n.className="sideNavHeaderFox"),n=document.getElementById("h0200"),n&&(n.className="sideNavHeaderFox"),n=document.getElementById("h0300"),n&&(n.className="sideNavHeaderFox"))}function setClassName(n,t){document.getElementById(n)&&(document.getElementById(n).className=t)}function setColor(n,t){setClassName("f"+n.substring(1),t)}function getFileName(n){return n.search(".aspx")<=0?"index.aspx":n.substring(n.lastIndexOf("/")+1)}function setli(n,t){if(n){if(n.className=="sideNavListSelected")return;n.className=t=="over"?"sideNavListOver":"sideNavList"}return}function toggleSign(n){var r=document.getElementById("j"+n.substring(1)),i,t;if(r)for(i=document.getElementsByName("expander"),t=0;t<i.length;t++)r.id==i[t].id&&r.alt=="+"?(setSign(i[t].id,"-"),setSubMenu("k"+i[t].id.substring(1),"block")):(setSign(i[t].id,"+"),setSubMenu("k"+i[t].id.substring(1),"none"))}function unToggleSign(n){if(document.getElementById(n)){var t=document.getElementById(n);t.alt=="-"?(t.alt="-",t.src="http://"+window.location.host+"/img/bmp/minus.bmp"):(t.alt="+",t.src="http://"+window.location.host+"/img/bmp/plus.bmp")}}function setSign(n,t){if(document.getElementById(n)){var i=document.getElementById(n);if(i.alt=="-"&&t=="-")return;if(i.alt=="+"&&t=="+")return;i.src=i.alt=="-"?"http://"+window.location.host+"/img/bmp/plus.bmp":"http://"+window.location.host+"/img/bmp/minus.bmp",i.alt=t}return}function setSubMenu(n,t){if(document.getElementById(n)){var i=document.getElementById(n);if(i.style.display==t)return;i.style.display=t;return}}function getLinkIdNo(n){for(var i="0001",t=0;t<aFiles.length;t++)if(n==aFiles[t][0]){i=aFiles[t][1]+aFiles[t][2];break}return i}var f=getFileName(window.location.href.toLowerCase()),aFiles;window.onload=function(){var n=getLinkIdNo(f),t;setClassName("h"+n,"sideNavListSelected"),n=n.substring(0,2),t="t"+(eval(n)+1).toString(),n=n+"00",setSubMenu("k"+n,"block"),setClassName("f"+n,t),setClassName("h"+n,"sideNavHeaderDefault"),toggleSign("j"+n),(navigator.userAgent.indexOf("Firefox")!=-1||navigator.userAgent.indexOf("MSIE 8.")!=-1)&&addFloat()},aFiles=[["index.aspx","00","01"],["software.aspx","00","02"],["sample-editor.aspx","00","03"],["faq.aspx","00","04"],["site-map.aspx","00","05"],["logon.aspx","00","06"],["online-tools.aspx","01","01"],["break-even-calculator.aspx","01","02"],["start-up-calculator.aspx","01","03"],["loan-calculator.aspx","01","04"],["cash-requirements.aspx","01","05"],["sample.aspx","02","01"],["outline.aspx","02","02"],["sample-graph.aspx","02","03"],["sample-reports-formatting.aspx","02","04"],["consultant.aspx","03","01"],["contact.aspx","03","02"]]
