
function setNav() {
    //alert("entered setNav");
    var navAreaGen = ""+
        "    <div class='urbangreymenu'>" +
        "        <h3 class='headerbar'></h3>" +
        "        <ul>" +
        "                <li><a href='mainContent2.html'>Home</a></li>" +
        "                " +
        "                <li><a href='CPR2.html' > " +
        "                        Course Descriptions&nbsp;&nbsp;&nbsp;" +
        "                        <!-- <img alt='pointer' src='images/pointer.gif' style='border-width: 0;' /> -->" +
        "                    </a>" +
        "                 </li>" +
        "                " +
        "                <li><a href='http://www.rescuedivers.net/SignUpNow.html'>SIGN UP NOW</a></li>" +
//        "                <li><a href='Products.html'>Products</a></li>" +
//        "                <li><a href='DiveTours.html'>Dive Tours</a></li>" +
//        "                <li><a href='PADIClasses.html'>PADI Classes</a></li>" +
        "                <li><a href='https://www.rescuedivers.net/contact_form.php'>Contact Us</a></li>" +
        "        </ul>" +
        "    </div>" +
        "    <div style='margin-left:10px; margin-top:3px'>" +
        "        <a href='http://www.1and1.com/?k_id=13548939' target='_blank'>" +
        "        <img src='http://banner.1and1.com/xml/banner?size=5%26%number=1' width='140' height='28' alt='Banner'  border='0'/>" +
        "        </a>" +
        "    </div>" +
        "                " +
        "    <br/>            " +
        "    <div style='margin-left:17px;'>" +
        "        <a href='http://www.1and1.com/?k_id=13548939' target='_blank'>" +
        "        <img src='http://banner.1and1.com/xml/banner?size=4%26%number=1' width='125' height='125' alt='Banner' border='0'/>" +
        "        </a>" +
        "     </div>"+
"<div style='border:0px; solid black; margin-left:7px'>" +
"<form method='get' target='_blank' ACTION='http://order.1and1.com/dcjump'>" +
//"<p align='center'>5 free Domains with Select Hosting Plans. Get yours!</p>" +
//"<center> " +
"<table border='0' width='150'>" +
"<tr><td colspan=2>5 free Domains with Select Hosting Plans. Get yours!</td</tr>"+
"<tr>" +
"<td class='form'>" +
"<input size='10' maxlength='500' name='domain' type='text'/>" +
"</td>" +
"<td>" +
"<select style='width:60px' name='tld'>" +
"<option value='com'>com</option>" +
"<option value='net'>net</option>" +
"<option value='org'>org</option>" +
"<option value='info'>info</option>" +
"<option value='us'>us</option>" +
"<option value='name'>name</option>" +
"<option value='biz'>biz</option>" +
"<option value='cc'>cc</option>" +
"<option value='tv'>tv</option>" +
"<option value='ws'>ws</option>" +
"<option value='mobi'>mobi</option>" +
"</select>" +
"</td>" +
"</tr>" +
"<tr>" +
"<td align=center colspan=2>" +
"<input name='k_id' value='13548939' type='hidden'/>" +
"<input type='submit' name='Submit' value='Check Domain'/>" +
"</td>" +
"</tr>" +
"</table>" +
//"</center>"+
" </form>" +
"</div>";

//"";
/*
   The following Variable is used for the pages that are being displayed with the HTTPS protocol
   All links on these pages will need to point back to HTTP so that we can avoid security warnings
*/
    var navAreaSSL = "" +
        "    <div class='urbangreymenu'>" +
        "        <h3 class='headerbar'></h3>" +
        "        <ul>" +
        "                <li><a href='http://www.rescuedivers.net/mainContent2.html'>Home</a></li>" +
        "                " +
        "                <li><a href='http://www.rescuedivers.net/CPR2.html' > " +
        "                        Course Descriptions&nbsp;&nbsp;&nbsp;" +
        "                        <!-- <img alt='pointer' src='images/pointer.gif' style='border-width: 0;' /> -->" +
        "                    </a>" +
        "                 </li>" +
        "                " +
        "                <li><a href='http://www.rescuedivers.net/SignUpNow.html'>SIGN UP NOW</a></li>" +
    //        "                <li><a href='http://www.rescuedivers.net/Products.html'>Products</a></li>" +
    //        "                <li><a href='http://www.rescuedivers.net/DiveTours.html'>Dive Tours</a></li>" +
    //        "                <li><a href='http://www.rescuedivers.net/PADIClasses.html'>PADI Classes</a></li>" +
        "                <li><a href='https://www.rescuedivers.net/contact_form.php'>Contact Us</a></li>" +
        "        </ul>" +
        "    </div>";


    var findNavGen = document.all["NAVHERE"];
    var findNavSSL = document.all["SSLNAVHERE"];

    if (findNavGen) {
        //alert('found');
        findNavGen.innerHTML = navAreaGen;
    } else if (findNavSSL) {
        findNavSSL.innerHTML = navAreaSSL;
    } else {
        alert("failed to write navigation");
    }
}

/*
        "" +
        "    <div id='submenu2' class='anylinkcss' style='width: 150px; background:#E9E9E9'>" +
        "        <ul>" +
        "            <li>" +
        "                <a href='EFR_Primary_Care.html'>" +
        "                    Primary Care (Adult, Child &amp; Infant CPR)" +
        "                </a> " +
        "             </li>" +
        "            <li>" +
        "                <a href='EFR_Secondary_Care.html' >" +
        "                    Secondary Care (First Aid)" +
        "                </a>" +
        "             </li>" +
        "            <li>Automated External Defibrillator (AED)</li>" +
        "            <li>" +
        "                <a href='EFR_Care_for_Children.html' >" +
        "                    Care for Children (Child &amp; Infant CPR)" +
        "                </a>" +
        "            </li>        " +
        "        </ul>" +
        "    </div>" +
*/
