
function sas565switchtabs(tabid) {

for (i=0;i<sas565mytabs.length;i++)
{
	if (sas565mytabs[i] == tabid) {
		document.getElementById('sas565tab'+sas565mytabs[i]+'content').style.display = 'block';
		document.getElementById('sas565tabcell'+sas565mytabs[i]).style.backgroundColor = '#539ce9';
		document.getElementById('sas565tabcell'+sas565mytabs[i]).className = 'sas565tabheaderon';
		document.getElementById('sas565tabbottom'+sas565mytabs[i]).style.backgroundColor = '#539ce9';
		document.getElementById('sas565tabtop'+sas565mytabs[i]).style.backgroundColor = '#000000';
		document.getElementById('sas565tablink'+sas565mytabs[i]).className = 'sas565tablinkon';
	}
	else {
		document.getElementById('sas565tab'+sas565mytabs[i]+'content').style.display = 'none';
		document.getElementById('sas565tabcell'+sas565mytabs[i]).style.backgroundColor = '#2866ac';
		document.getElementById('sas565tabbottom'+sas565mytabs[i]).style.backgroundColor = '#000000';
		document.getElementById('sas565tabtop'+sas565mytabs[i]).style.backgroundColor = '';
		document.getElementById('sas565tablink'+sas565mytabs[i]).className = 'sas565tablink';
		document.getElementById('sas565tabcell'+sas565mytabs[i]).className = 'sas565tabheaderoff';

	}
}

}

if (typeof(sas565tabafftrackvalue) == 'undefined'){
sas565tabafftrackvalue = '';
}

