function regionTags() {
	if (location.search == "?1" || location.search == "?2" || location.search == "?3" || location.search == "?4" || location.search == "?5") {
		document.write('<tr>');
		document.write('  <td>');
		document.write('    <table width="206" border="0" cellpadding="0" cellspacing="0">');
		document.write('      <tr>');
	    document.write('        <td width="12" align="right"><div align="left"><img src="images/bullet.gif" width="12" height="11" /></div></td>');
		document.write('        <td width="194" align="left"><div class="text_blue_c4" >');
		if (location.search == "?1") {
			document.write('West');
		} else if (location.search == "?2") {
			document.write('South Central');
		} else if (location.search == "?3") {
			document.write('East');
		} else if (location.search == "?4") {
			document.write('Northeast');
		} else if (location.search == "?5") {
			document.write('Canada');
		}
		document.write('</div>');
		document.write('        </td>');
		document.write('      </tr>');
		document.write('      <tr>');
	    document.write('        <td colspan="2" width="201">');
	    document.write('          <OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="201" height="165" id="map_choose_small" align="middle">');
	    document.write('            <PARAM name="flashVars" value="region=' + location.search.substring(1) + '" />');
	    document.write('            <PARAM name="allowScriptAccess" value="sameDomain" />');
	    document.write('            <PARAM name="movie" value="map_choose_small.swf" />');
	    document.write('            <PARAM name="quality" value="high" />');
	    document.write('            <PARAM name="bgcolor" value="#ffffff" />');
	    document.write('            <EMBED flashVars="region=' + location.search.substring(1) + '" src="map_choose_small.swf" QUALITY="high" BGCOLOR="#ffffff" width="201" height="165" NAME="map_choose_small" align="middle" allowScriptAccess="sameDomain" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" />');
	    document.write('          </OBJECT>');
		document.write('        </td>');
		document.write('      </tr>');
		document.write('    </table>');
		document.write('  </td>');
		document.write('</tr>');
	} else if (location.search == "?6") {
		document.write('<tr>');
		document.write('  <td>');
		document.write('    <table width="206" border="0" cellspacing="0" cellpadding="0">');
		document.write('      <tr>');
		document.write('        <td align="right" valign="baseline" rowspan="14"><img src="images/bullet.gif" width="12" height="11" /></td>');
		document.write('        <td width="194" align="left"><div class="text_blue_c4">Find products by application</div></td>');
		document.write('      </tr>');
		st('products_app_box.htm', 'Box Culverts');
		st('products_app_bridge.htm', 'Bridge');
		st('products_app_drainage.htm', 'Drainage');
		st('products_app_gravity.htm', 'Gravity Pipe');
		st('products_app_highway.htm', 'Highway Noise Barriers');
		st('products_app_pressure.htm', 'Pressure Pipe');
		st('products_app_protective.htm', 'Protective Lining Systems');
		st('products_app_railroad.htm', 'Railroad');
		st('products_app_stomrwater.htm', 'Stormwater Quality Devices');
		st('products_app_structural.htm', 'Structural/Architectural');
		st('products_app_tunnels.htm', 'Tunnels/Trenchless');
		st('products_app_utility.htm', 'Utility');
		st('products_app_misc.htm', 'Miscellaneous Precast');
		document.write('    </table>');
		document.write('  </td>');
		document.write('</tr>');
		document.write('<tr>');
		document.write('  <td height="25" align="center">&nbsp;</td>');
		document.write('</tr>');
	}
}

function st(sLink, sAppN) {
	document.write('      <tr><td align="left">');
	if (sAppN != appN)
		document.write('<a href="' + sLink + '" class="text_c4">' + sAppN + '</a>');
	else
		document.write('<a href="' + sLink + '" class="text_c4_h">' + sAppN + '</a>');
	document.write("</td></tr>");
} 

function techInfoTags() {

    document.write('<tr>');
    document.write('  <td align="right">');
    document.write('    <table width="206" border="0" cellspacing="0" cellpadding="0">');
    document.write('      <tr>');
    document.write('        <td width="12" align="right"><div align="left"><img src="images/bullet.gif" width="12" height="11" /></div></td>');
    document.write('        <td width="194" align="left"><div align="left" class="text_blue_c4">Download</div></td>');
    document.write('      </tr>');
    document.write('      <tr>');
    document.write('        <td align="right">&nbsp;</td>');
    document.write('        <td width="100%" align="left" class="text">');
    document.write('<div align="left" class="text_c4">');
	if (location.search == "?1") {
		document.write('<a href="learn_catalogs.htm#we"');
	} else if (location.search == "?2") {
		document.write('<a href="learn_catalogs.htm#sc"');
	} else if (location.search == "?3") {
		document.write('<a href="learn_catalogs.htm#e"');
	} else if (location.search == "?4") {
		document.write('<a href="learn_catalogs.htm#ne"');
	} else if (location.search == "?5") {
		document.write('<a href="learn_catalogs.htm#ca"');
	} else {
		document.write('<a href="learn_catalogs.htm"');
	}
    document.write(' class="text_c4">technical info</a></div>');
    document.write('        </td>');
    document.write('      </tr>');
    document.write('    </table>');
    document.write('  </td>');
    document.write('</tr>');

}

function findAContactTags() {
	if (location.search == "?1" || location.search == "?2" || location.search == "?3" || location.search == "?4" || location.search == "?5") {
		document.write('<tr>');
		document.write('  <td height="25" align="center">&nbsp;</td>');
		document.write('</tr>');
		document.write('<tr>');
		document.write('  <td align="right">');
		document.write('    <table width="206" border="0" cellspacing="0" cellpadding="0">');
		document.write('      <tr>');
	    document.write('        <td width="12" align="right"><div align="left"><img src="images/bullet.gif" width="12" height="11" /></div></td>');
		document.write('        <td width="194" align="left">');
		document.write('          <div align="left" id="div">');
		if (location.search == "?1") {
			document.write('<a href="contact_region_western.htm"');
		} else if (location.search == "?2") {
			document.write('<a href="contact_region_central.htm"');
		} else if (location.search == "?3") {
			document.write('<a href="contact_region_east.htm"');
		} else if (location.search == "?4") {
			document.write('<a href="contact_region_north.htm"');
		} else if (location.search == "?5") {
			document.write('<a href="contact_region_canada.htm"');
		} else {
			document.write('<a href="contact.htm">');
		}
		document.write(' class="text_blue_c4">Find a contact in this region</a>');
		document.write('          </div>');
		document.write('        </td>');
		document.write('      </tr>');
		document.write('    </table>');
		document.write('  </td>');
		document.write('</tr>');
	} else {
	}
}
