
function sas324switchtabs(tabid) {

for (i=0;i<sas324mytabs.length;i++)
{
	if (sas324mytabs[i] == tabid) {
		document.getElementById('sas324tab'+sas324mytabs[i]+'content').style.display = 'block';
		document.getElementById('sas324tabcell'+sas324mytabs[i]).style.backgroundColor = '#6699CC';
		document.getElementById('sas324tabcell'+sas324mytabs[i]).className = 'sas324tabheaderon';
		document.getElementById('sas324tabbottom'+sas324mytabs[i]).style.backgroundColor = '#6699CC';
		document.getElementById('sas324tabtop'+sas324mytabs[i]).style.backgroundColor = '#000000';
		document.getElementById('sas324tablink'+sas324mytabs[i]).className = 'sas324tablinkon';
	}
	else {
		document.getElementById('sas324tab'+sas324mytabs[i]+'content').style.display = 'none';
		document.getElementById('sas324tabcell'+sas324mytabs[i]).style.backgroundColor = '#99CC66';
		document.getElementById('sas324tabbottom'+sas324mytabs[i]).style.backgroundColor = '#000000';
		document.getElementById('sas324tabtop'+sas324mytabs[i]).style.backgroundColor = '';
		document.getElementById('sas324tablink'+sas324mytabs[i]).className = 'sas324tablink';
		document.getElementById('sas324tabcell'+sas324mytabs[i]).className = 'sas324tabheaderoff';

	}
}

}

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

