// Non Secure Normal Header
function writeNormalNav() {
document.write('<table width="100%" height="35" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><img src="http://saturn.igetsmart.com/ahacpr/images/welcome.gif" width="435" height="25" alt=""></td>');
document.write('<td width="100%"><img src="http://saturn.igetsmart.com/ahacpr/images/top_space.gif" width="100%" height="25" alt=""></td>');
document.write('<td><a href="javascript:submitFormWithType(\'gform\',\'75\')"><img src="http://saturn.igetsmart.com/ahacpr/images/return.gif" width="95" height="25" alt="" border="0"></a></td>');
document.write('<td><a href="javascript:submitFormWithType(\'gform\',\'10\')"><img src="http://saturn.igetsmart.com/ahacpr/images/viewcart.gif" width="75" height="25" alt="" border="0"></a></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/faq.html\', 520, 400)"><img src="http://saturn.igetsmart.com/ahacpr/images/help.gif" width="40" height="25" border="0" alt=""></a></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/contact.html\', 520, 400)"><img src="http://saturn.igetsmart.com/ahacpr/images/contact.gif" width="80" height="25" border="0" alt=""></a></td></tr>');
document.write('<tr><td width="100%" colspan="6"><img src="http://saturn.igetsmart.com/ahacpr/images/middle_space.gif" width="100%" height="10" alt=""></td></tr></table>');
document.write('<table width="100%" height="49" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><td width="100%"><img src="http://saturn.igetsmart.com/ahacpr/images/base_space.gif" width="100%" height="51" alt=""></td>');
document.write('<td><img src="http://saturn.igetsmart.com/ahacpr/images/cpr_anytime.gif" width="154" height="51" alt=""></td>');
document.write('<td><a href="http://www.cpranytime.org"><img src="http://saturn.igetsmart.com/ahacpr/images/aha.gif" width="125" height="51" alt="" border="0"></a></td></tr>');
document.write('</table>');
}

// "No hacking", secure for login pages, used to disable 12 imprint pages
function writeNoHackNav() {
document.write('<table width="100%" height="35" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/welcome.gif" width="435" height="25" alt=""></td>');
document.write('<td width="100%"><img src="https://saturn.igetsmart.com/ahacpr/images/top_space.gif" width="100%" height="25" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/return-grey.gif" width="95" height="25" alt="" border="0"></td>');
document.write('<td><a href="javascript:submitFormWithType(\'gform\',\'10\')"><img src="https://saturn.igetsmart.com/ahacpr/images/viewcart.gif" width="75" height="25" alt="" border="0"></a></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/faq.html\', 520, 400)"><img src="https://saturn.igetsmart.com/ahacpr/images/help.gif" width="40" height="25" border="0" alt=""></a></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/contact.html\', 520, 400)"><img src="https://saturn.igetsmart.com/ahacpr/images/contact.gif" width="80" height="25" border="0" alt=""></a></td></tr>');
document.write('<tr><td width="100%" colspan="6"><img src="https://saturn.igetsmart.com/ahacpr/images/middle_space.gif" width="100%" height="10" alt=""></td></tr></table>');
document.write('<table width="100%" height="49" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><td width="100%"><img src="https://saturn.igetsmart.com/ahacpr/images/base_space.gif" width="100%" height="51" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/cpr_anytime.gif" width="154" height="51" alt=""></td>');
document.write('<td><a href="http://www.cpranytime.org"><img src="https://saturn.igetsmart.com/ahacpr/images/aha.gif" width="125" height="51" alt="" border="0"></a></td></tr>');
document.write('</table>');
}

// "Logout" button active, secure for login and logon.html pages
function writeLoginNav() {
document.write('<table width="100%" height="35" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/welcome.gif" width="435" height="25" alt=""></td>');
document.write('<td width="100%"><img src="https://saturn.igetsmart.com/ahacpr/images/top_space.gif" width="100%" height="25" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/return-grey.gif" width="95" height="25" alt="" border="0"></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/viewcart-grey.gif" width="75" height="25" alt="" border="0"></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/faq.html\', 520, 400)"><img src="https://saturn.igetsmart.com/ahacpr/images/help.gif" width="40" height="25" border="0" alt=""></a></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/contact.html\', 520, 400)"><img src="https://saturn.igetsmart.com/ahacpr/images/contact.gif" width="80" height="25" border="0" alt=""></a></td></tr>');
document.write('<tr><td width="100%" colspan="6"><img src="https://saturn.igetsmart.com/ahacpr/images/middle_space.gif" width="100%" height="10" alt=""></td></tr></table>');
document.write('<table width="100%" height="49" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><td width="100%"><img src="https://saturn.igetsmart.com/ahacpr/images/base_space.gif" width="100%" height="51" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/cpr_anytime.gif" width="154" height="51" alt=""></td>');
document.write('<td><a href="http://www.cpranytime.org"><img src="https://saturn.igetsmart.com/ahacpr/images/aha.gif" width="125" height="51" alt="" border="0"></a></td></tr>');
}