document.write('');
document.write('');
document.write('<style type="text/css">');
document.write('A.sas565tablink:link');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('	text-decoration: none;');
document.write('	font-weight: normal;');
document.write('}');
document.write('A.sas565tablink:visited');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('	text-decoration: none;');
document.write('	font-weight: normal;');
document.write('}');
document.write('A.sas565tablink:active');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('	text-decoration: none;');
document.write('	font-weight: normal;');
document.write('}');
document.write('A.sas565tablink:hover');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('	text-decoration: underline;');
document.write('	font-weight: normal;');
document.write('}');
document.write('A.sas565tablinkon:link');
document.write('{');
document.write('	COLOR: #FFFFFF;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('	text-decoration: none;');
document.write('	font-weight: bold;');
document.write('}');
document.write('A.sas565tablinkon:visited');
document.write('{');
document.write('	COLOR: #FFFFFF;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('	text-decoration: none;');
document.write('	font-weight: bold;');
document.write('}');
document.write('A.sas565tablinkon:active');
document.write('{');
document.write('	COLOR: #FFFFFF;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('	text-decoration: none;');
document.write('	font-weight: bold;');
document.write('}');
document.write('A.sas565tablinkon:hover');
document.write('{');
document.write('	COLOR: #FFFFFF;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('	text-decoration: underline;');
document.write('	font-weight: bold;');
document.write('}');
document.write('');
document.write('.sas565tabheaderon');
document.write('{');
document.write('	background-color: #2866ac;');
document.write('	border-left: 2px solid #000000;');
document.write('	border-right: 2px solid #000000;');
document.write('	padding: 2px;');
document.write('');
document.write('}');
document.write('');
document.write('.sas565tabheaderoff');
document.write('{');
document.write('	background-color: #2866ac;');
document.write('	border-left: 2px solid #909090;');
document.write('	border-right: 2px solid #909090;');
document.write('	border-top: 2px solid #909090;');
document.write('	padding: 2px;');
document.write('');
document.write('}');
document.write('');
document.write('.sas565tabheaderspacer');
document.write('{');
document.write('	background-color: #FFFFFF;');
document.write('	width: 3px;');
document.write('');
document.write('');
document.write('}');
document.write('');
document.write('.sas565tabbottom');
document.write('{');
document.write('	background-color: #000000;');
document.write('	border-right: 2px solid #000000;');
document.write('	border-left: 2px solid #000000;');
document.write('');
document.write('');
document.write('}');
document.write('');
document.write('.sas565tabbottomspacer');
document.write('{');
document.write('	background-color: #000000;');
document.write('	width: 3px;');
document.write('');
document.write('');
document.write('}');
document.write('');
document.write('.sas565tabtop');
document.write('{');
document.write('	height: 2px;');
document.write('');
document.write('');
document.write('}');
document.write('');
document.write('.sas565tabtop');
document.write('{');
document.write('	height: 2px;');
document.write('	width: 3px;');
document.write('');
document.write('}');
document.write('');
document.write('.sas565contentbox');
document.write('{');
document.write('	background-color: #FFFFFF;');
document.write('	border-left: 2px solid #000000;');
document.write('	border-bottom: 2px solid #000000;');
document.write('	border-right: 2px solid #000000;');
document.write('	padding: 2px;');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('');
document.write('}');
document.write('');
document.write('.sas565contentboxfont');
document.write('{');
document.write('	padding: 2px;');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('');
document.write('}');
document.write('A.sas565tabcontentlink:link');
document.write('{');
document.write('	COLOR: #0000FF;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('}');
document.write('A.sas565tabcontentlink:hover');
document.write('{');
document.write('	COLOR: #0000FF;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('}');
document.write('A.sas565tabcontentlink:active');
document.write('{');
document.write('	COLOR: #0000FF;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('}');
document.write('A.sas565tabcontentlink:visited');
document.write('{');
document.write('	COLOR: #0000FF;');
document.write('	FONT: 12px Trebuchet MS, Arial, Helvetica, sans-serif;');
document.write('}');
document.write('');
document.write('');
document.write('</style>');
document.write('');
document.write('<table cellpadding=0 cellspacing=0 width="280" height="400">');
document.write('<tr><td>');
document.write('<table cellspacing=0 cellpadding=0 width="100%" height="100%">');
document.write('<tr><td id="sas565tabtop1" class="sas565tabtop"></td><td class="sas565tabtopspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas565tabtop2" class="sas565tabtop"></td><td class="sas565tabtopspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas565tabtop3" class="sas565tabtop"></td></tr><tr><td id="sas565tabcell1" class="sas565tabheaderon"><a href="#" onClick="sas565switchtabs(1); return false;" class="sas565tablink" id="sas565tablink1">Plumbing Tools</a></td><td class="sas565tabheaderspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas565tabcell2" class="sas565tabheaderoff"><a href="#" onClick="sas565switchtabs(2); return false;" class="sas565tablink" id="sas565tablink2">Water Heaters</a></td><td class="sas565tabheaderspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas565tabcell3" class="sas565tabheaderoff"><a href="#" onClick="sas565switchtabs(3); return false;" class="sas565tablink" id="sas565tablink3">Deals & Promos</a></td></tr><tr><td id="sas565tabbottom1" class="sas565tabbottom"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="2"></td><td class="sas565tabbottomspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas565tabbottom2" class="sas565tabbottom"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="2"></td><td class="sas565tabbottomspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas565tabbottom3" class="sas565tabbottom"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="2"></td></tr></table>');
document.write('</td></tr>');
document.write('<tr><td class="sas565contentbox" height="100%" valign="top" style="padding: 5px"><div id="sas565tab1content"><table cellpadding=5 cellspacing=0 align=center><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455370828&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/09276.JPG" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455370828&afftrack=' + sas565tabafftrackvalue + '&w=565">TurboTorch TDLX2003 Air Acetylene Tote Kit (0426-0011)</a><br>Price: $189.86</td></tr><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455378620&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/01231.jpg" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455378620&afftrack=' + sas565tabafftrackvalue + '&w=565">General Wire MR-A Mini-Rooter Basic Unit with 50\' x 3/8" Cable</a><br>Price: $429.14</td></tr><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455379552&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/03240.jpg" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455379552&afftrack=' + sas565tabafftrackvalue + '&w=565">General Wire I-TU4 4\' Telescoping Urinal Auger</a><br>Price: $21.23</td></tr><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=457571616&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/0824-24-lg.jpg" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=457571616&afftrack=' + sas565tabafftrackvalue + '&w=565">Milwaukee 0824-24P V18 1/2 in. Hammer-Drill Kit With FREE Impact Driver & Screw-Driving Set</a><br>Price: $310.31</td></tr><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455379401&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/02704.jpg" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455379401&afftrack=' + sas565tabafftrackvalue + '&w=565">Wheeler Rex 5290 Plastic Pipe Cutter</a><br>Price: $49.56</td></tr></table></div><div id="sas565tab2content"><table cellpadding=5 cellspacing=0 align=center><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455363130&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/04080.jpg" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455363130&afftrack=' + sas565tabafftrackvalue + '&w=565">Bradford White M-1-12UT6SS 12 Gallon Electric Water Heater</a><br>Price: $279.80</td></tr><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455363391&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/17806.jpg" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455363391&afftrack=' + sas565tabafftrackvalue + '&w=565">Stiebel Eltron Tempra 24 Electric Tankless Water Heater</a><br>Price: $535.20</td></tr><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455378365&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/04067.jpg" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455378365&afftrack=' + sas565tabafftrackvalue + '&w=565">Eemax SP3512 "Single Point" Electric Tankless Water Heater</a><br>Price: $184.80</td></tr><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=456072845&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/15090.jpg" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=456072845&afftrack=' + sas565tabafftrackvalue + '&w=565">Bosch RP3P Powerstream Pro Electric Tankless Water Heater</a><br>Price: $151.94</td></tr><tr><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455362583&afftrack=' + sas565tabafftrackvalue + '&w=565"><img src="http://www.plumbersurplus.com/images/prod/2/02122.jpg" border="0"></a></td><td class="sas565contentboxfont"><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/m-pr.cfm?merchantID=10863&userID=' + sas565tabidvalue + '&productID=455362583&afftrack=' + sas565tabafftrackvalue + '&w=565">Eemax EX1608T2 Series Two Electric Tankless Water Heater Parallel with Two Thermostats</a><br>Price: $431.25</td></tr></table></div><div id="sas565tab3content"><table cellpadding=5 cellspacing=0 align=center><tr><td class="sas565contentboxfont"><ul><li><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=10863&u=' + sas565tabidvalue + '&d=8324&afftrack=' + sas565tabafftrackvalue + '&w=565">$5 off orders of $100 or more</a> - End Date: 01/31/2008 - Coupon Code: PSSSAF83BD18<br>$5 off orders of $100 or more. $5 off discount will be taken at time of checkout to item(s) with a subtotal (before tax and shipping) price of at least $100.  Offer cannot be combined with any other coupons or used with Google Checkout. Coupon can only be used once per customer. For use by affiliates on ShareASale. Valid 1/1/08 to 1/31/08.<br><li><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=10863&u=' + sas565tabidvalue + '&d=8695&afftrack=' + sas565tabafftrackvalue + '&w=565">Deals and Promotions</a> - End Date: 12/31/2008 - Coupon Code: <br>Checkout all the deals and promos happening at PlumberSurplus.com today!<br><li><a class="sas565tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=10863&u=' + sas565tabidvalue + '&d=8714&afftrack=' + sas565tabafftrackvalue + '&w=565">$5 off orders of $100 or more</a> - End Date: 02/29/2008 - Coupon Code: PSSSAFF2DNN91<br>$5 off orders of $100 or more. $5 off discount will be taken at time of checkout to item(s) with a subtotal (before tax and shipping) price of at least $100. Offer cannot be combined with any other coupons or used with Google Checkout. Coupon can only be used once per customer. For use by affiliates on ShareASale. Valid 2/1/08 to 2/29/08.<br></ul></td></tr></table></div>');
document.write('');
document.write('</td></tr>');
document.write('</table>');
document.write('');

var sas565mytabs = new Array()
sas565mytabs[0] = "1"
sas565mytabs[1] = "2"
sas565mytabs[2] = "3"

sas565switchtabs(1);