document.write('');
document.write('');
document.write('<style type="text/css">');
document.write('A.sas324tablink:link');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('	text-decoration: none;');
document.write('	font-weight: normal;');
document.write('}');
document.write('A.sas324tablink:visited');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('	text-decoration: none;');
document.write('	font-weight: normal;');
document.write('}');
document.write('A.sas324tablink:active');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('	text-decoration: none;');
document.write('	font-weight: normal;');
document.write('}');
document.write('A.sas324tablink:hover');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('	text-decoration: underline;');
document.write('	font-weight: normal;');
document.write('}');
document.write('A.sas324tablinkon:link');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('	text-decoration: none;');
document.write('	font-weight: bold;');
document.write('}');
document.write('A.sas324tablinkon:visited');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('	text-decoration: none;');
document.write('	font-weight: bold;');
document.write('}');
document.write('A.sas324tablinkon:active');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('	text-decoration: none;');
document.write('	font-weight: bold;');
document.write('}');
document.write('A.sas324tablinkon:hover');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('	text-decoration: underline;');
document.write('	font-weight: bold;');
document.write('}');
document.write('');
document.write('.sas324tabheaderon');
document.write('{');
document.write('	background-color: #99CC66;');
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('.sas324tabheaderoff');
document.write('{');
document.write('	background-color: #99CC66;');
document.write('	border-left: 2px solid #000000;');
document.write('	border-right: 2px solid #000000;');
document.write('	border-top: 2px solid #000000;');
document.write('	padding: 2px;');
document.write('');
document.write('}');
document.write('');
document.write('.sas324tabheaderspacer');
document.write('{');
document.write('	background-color: #FFFFFF;');
document.write('	width: 3px;');
document.write('');
document.write('');
document.write('}');
document.write('');
document.write('.sas324tabbottom');
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('.sas324tabbottomspacer');
document.write('{');
document.write('	background-color: #000000;');
document.write('	width: 3px;');
document.write('');
document.write('');
document.write('}');
document.write('');
document.write('.sas324tabtop');
document.write('{');
document.write('	height: 2px;');
document.write('');
document.write('');
document.write('}');
document.write('');
document.write('.sas324tabtop');
document.write('{');
document.write('	height: 2px;');
document.write('	width: 3px;');
document.write('');
document.write('}');
document.write('');
document.write('.sas324contentbox');
document.write('{');
document.write('	background-color: #6699CC;');
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 Arial;');
document.write('');
document.write('}');
document.write('');
document.write('.sas324contentboxfont');
document.write('{');
document.write('	padding: 2px;');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('');
document.write('}');
document.write('A.sas324tabcontentlink:link');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('}');
document.write('A.sas324tabcontentlink:hover');
document.write('{');
document.write('	COLOR: #3300FF;');
document.write('	FONT: 12px Arial;');
document.write('}');
document.write('A.sas324tabcontentlink:active');
document.write('{');
document.write('	COLOR: #990099;');
document.write('	FONT: 12px Arial;');
document.write('}');
document.write('A.sas324tabcontentlink:visited');
document.write('{');
document.write('	COLOR: #000000;');
document.write('	FONT: 12px Arial;');
document.write('}');
document.write('');
document.write('');
document.write('</style>');
document.write('');
document.write('<table cellpadding=0 cellspacing=0 width="550" height="175">');
document.write('<tr><td>');
document.write('<table cellspacing=0 cellpadding=0 width="100%" height="100%">');
document.write('<tr><td id="sas324tabtop1" class="sas324tabtop"></td><td class="sas324tabtopspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas324tabtop2" class="sas324tabtop"></td><td class="sas324tabtopspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas324tabtop3" class="sas324tabtop"></td><td class="sas324tabtopspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas324tabtop4" class="sas324tabtop"></td></tr><tr><td id="sas324tabcell1" class="sas324tabheaderon"><a href="#" onClick="sas324switchtabs(1); return false;" class="sas324tablink" id="sas324tablink1">Land of Nod - Furnishings</a></td><td class="sas324tabheaderspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas324tabcell2" class="sas324tabheaderoff"><a href="#" onClick="sas324switchtabs(2); return false;" class="sas324tablink" id="sas324tablink2">Land of Nod - Seating Deals</a></td><td class="sas324tabheaderspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas324tabcell3" class="sas324tabheaderoff"><a href="#" onClick="sas324switchtabs(3); return false;" class="sas324tablink" id="sas324tablink3">Land of Nod - Music</a></td><td class="sas324tabheaderspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas324tabcell4" class="sas324tabheaderoff"><a href="#" onClick="sas324switchtabs(4); return false;" class="sas324tablink" id="sas324tablink4">Nod & Ends Outlet</a></td></tr><tr><td id="sas324tabbottom1" class="sas324tabbottom"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="2"></td><td class="sas324tabbottomspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas324tabbottom2" class="sas324tabbottom"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="2"></td><td class="sas324tabbottomspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas324tabbottom3" class="sas324tabbottom"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="2"></td><td class="sas324tabbottomspacer"><img src="http://www.shareasale.com/images/spacer.gif" width="1" height="1"></td>');
document.write('<td id="sas324tabbottom4" class="sas324tabbottom"><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="sas324contentbox" height="100%" valign="top" style="padding: 5px"><div id="sas324tab1content"><table cellpadding=5 cellspacing=0 align=center><tr><td class="sas324contentboxfont"><ul><li><a class="sas324tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=13150&u=' + sas324tabidvalue + '&d=5924&afftrack=' + sas324tabafftrackvalue + '&w=324">Free Shipping on all Cribs at Land of Nod!</a><li><a class="sas324tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=13150&u=' + sas324tabidvalue + '&d=7192&afftrack=' + sas324tabafftrackvalue + '&w=324">New Flat Rate Furniture Shipping to 27 Metro Areas at The Land of Nod</a><li><a class="sas324tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=13150&u=' + sas324tabidvalue + '&d=9120&afftrack=' + sas324tabafftrackvalue + '&w=324">Up to 50% Off the Low Clouds Collection of Rugs at The Land of Nod</a><li><a class="sas324tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=13150&u=' + sas324tabidvalue + '&d=9121&afftrack=' + sas324tabafftrackvalue + '&w=324">Up to $30 Off Roman Shades at The Land of Nod</a></ul></td></tr></table></div><div id="sas324tab2content"><table cellpadding=5 cellspacing=0 align=center><tr><td class="sas324contentboxfont"><ul><li><a class="sas324tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=13150&u=' + sas324tabidvalue + '&d=5933&afftrack=' + sas324tabafftrackvalue + '&w=324">Upholstered Ottoman at The Land of Nod: Originally $299 now $269</a><br>Ottoman has a hardwood frame with solid maple legs to rest those tired legs.<br><li><a class="sas324tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=13150&u=' + sas324tabidvalue + '&d=5921&afftrack=' + sas324tabafftrackvalue + '&w=324">Nod Chair: Originally $129 Now Only $99</a><br>Our Nod Chair is the ideal frameless seat for kids!<br></ul></td></tr></table></div><div id="sas324tab3content"><table cellpadding=5 cellspacing=0 align=center><tr><td class="sas324contentboxfont"><ul><li><a class="sas324tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=13150&u=' + sas324tabidvalue + '&d=6044&afftrack=' + sas324tabafftrackvalue + '&w=324">CD\'s for $13.98 and Free Shipping at The Land of Nod!</a><br>Almost all of The Land of Nod CDs are now $13.98 or less! Plus, all CDs now ship FREE! You\'ll find tons of new titles and sound samples.  We think it\'s the coolest selection of kids\' music on the plant.  We think you will, too.<br></ul></td></tr></table></div><div id="sas324tab4content"><table cellpadding=5 cellspacing=0 align=center><tr><td class="sas324contentboxfont"><ul><li><a class="sas324tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=13150&u=' + sas324tabidvalue + '&d=8482&afftrack=' + sas324tabafftrackvalue + '&w=324">Up to 24% Off Maclaren 2007 Model Strollers at Land of Nod: While Supplies Last</a><li><a class="sas324tabcontentlink" target="_blank" href="http://www.shareasale.com/u.cfm?m=13150&u=' + sas324tabidvalue + '&d=5920&afftrack=' + sas324tabafftrackvalue + '&w=324">Get up to 80% off at the Nods and End Outlet</a></ul></td></tr></table></div>');
document.write('');
document.write('</td></tr>');
document.write('</table>');
document.write('');

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

sas324switchtabs(1);

