/*  This code is used on Index.htm page */
closeSG = false;

txtrow1 = "SunGrubbies.com will be <span class='msgHilite'>closed</span> 29 Dec through 2 Jan for Inventory.";
txtrow2 = "We will reopen to serve you on Tuesday, 3 January 2012.";
txtrow3 = "Online orders received during this period will be shipped January 3.";
txtrow3e = "We will respond to emails received during this time on January 3.";

wishing = "Wishing you health &amp; happiness in the great outdoors,";
folks = "~ The Folks at SunGrubbies.com ~";

closetxt="";
if (closeSG){
	blnk1 = "";
	blnk2 = "";
	t = location.href;
	if (t.indexOf("contact") >-1){
		txtrow3 = txtrow3e;
		blnk2 = "<br />";
	}
	if (t.indexOf("ourCart") >-1){
		blnk1 = "<br />&nbsp;";
	}
	closetxt += blnk1;
	closetxt += '<table width =75% align="center" cellpadding="5" bgcolor="#CCFFCC" bordercolor="#FF3333" border="1">';
	closetxt+= '<tr><td align=center><span class="msgText">';
	closetxt+= txtrow1 + "<br />";
	closetxt += txtrow2 + "<br />";
	if (txtrow3 != ""){
		closetxt += txtrow3 + "<br />";
	}
	closetxt += '</span><span class="msgText2">';
	closetxt += wishing + "</span><br />";
	closetxt += '<span class="msgText3">';
	closetxt += folks + "</span>";
	closetxt += "	</td></tr></table>";
	closetxt += blnk2;
}




