// Non Secure Normal Header
function writeNormalNav() {
document.write('<table class="main" width="100%" height="116" cellspacing="0" cellpadding="0" border="0">');
document.write('<tr><td width="100%" bgcolor="#000000" align="right"><a href="javascript:submitFormWithType(\'gform\',\'75\')"><img src="http://saturn.igetsmart.com/ahaasa/images/return.gif" border="0" width="94" height="30" alt="Return Home"></a><a href="javascript:submitFormWithType(\'gform\',\'10\')"><img src="http://saturn.igetsmart.com/ahaasa/images/viewcart.gif" border="0" width="84" height="30" alt="View Cart"></a><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahaasa/faq.html\', 500, 400)"><img src="http://saturn.igetsmart.com/ahaasa/images/help.gif" border="0" width="44" height="30" alt="FAQs"></a><a href="javascript:submitFormWithType(\'gform\',\'72\')"><img src="http://saturn.igetsmart.com/ahaasa/images/logout.gif" border="0" width="82" height="30" alt="Logout"></a></td></tr>');
document.write('<tr><td width="100%" height="86" align="right" background="http://saturn.igetsmart.com/ahaasa/images/red_bg.gif"><a href="http://www.americanheart.org" target="_blank"><img src="http://saturn.igetsmart.com/ahaasa/images/logo_aha.gif" border="0" width="280" height="86" alt="American Heart and Stroke Association&reg;" usemap="aha"></a></td></tr>');
document.write('</table>');
}

// "No hacking", disables 12 imprint pages, only faq, contact active
function writeNoHackNav() {
document.write('<table class="main" width="100%" height="116" cellspacing="0" cellpadding="0" border="0">');
document.write('<tr><td width="100%" bgcolor="#000000" align="right"><img src="http://saturn.igetsmart.com/ahaasa/images/return-grey.gif" border="0" width="94" height="30" alt="Return Home"><img src="http://saturn.igetsmart.com/ahaasa/images/viewcart-grey.gif" border="0" width="84" height="30" alt="View Cart"><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahaasa/faq.html\', 500, 400)"><img src="http://saturn.igetsmart.com/ahaasa/images/help.gif" border="0" width="44" height="30" alt="FAQs"></a><img src="http://saturn.igetsmart.com/ahaasa/images/logout-grey.gif" border="0" width="82" height="30" alt="Logout"></td></tr>');
document.write('<tr><td width="100%" height="86" align="right" background="http://saturn.igetsmart.com/ahaasa/images/red_bg.gif"><a href="http://www.americanheart.org" target="_blank"><img src="http://saturn.igetsmart.com/ahaasa/images/logo_aha.gif" border="0" width="280" height="86" alt="American Heart and Stroke Association&reg;"></a></td></tr>');
document.write('</table>');
}

// "Logout", FAQ, contact, active, secure for login and logon.html pages
function writeLoginNav() {
document.write('<table class="main" width="100%" height="116" cellspacing="0" cellpadding="0" border="0">');
document.write('<tr><td width="100%" bgcolor="#000000" align="right"><img src="https://saturn.igetsmart.com/ahaasa/images/return-grey.gif" border="0" width="94" height="30" alt="Return Home"><img src="https://saturn.igetsmart.com/ahaasa/images/viewcart-grey.gif" border="0" width="84" height="30" alt="View Cart"><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahaasa/faq.html\', 500, 400)"><img src="https://saturn.igetsmart.com/ahaasa/images/help.gif" border="0" width="44" height="30" alt="FAQs"></a><a href="javascript:submitFormWithType(\'gform\',\'72\')"><img src="https://saturn.igetsmart.com/ahaasa/images/logout.gif" border="0" width="82" height="30" alt="Logout"></a></td></tr>');
document.write('<tr><td width="100%" height="86" align="right" background="https://saturn.igetsmart.com/ahaasa/images/red_bg.gif"><a href="http://www.americanheart.org" target="_blank"><img src="https://saturn.igetsmart.com/ahaasa/images/logo_aha.gif" border="0" width="280" height="86" alt="American Heart and Stroke Association&reg;"></a></td></tr>');
document.write('</table>');
}