// Secure HTTPS
function writeSecureNav() {
document.write('<table width="100%" height="35" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/welcome.gif" width="435" height="25" alt=""></td>');
document.write('<td width="100%"><img src="https://saturn.igetsmart.com/ahacpr/images/top_space.gif" width="100%" height="25" alt=""></td>');
document.write('<td><a href="javascript:submitFormWithType(\'gform\',\'75\')"><img src="https://saturn.igetsmart.com/ahacpr/images/return.gif" width="95" height="25" alt="" border="0"></a></td>');
document.write('<td><a href="javascript:submitFormWithType(\'gform\',\'10\')"><img src="https://saturn.igetsmart.com/ahacpr/images/viewcart.gif" width="75" height="25" alt="" border="0"></a></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/faq.html\', 520, 400)"><img src="https://saturn.igetsmart.com/ahacpr/images/help.gif" width="40" height="25" border="0" alt=""></a></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/contact.html\', 520, 400)"><img src="https://saturn.igetsmart.com/ahacpr/images/contact.gif" width="80" height="25" border="0" alt=""></a></td></tr>');
document.write('<tr><td width="100%" colspan="6"><img src="https://saturn.igetsmart.com/ahacpr/images/middle_space.gif" width="100%" height="10" alt=""></td></tr></table>');
document.write('<table width="100%" height="49" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><td width="100%"><img src="https://saturn.igetsmart.com/ahacpr/images/base_space.gif" width="100%" height="51" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/cpr_anytime.gif" width="154" height="51" alt=""></td>');
document.write('<td><a href="http://www.cpranytime.org"><img src="https://saturn.igetsmart.com/ahacpr/images/aha.gif" width="125" height="51" alt="" border="0"></a></td></tr>');
document.write('</table>');
}

// AutoLoad pages with no upper nav (some secure)
function writeAutoNav() {
document.write('<table width="100%" height="35" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/welcome.gif" width="435" height="25" alt=""></td>');
document.write('<td width="100%"><img src="https://saturn.igetsmart.com/ahacpr/images/top_space.gif" width="100%" height="25" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/return-grey.gif" width="95" height="25" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/viewcart-grey.gif" width="75" height="25" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/help-grey.gif" width="40" height="25" border="0" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/contact-grey.gif" width="80" height="25" border="0" alt=""></td></tr>');
document.write('<tr><td width="100%" colspan="6"><img src="https://saturn.igetsmart.com/ahacpr/images/middle_space.gif" width="100%" height="10" alt=""></td></tr></table>');
document.write('<table width="100%" height="49" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><td width="100%"><img src="https://saturn.igetsmart.com/ahacpr/images/base_space.gif" width="100%" height="51" alt=""></td>');
document.write('<td><img src="https://saturn.igetsmart.com/ahacpr/images/cpr_anytime.gif" width="154" height="51" alt=""></td>');
document.write('<td><a href="http://www.cpranytime.org"><img src="https://saturn.igetsmart.com/ahacpr/images/aha.gif" width="125" height="51" alt="" border="0"></a></td></tr>');
document.write('</table>');
}

// Shop Page nonsecure for jupiter certificate woes
function writeShopNav() {
document.write('<table width="100%" height="35" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><img src="http://saturn.igetsmart.com/ahacpr/images/welcome.gif" width="435" height="25" alt=""></td>');
document.write('<td width="100%"><img src="http://saturn.igetsmart.com/ahacpr/images/top_space.gif" width="100%" height="25" alt=""></td>');
document.write('<td><img src="http://saturn.igetsmart.com/ahacpr/images/return-grey.gif" width="95" height="25" alt=""></td>');
document.write('<td><img src="http://saturn.igetsmart.com/ahacpr/images/viewcart-grey.gif" width="75" height="25" alt=""></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/faq.html\', 520, 400)"><img src="http://saturn.igetsmart.com/ahacpr/images/help.gif" width="40" height="25" border="0" alt=""></a></td>');
document.write('<td><a href="javascript:openstatus(\'http://saturn.igetsmart.com/ahacpr/contact.html\', 520, 400)"><img src="http://saturn.igetsmart.com/ahacpr/images/contact.gif" width="80" height="25" border="0" alt=""></a></td></tr>');
document.write('<tr><td width="100%" colspan="6"><img src="http://saturn.igetsmart.com/ahacpr/images/middle_space.gif" width="100%" height="10" alt=""></td></tr></table>');
document.write('<table width="100%" height="49" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('<td><td width="100%"><img src="http://saturn.igetsmart.com/ahacpr/images/base_space.gif" width="100%" height="51" alt=""></td>');
document.write('<td><img src="http://saturn.igetsmart.com/ahacpr/images/cpr_anytime.gif" width="154" height="51" alt=""></td>');
document.write('<td><a href="http://www.cpranytime.org"><img src="http://saturn.igetsmart.com/ahacpr/images/aha.gif" width="125" height="51" alt="" border="0"></a></td></tr>');
document.write('</table>');
}

//Main Footer, leave empty table if not used
function writeFooter() {
document.write('<table border="0" cellspacing="0" cellpadding="0" width="100%">');
document.write('<tr><td class="copy" align="left">Support the American Heart Association by shopping our on-line stores. Click <a href="http://americanheart.org/presenter.jhtml?identifier=3045342" class="paging" target="_blank">here</a> to be taken to additional consumer retail sites</td></tr>');
document.write('<tr><td class="copy" align="left">For more information on CPR Anytime contact: 1-877-AHA-4CPR or visit <a href="http://www.cpranytime.org" class="paging" target="_blank">www.cpranytime.org</a></td></tr>');
document.write('<tr><td class="copy" align="left">For ordering or distribution contact the distributor, WorkflowOne, at: 800-233-1230 or email <a href="mailto:cpranytimecustomerservice@workflowone.com" class="paging">cpranytimecustomerservice@workflowone.com</a></td></tr>');
document.write('</table>');
}

//Blank Footer for AutoLoad pages
function writeAutoFooter() {
document.write('<table border="0" cellspacing="0" cellpadding="0" width="100%">');
document.write('<tr><td class="copy" align="right">&nbsp;</td></tr>');
document.write('<tr><td class="copy" align="right">&nbsp;</td></tr>');
document.write('</table>');
}