function outputPoolOwnersNav(pre, exp, curpage) {
	if (!pre) pre = '';
	if (!exp) exp = '';
	if (!curpage) curpage = '';
	
	var out = '';
	
	out += '<!-- Nav Equip Your Pool -->\n';
	out += '		<div id="equip_closed" class="internalNavMenu" style="display: block; position: relative; visibility: visible;">\n';
	out += '			<p><a href="' + pre + 'equip/index.htm">Equip Your Pool</a> <a id="link" href="javascript:secondarylayerswap(\'equip_closed\'),secondarylayerswap(\'equip_open\'),secondarylayerswap(\'equip_items\');">[+]</a></p>\n';
	out += '		</div>\n';
	out += '		<div id="equip_open" class="internalNavMenu" style="display: none; position: relative; visibility: hidden;">\n';
	out += '			<p class="noBBorder" style="border: none;"><a href="' + pre + 'equip/index.htm">Equip Your Pool</a> <a id="link" href="javascript:secondarylayerswap(\'equip_closed\'),secondarylayerswap(\'equip_open\'),secondarylayerswap(\'equip_items\');">[&ndash;]</a></p>\n';
	out += '		</div>\n';

	out += '	<!-- Equip Your Pool List -->\n';
	out += '		<div id="equip_items" class="newSub" style="display: none; position: relative; visibility: hidden;">\n';
	out += '			<div id="equippool_closed" style="display: block; position: relative; visibility: visible;">\n';
	out += '				<p><a id="link" href="javascript:secondarylayerswap(\'equippool_closed\'),secondarylayerswap(\'equippool_open\'),secondarylayerswap(\'thebasics_items\');">The Basics [+]</a></p>\n';
	out += '			</div>\n';
	out += '			<div id="equippool_open" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a id="link" href="javascript:secondarylayerswap(\'equippool_closed\'),secondarylayerswap(\'equippool_open\'),secondarylayerswap(\'thebasics_items\');">The Basics [&ndash;]</a></p>\n';
	out += '			</div>\n';

	out += '		<!-- The Basics List -->\n';
	out += '			<div id="thebasics_items" class="newSubThird" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a href="' + pre + 'equip/basicpumps.htm">Pumps</a></p>\n';

	out += '			<!-- Filters -->\n';
	out += '				<div id="filters_closed" style="display: block; position: relative; visibility: visible;">\n';
	out += '					<p><a href="' + pre + 'equip/filters.htm">Filters</a> <a id="link" href="javascript:secondarylayerswap(\'filters_closed\'),secondarylayerswap(\'filters_open\'),secondarylayerswap(\'filters_items\');">[+]</a></p>\n';
	out += '				</div>\n';
	out += '				<div id="filters_open" style="display: none; position: relative; visibility: hidden;">\n';
	out += '					<p><a href="' + pre + 'equip/filters.htm">Filters</a> <a id="link" href="javascript:secondarylayerswap(\'filters_closed\'),secondarylayerswap(\'filters_open\'),secondarylayerswap(\'filters_items\');">[&ndash;]</a></p>\n';
	out += '				</div>\n';

	out += '			<!-- Filters List -->\n';
	out += '				<div id="filters_items" class="newSubFourth" style="display: none; position: relative; visibility: hidden;">\n';
	out += '					<p><a href="' + pre + 'equip/sand.htm">Sand</a></p>\n';
	out += '					<p><a href="' + pre + 'equip/de.htm">Diatomaceous Earth (D.E.)</a></p>\n';
	out += '					<p><a href="' + pre + 'equip/cartridge.htm">Cartridge</a></p>\n';
	out += '				</div>\n';

	out += '			<!-- The Basics List FINISH -->\n';
	out += '				<p><a href="' + pre + 'equip/lighting.htm">Standard Lighting</a></p>\n';
	out += '				<p><a href="' + pre + 'equip/maintenance.htm">Maintenance Equipment &amp; Accessories</a></p>\n';
	out += '			</div>\n';

	out += '		<!-- Comfort Options -->\n';
	out += '			<div id="comfortoptions_closed" style="display: block; position: relative; visibility: visible;">\n';
	out += '				<p><a id="link" href="javascript:secondarylayerswap(\'comfortoptions_closed\'),secondarylayerswap(\'comfortoptions_open\'),secondarylayerswap(\'comfortoptions_items\');">Comfort Options [+]</a></p>\n';
	out += '			</div>\n';
	out += '			<div id="comfortoptions_open" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a id="link" href="javascript:secondarylayerswap(\'comfortoptions_closed\'),secondarylayerswap(\'comfortoptions_open\'),secondarylayerswap(\'comfortoptions_items\');">Comfort Options [&ndash;]</a></p>\n';
	out += '			</div>\n';

	out += '		<!-- Comfort Options List -->\n';
	out += '			<div id="comfortoptions_items" class="newSubThird" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a href="' + pre + 'equip/comfortheaters.htm">Heaters &amp; Heat Pumps</a></p>\n';
	out += '			</div>\n';

	out += '		<!-- Convenience Options -->\n';
	out += '			<div id="convenience_closed" style="display: block; position: relative; visibility: visible;">\n';
	out += '				<p><a id="link" href="javascript:secondarylayerswap(\'convenience_closed\'),secondarylayerswap(\'convenience_open\'),secondarylayerswap(\'convenience_items\');">Convenience Options [+]</a></p>\n';
	out += '			</div>\n';
	out += '			<div id="convenience_open" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a id="link" href="javascript:secondarylayerswap(\'convenience_closed\'),secondarylayerswap(\'convenience_open\'),secondarylayerswap(\'convenience_items\');">Convenience Options [&ndash;]</a></p>\n';
	out += '			</div>\n';

	out += '		<!-- Convenience Options List -->\n';
	out += '			<div id="convenience_items" class="newSubThird" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a href="' + pre + 'equip/automation.htm">Automation</a></p>\n';

	out += '		<!-- Automatic Cleaners Options -->\n';
	out += '			<div id="cleaners_closed" style="display: block; position: relative; visibility: visible;">\n';
	out += '				<p><a href="' + pre + 'equip/cleaners.htm">Automatic Cleaners</a> <a id="link" href="javascript:secondarylayerswap(\'cleaners_closed\'),secondarylayerswap(\'cleaners_open\'),secondarylayerswap(\'cleaners_items\');">[+]</a></p>\n';
	out += '			</div>\n';
	out += '			<div id="cleaners_open" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a href="' + pre + 'equip/cleaners.htm">Automatic Cleaners</a> <a id="link" href="javascript:secondarylayerswap(\'cleaners_closed\'),secondarylayerswap(\'cleaners_open\'),secondarylayerswap(\'cleaners_items\');">[&ndash;]</a></p>\n';
	out += '			</div>\n';

	out += '		<!-- Automatic Cleaners Options List -->\n';
	out += '			<div id="cleaners_items" class="newSubFourth" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a href="' + pre + 'equip/pressure.htm">Pressure Side</a></p>\n';
	out += '				<p><a href="' + pre + 'equip/suction.htm">Suction Side</a></p>\n';
	out += '				<p><a href="' + pre + 'equip/robotic.htm">Robotic</a></p>\n';
	out += '			</div>\n';

	out += '		<!-- Convenience Options FINISH -->\n';
	out += '			<p><a href="' + pre + 'equip/chlorine.htm">Automatic Chlorine Generator</a></p>\n';
	out += '		</div>\n';

	out += '	<!-- Lighting and Water Effects -->\n';
	out += '		<div id="lighting_closed" style="display: block; position: relative; visibility: visible;">\n';
	out += '			<p><a id="link" href="javascript:secondarylayerswap(\'lighting_closed\'),secondarylayerswap(\'lighting_open\'),secondarylayerswap(\'lighting_items\');">Lighting and Water Effects [+]</a></p>\n';
	out += '		</div>\n';
	out += '		<div id="lighting_open" style="display: none; position: relative; visibility: hidden;">\n';
	out += '			<p><a id="link" href="javascript:secondarylayerswap(\'lighting_closed\'),secondarylayerswap(\'lighting_open\'),secondarylayerswap(\'lighting_items\');">Lighting and Water Effects [&ndash;]</a></p>\n';
	out += '		</div>\n';

	out += '	<!--  Lighting and Water Effects List -->\n';
	out += '		<div id="lighting_items" class="newSubThird" style="display: none; position: relative; visibility: hidden;">\n';
	out += '			<!-- Color-changing lights -->\n';
	out += '			<div id="colorlights_closed" style="display: block; position: relative; visibility: visible;">\n';
	out += '				<p><a href="' + pre + 'equip/colorlights.htm">Color-changing Lights</a> <a id="link" href="javascript:secondarylayerswap(\'colorlights_closed\'),secondarylayerswap(\'colorlights_open\'),secondarylayerswap(\'colorlights_items\');">[+]</a></p>\n';
	out += '			</div>\n';
	out += '			<div id="colorlights_open" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a href="' + pre + 'equip/colorlights.htm">Color-changing Lights</a> <a id="link" href="javascript:secondarylayerswap(\'colorlights_closed\'),secondarylayerswap(\'colorlights_open\'),secondarylayerswap(\'colorlights_items\');">[&ndash;]</a></p>\n';
	out += '			</div>\n';

	out += '			<!-- Color-changing lights List -->\n';
	out += '			<div id="colorlights_items" class="newSubFourth" style="display: none; position: relative; visibility: hidden;">\n';
	out += '				<p><a href="' + pre + 'equip/colorchanginghalogen.htm">Halogen Lights</a></p>\n';
	out += '				<p><a href="' + pre + 'equip/colorchangingled.htm">LED Lights</a></p>\n';
	out += '			</div>\n';

	out += '			<!-- Lighting and Water Effects List FINISH -->\n';
	out += '			<p><a href="' + pre + 'equip/landscapelights.htm">Perimeter &amp; Landscape Lights</a></p>\n';
	out += '			<p><a href="' + pre + 'equip/effects.htm">Water Effects</a></p>\n';
	out += '		</div>\n';

	out += '	<!-- Energy Saving Options -->\n';
	out += '		<div id="energy_closed" style="display: block; position: relative; visibility: visible;">\n';
	out += '			<p><a id="link" href="javascript:secondarylayerswap(\'energy_closed\'),secondarylayerswap(\'energy_open\'),secondarylayerswap(\'energy_items\');">Energy Saving Options [+]</a></p>\n';
	out += '		</div>\n';
	out += '		<div id="energy_open" style="display: none; position: relative; visibility: hidden;">\n';
	out += '			<p><a id="link" href="javascript:secondarylayerswap(\'energy_closed\'),secondarylayerswap(\'energy_open\'),secondarylayerswap(\'energy_items\');">Energy Saving Options [&ndash;]</a></p>\n';
	out += '		</div>\n';

	out += '	<!-- Energy Saving Options List -->\n';
	out += '		<div id="energy_items" class="newSubThird" style="display: none; position: relative; visibility: hidden;">\n';
	out += '			<p><a href="' + pre + 'equip/energypumps.htm">Variable Speed Pumps</a></p>\n';
	out += '			<p><a href="' + pre + 'equip/energyautomation.htm">Automation</a></p>\n';
	out += '			<p><a href="' + pre + 'equip/energyheaters.htm">Heaters and Heat Pumps</a></p>\n';
	out += '			<p><a href="' + pre + 'equip/ledlighting.htm">LED Lighting</a></p>\n';
	out += '			<p><a href="' + pre + 'equip/energycleaners.htm">Automatic Pool Cleaners</a></p>\n';
	out += '		</div>\n';
	out += '	</div>\n';

	out += '<!-- Nav Dealer Locator -->\n';
	if (exp == 'locator')
		out += '	<div id="intNavSelected">Dealer Locator</div>\n';
	else {
		out += '	<div class="internalNavMenu">\n';
		//out += '		<p><a href="' + pre + 'dealer-locater.htm">Dealer Locator</a></p>\n';
		out += '		<p><a href="http://www.locatepoolsupplies.com/" target="_blank">Dealer Locator</a></p>\n';
		out += '	</div>\n';
	}

	out += '<!-- Nav Rebates -->\n';
	if (exp == 'rebates')
		out += '	<div id="intNavSelected">Rebates</div>\n';
	else {
		out += '	<div class="internalNavMenu">\n';
		out += '		<p><a href="' + pre + 'rebates.htm">Rebates</a></p>\n';
		out += '	</div>\n';
	}

	out += '<!-- Nav Register Products -->\n';
	if (exp == 'register') {
		out += '	<div id="intNavSelected">';
		if (curpage != 'register-products.php') out += '<a href="' + pre + 'register-products.php" style="color: white">';
		out += 'Register Products';
		if (curpage != 'register-products.php') out += '</a>';
		out += '</div>\n';
	} else {
		out += '	<div class="internalNavMenu">\n';
		out += '		<p><a href="' + pre + 'register-products.php">Register Products</a></p>\n';
		out += '	</div>\n';
	}
	
	return out;
}