// Secure HTTPS
function writeSecureNav() {
document.write('<table class="main" width="100%" height="116" cellspacing="0" cellpadding="0" border="0">');
document.write('<tr><td width="100%" bgcolor="#000000" align="right"><a href="javascript:submitFormWithType(\'gform\',\'75\')"><img src="https://saturn.igetsmart.com/ahaasa/images/return.gif" border="0" width="94" height="30" alt="Return Home"></a><a href="javascript:submitFormWithType(\'gform\',\'10\')"><img src="https://saturn.igetsmart.com/ahaasa/images/viewcart.gif" border="0" width="84" height="30" alt="View Cart"></a><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahaasa/faq.html\', 500, 400)"><img src="https://saturn.igetsmart.com/ahaasa/images/help.gif" border="0" width="44" height="30" alt="FAQs"></a><a href="javascript:submitFormWithType(\'gform\',\'72\')"><img src="https://saturn.igetsmart.com/ahaasa/images/logout.gif" border="0" width="82" height="30" alt="Logout"></a></td></tr>');
document.write('<tr><td width="100%" height="86" align="right" background="https://saturn.igetsmart.com/ahaasa/images/red_bg.gif"><a href="http://www.americanheart.org" target="_blank"><img src="https://saturn.igetsmart.com/ahaasa/images/logo_aha.gif" border="0" width="280" height="86" alt="American Heart and Stroke Association&reg;"></a></td></tr>');
document.write('</table>');
}

// AutoLoad pages with no upper nav (some secure)
function writeAutoNav() {
document.write('<table class="main" width="100%" height="116" cellspacing="0" cellpadding="0" border="0">');
document.write('<tr><td width="100%" bgcolor="#000000" align="right"><img src="https://saturn.igetsmart.com/ahaasa/images/return-grey.gif" border="0" width="94" height="30" alt="Return Home"><img src="https://saturn.igetsmart.com/ahaasa/images/viewcart-grey.gif" border="0" width="84" height="30" alt="View Cart"><img src="https://saturn.igetsmart.com/ahaasa/images/help-grey.gif" border="0" width="44" height="30" alt="FAQs"><img src="https://saturn.igetsmart.com/ahaasa/images/logout-grey.gif" border="0" width="82" height="30" alt="Logout"></td></tr>');
document.write('<tr><td width="100%" height="86" align="right" background="https://saturn.igetsmart.com/ahaasa/images/red_bg.gif"><img src="https://saturn.igetsmart.com/ahaasa/images/logo_aha.gif" border="0" width="280" height="86" alt="American Heart and Stroke Association&reg;"></td></tr>');
document.write('</table>');
}

// Shop Page nonsecure for jupiter, only faq contacts active
// function not used, code added directly to shop.html page 
function writeShopNav() {
}

//Main Footer, leave empty table if not used
function writeFooter() {
document.write('<table border="0" width="100%" cellspacing="0" cellpadding="0">');
document.write('<tr><td align="right" colspan="2" style="padding-right:5px;padding-bottom:5px;">Support the American Heart Association by shopping our on-line stores. Click <a href="http://americanheart.org/presenter.jhtml?identifier=3045342" target="_blank" class="foot2">here</a> to be taken to additional consumer retail sites</td></tr>');
document.write('<tr><td class="smallwhite" nowrap bgcolor="#EE3338" height="37" align="left">&nbsp;Customer Service: 1-800-233-1230 or <a class="tiny" href="mailto:ahacustomerservice@workflowone.com">ahacustomerservice@workflowone.com</a><br>&nbsp;Monday-Friday 8:00am-5:00pm CST</td>');
document.write('<td width="100%" class="smallwhite" nowrap bgcolor="#EE3338" height="37" align="right">Powered by&nbsp;<br><a class="power" href="http://www.workflowone.com" target="_blank">WorkflowOne Integrated Technologies</a>&nbsp;</td>');
document.write('</tr></table>');
}

//Blank Footer for AutoLoad pages
function writeAutoFooter() {
document.write('<table border="0" width="100%" cellspacing="0" cellpadding="0">');
document.write('<tr><td width="100%" class="smallwhite" nowrap bgcolor="#EE3338" height="37" align="right">Powered by&nbsp;<br><a class="power" href="http://www.workflowone.com" target="_blank">WorkflowOne Integrated Technologies</a>&nbsp;</td></tr></table>');
}

document.write('<map name="aha"><area shape="rect" coords="113,35,189,64" href="http://www.americanheart.org/" target="_blank"><area shape="rect" coords="197,36,272,62" href="http://www.strokeassociation.org/"target="_blank"></map>');