//////////////////////////////////////////////////////////////////////////
//  Javascript functions to be used in the 2009 REDESIGN static pages.
//////////////////////////////////////////////////////////////////////////

// swap to the on images when mouseover
function select(i) {
	   if (document.images) {
	      var itemname = "n" + i;
	      document.images[itemname].src = onImages[i].src;
	  }
	}

// swap to the off images when mouseout
function deselect(i) {
	   if (document.images) {
	      var itemname = "n" + i;
	      document.images[itemname].src = offImages[i].src;
	
	   }
	}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

////////////////////////////////////////////////////////////////
// 2009 BANNER - NO DIVISION 
////////////////////////////////////////////////////////////////
function writeBanner() {
var bannerHTML = '<table width="100%" cellspacing="0" cellpadding="0" border="0">';
bannerHTML  += '  <tr> ';
bannerHTML  += '<!--- Top banner and navigation starts here --->';
bannerHTML  += '	<td>';
bannerHTML  += '	<!--- This table holds the TOP BANNER --->';
bannerHTML  += '    <table width="100%" cellspacing="0" cellpadding="0" height="85" border="0" bgcolor="#578CD6">';
bannerHTML  += '      <tr>';
bannerHTML  += '        <td><div align="LEFT"><img src="http://www.sos.state.co.us/pubs/images/general/banner_s1.jpg" height="85" alt="Secretary of State" rightmargin="0"/></div></td>';
bannerHTML  += '        <td></td>';
bannerHTML  += '        <td><div align="RIGHT"><img src="http://www.sos.state.co.us/pubs/images/general/banner_s3.jpg" height="85" alt="Dallas Divide, Colorado" rightmargin="0"/></div></td>';
bannerHTML  += '      </tr>';
bannerHTML  += '	</table>';
bannerHTML  += '	</td>';
bannerHTML  += '  </tr>';
bannerHTML  += '  <tr>';
bannerHTML  += '	<td>';
bannerHTML  += '	<!--- This table holds the main navigation --->';
bannerHTML  += '    <table width="100%" border="0" bgcolor="#333333">';
bannerHTML  += '      <tr>';
bannerHTML  += '        <td width="25%"><a href="#left_menu"><img src="http://www.sos.state.co.us/pubs/images/1px_gry.jpg" alt="click here to skip division links and go directly to the left navigation menu" border="0"></a><a href="#body"><img src="http://www.sos.state.co.us/pubs/images/1px_gry.jpg" alt="click here to skip division links and go directly to the main body of the page" border="0"></a></td>';
bannerHTML  += '        <td width="50%"><div align="center"><span class="toplinks"><strong><a href="http://www.sos.state.co.us">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/business/main.htm">Business</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/elections/main.htm">Elections</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/Bingo_Raffles/main.htm">Licensing</a></strong></span></div></td>';
bannerHTML  += '        <td width="25%"><div align="right"><span class="toplinks"><a href="http://www.sos.state.co.us/pubs/pressrel/index.html">Press</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/about.htm">About Us</a>&nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/contact.html">Contact Us</a></span></div></td>';
bannerHTML  += '      </tr>';
bannerHTML  += '    </table>';
bannerHTML  += '	</td>';
bannerHTML  += '  </tr>';
bannerHTML  += '</table>';
document.write(bannerHTML);
}

////////////////////////////////////////////////////////////////
// 2009 BANNER - BUSINESS
////////////////////////////////////////////////////////////////
function writeBannerBiz() {
var bannerBizHTML = '<table width="100%" cellspacing="0" cellpadding="0" border="0">';
bannerBizHTML  += '  <tr> ';
bannerBizHTML  += '<!--- Top banner and navigation starts here --->';
bannerBizHTML  += '	<td>';
bannerBizHTML  += '	<!--- This table holds the TOP BANNER --->';
bannerBizHTML  += '    <table width="100%" cellspacing="0" cellpadding="0" height="85" border="0" bgcolor="#578CD6">';
bannerBizHTML  += '      <tr>';
bannerBizHTML  += '        <td><div align="LEFT"><img src="http://www.sos.state.co.us/pubs/images/general/banner_s1_business.jpg" height="85" alt="Secretary of State - Business Division" rightmargin="0"/></div></td>';
bannerBizHTML  += '        <td></td>';
bannerBizHTML  += '        <td><div align="RIGHT"><img src="http://www.sos.state.co.us/pubs/images/general/banner_s3.jpg" height="85" alt="Dallas Divide, Colorado" rightmargin="0"/></div></td>';
bannerBizHTML  += '      </tr>';
bannerBizHTML  += '	</table>';
bannerBizHTML  += '	</td>';
bannerBizHTML  += '  </tr>';
bannerBizHTML  += '  <tr>';
bannerBizHTML  += '	<td>';
bannerBizHTML  += '	<!--- This table holds the main navigation --->';
bannerBizHTML  += '    <table width="100%" border="0" bgcolor="#333333">';
bannerBizHTML  += '      <tr>';
bannerBizHTML  += '        <td width="25%"><a href="#left_menu"><img src="http://www.sos.state.co.us/pubs/images/1px_gry.jpg" alt="click here to skip division links and go directly to the left navigation menu" border="0"></a><a href="#body"><img src="http://www.sos.state.co.us/pubs/images/1px_gry.jpg" alt="click here to skip division links and go directly to the main body of the page" border="0"></a></td>';
bannerBizHTML  += '        <td width="50%"><div align="center"><span class="toplinks"><strong><a href="http://www.sos.state.co.us">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/business/main.htm">Business</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/elections/main.htm">Elections</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/Bingo_Raffles/main.htm">Licensing</a></strong></span></div></td>';
bannerBizHTML  += '        <td width="25%"><div align="right"><span class="toplinks"><a href="http://www.sos.state.co.us/pubs/pressrel/index.html">Press</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/about.htm">About Us</a>&nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/contact.html">Contact Us</a></span></div></td>';
bannerBizHTML  += '      </tr>';
bannerBizHTML  += '    </table>';
bannerBizHTML  += '	</td>';
bannerBizHTML  += '  </tr>';
bannerBizHTML  += '</table>';
document.write(bannerBizHTML);
}

////////////////////////////////////////////////////////////////
// 2009 BANNER - ELECTIONS
////////////////////////////////////////////////////////////////
function writeBannerElect() {
var bannerElectHTML = '<table width="100%" cellspacing="0" cellpadding="0" border="0">';
bannerElectHTML  += '  <tr> ';
bannerElectHTML  += '<!--- Top banner and navigation starts here --->';
bannerElectHTML  += '	<td>';
bannerElectHTML  += '	<!--- This table holds the TOP BANNER --->';
bannerElectHTML  += '    <table width="100%" cellspacing="0" cellpadding="0" height="85" border="0" bgcolor="#578CD6">';
bannerElectHTML  += '      <tr>';
bannerElectHTML  += '        <td><div align="LEFT"><img src="http://www.sos.state.co.us/pubs/images/general/banner_s1_elections.jpg" height="85" alt="Secretary of State - Elections Division" rightmargin="0"/></div></td>';
bannerElectHTML  += '        <td></td>';
bannerElectHTML  += '        <td><div align="RIGHT"><img src="http://www.sos.state.co.us/pubs/images/general/banner_s3.jpg" height="85" alt="Dallas Divide, Colorado" rightmargin="0"/></div></td>';
bannerElectHTML  += '      </tr>';
bannerElectHTML  += '	</table>';
bannerElectHTML  += '	</td>';
bannerElectHTML  += '  </tr>';
bannerElectHTML  += '  <tr>';
bannerElectHTML  += '	<td>';
bannerElectHTML  += '	<!--- This table holds the main navigation --->';
bannerElectHTML  += '    <table width="100%" border="0" bgcolor="#333333">';
bannerElectHTML  += '      <tr>';
bannerElectHTML  += '        <td width="25%"><a href="#left_menu"><img src="http://www.sos.state.co.us/pubs/images/1px_gry.jpg" alt="click here to skip division links and go directly to the left navigation menu" border="0"></a><a href="#body"><img src="http://www.sos.state.co.us/pubs/images/1px_gry.jpg" alt="click here to skip division links and go directly to the main body of the page" border="0"></a></td>';
bannerElectHTML += '        <td width="50%"><div align="center"><span class="toplinks"><a href="http://www.sos.state.co.us"><strong>Home</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/business/main.htm"><strong>Business</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/elections/main.htm"><strong>Elections</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/Bingo_Raffles/main.htm"><strong>Licensing</strong></a></span></div></td>';
bannerElectHTML  += '        <td width="25%"><div align="right"><span class="toplinks"><a href="http://www.sos.state.co.us/pubs/pressrel/index.html">Press</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/about.htm">About Us</a>&nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/contact.html">Contact Us</a></span></div></td>';
bannerElectHTML  += '      </tr>';
bannerElectHTML  += '    </table>';
bannerElectHTML  += '	</td>';
bannerElectHTML  += '  </tr>';
bannerElectHTML  += '</table>';
document.write(bannerElectHTML);
}

////////////////////////////////////////////////////////////////
// 2009 BANNER - LICENSING
////////////////////////////////////////////////////////////////
function writeBannerLicense() {
var bannerLicenseHTML = '<table width="100%" cellspacing="0" cellpadding="0" border="0">';
bannerLicenseHTML  += '  <tr> ';
bannerLicenseHTML  += '<!--- Top banner and navigation starts here --->';
bannerLicenseHTML  += '	<td>';
bannerLicenseHTML  += '	<!--- This table holds the TOP BANNER --->';
bannerLicenseHTML  += '    <table width="100%" cellspacing="0" cellpadding="0" height="85" border="0" bgcolor="#578CD6">';
bannerLicenseHTML  += '      <tr>';
bannerLicenseHTML  += '        <td><div align="LEFT"><img src="http://www.sos.state.co.us/pubs/images/general/banner_s1_licensing.jpg" height="85" alt="Secretary of State - Licensing Division" rightmargin="0"/></div></td>';
bannerLicenseHTML  += '        <td></td>';
bannerLicenseHTML  += '        <td><div align="RIGHT"><img src="http://www.sos.state.co.us/pubs/images/general/banner_s3.jpg" height="85" alt="Dallas Divide, Colorado" rightmargin="0"/></div></td>';
bannerLicenseHTML  += '      </tr>';
bannerLicenseHTML  += '	</table>';
bannerLicenseHTML  += '	</td>';
bannerLicenseHTML  += '  </tr>';
bannerLicenseHTML  += '  <tr>';
bannerLicenseHTML  += '	<td>';
bannerLicenseHTML  += '	<!--- This table holds the main navigation --->';
bannerLicenseHTML  += '    <table width="100%" border="0" bgcolor="#333333">';
bannerLicenseHTML  += '      <tr>';
bannerLicenseHTML  += '        <td width="25%"><a href="#left_menu"><img src="http://www.sos.state.co.us/pubs/images/1px_gry.jpg" alt="click here to skip division links and go directly to the left navigation menu" border="0"></a><a href="#body"><img src="http://www.sos.state.co.us/pubs/images/1px_gry.jpg" alt="click here to skip division links and go directly to the main body of the page" border="0"></a></td>';
bannerLicenseHTML  += '        <td width="50%"><div align="center"><span class="toplinks"><strong><a href="http://www.sos.state.co.us">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/business/main.htm">Business</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/elections/main.htm">Elections</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.sos.state.co.us/pubs/Bingo_Raffles/main.htm">Licensing</a></strong></span></div></td>';
bannerLicenseHTML  += '        <td width="25%"><div align="right"><span class="toplinks"><a href="http://www.sos.state.co.us/pubs/pressrel/index.html">Press</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/about.htm">About Us</a>&nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/contact.html">Contact Us</a></span></div></td>';
bannerLicenseHTML  += '      </tr>';
bannerLicenseHTML  += '    </table>';
bannerLicenseHTML  += '	</td>';
bannerLicenseHTML  += '  </tr>';
bannerLicenseHTML  += '</table>';
document.write(bannerLicenseHTML);
}

////////////////////////////////////////////////////////////////
// 2009 FOOTER - NO DIVISION - GENERAL
////////////////////////////////////////////////////////////////
function writeFooter() {
var footerHTML = '<table width="100%" height="10" border="0" bgcolor="#333333">';
footerHTML  += '        <tr>';
footerHTML  += '          <td width="25%" height="10" nowrap><div align="left"><span class="toplinks">&nbsp;<a href="http://www.sos.state.co.us/pubs/search/main.htm">Search</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/ada.htm">Accessibility</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/privacy/privacy_state.htm">Privacy statement</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/terms_of_use.htm">Terms of use</a>&nbsp;&nbsp;</div></span></td>';
footerHTML  += '         <td width="15%"></td>';
footerHTML  += '          <td width="25%" nowrap><div align="right"><span class="toplinks">1700 Broadway, Denver CO 80290  &nbsp;|&nbsp; 303-894-2200 &nbsp;|&nbsp; <a href="mailto:sos.admin1@sos.state.co.us">sos.admin1@sos.state.co.us</a></div></span></td>';
footerHTML  += '        </tr>';
footerHTML  += '      </table>';	
document.write(footerHTML);
}

////////////////////////////////////////////////////////////////
// 2009 FOOTER - BUSINESS
////////////////////////////////////////////////////////////////
function writeBusinessFooter() {
var footerHTML = '<table width="100%" height="10" border="0" bgcolor="#333333">';
footerHTML  += '        <tr>';
footerHTML  += '          <td width="25%" height="10" nowrap><div align="left"><span class="toplinks">&nbsp;<a href="http://www.sos.state.co.us/pubs/search/main.htm">Search</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/ada.htm">Accessibility</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/privacy/privacy_state.htm">Privacy statement</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/terms_of_use.htm">Terms of use</a>&nbsp;&nbsp;</div></span></td>';
footerHTML  += '         <td width="15%"></td>';
footerHTML  += '          <td width="25%" nowrap><div align="right"><span class="toplinks">1700 Broadway Ste 200, Denver CO 80290  &nbsp;|&nbsp; 303-894-2200 option 2 &nbsp;|&nbsp; <a href="mailto:sos.business@sos.state.co.us">sos.business@sos.state.co.us</a></div></span></td>';
footerHTML  += '        </tr>';
footerHTML  += '      </table>';	
document.write(footerHTML);
}

////////////////////////////////////////////////////////////////
// 2009 FOOTER - ELECTIONS
////////////////////////////////////////////////////////////////
function writeElectionsFooter() {
var footerHTML = '<table width="100%" height="10" border="0" bgcolor="#333333">';
footerHTML  += '        <tr>';
footerHTML  += '          <td width="25%" height="10" nowrap><div align="left"><span class="toplinks">&nbsp;<a href="http://www.sos.state.co.us/pubs/search/main.htm">Search</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/ada.htm">Accessibility</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/privacy/privacy_state.htm">Privacy statement</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/terms_of_use.htm">Terms of use</a>&nbsp;&nbsp;</div></span></td>';
footerHTML  += '         <td width="15%"></td>';
footerHTML += '          <td width="25%" nowrap><div align="right"><span class="toplinks">1700 Broadway, Denver CO 80290  &nbsp;|&nbsp; 303-894-2200 x6383 &nbsp;|&nbsp; <a href="mailto:cpfhelp@sos.state.co.us">cpfhelp@sos.state.co.us</a></div></span></td>';
footerHTML += '        </tr>';
footerHTML  += '      </table>';	
document.write(footerHTML);
}

////////////////////////////////////////////////////////////////
// 2009 FOOTER - LICENSING
////////////////////////////////////////////////////////////////
function writeLicensingFooter() {
var footerHTML = '<table width="100%" height="10" border="0" bgcolor="#333333">';
footerHTML  += '        <tr>';
footerHTML  += '          <td width="25%" height="10" nowrap><div align="left"><span class="toplinks">&nbsp;<a href="http://www.sos.state.co.us/pubs/search/main.htm">Search</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/ada.htm">Accessibility</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/privacy/privacy_state.htm">Privacy statement</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/terms_of_use.htm">Terms of use</a>&nbsp;&nbsp;</div></span></td>';
footerHTML  += '         <td width="15%"></td>';
footerHTML  += '          <td width="25%" nowrap><div align="right"><span class="toplinks">1700 Broadway Ste 300, Denver CO 80290  &nbsp;|&nbsp; 303-894-2200 x6480 &nbsp;|&nbsp; <a href="mailto:licensing@sos.state.co.us">licensing@sos.state.co.us</a></div></span></td>';
footerHTML  += '        </tr>';
footerHTML  += '      </table>';	
document.write(footerHTML);
}

////////////////////////////////////////////////////////////////
// 2009 FOOTER - LICENSING - BINGO RAFFLES
////////////////////////////////////////////////////////////////
function writeBingoFooter() {
var footerHTML = '<table width="100%" height="10" border="0" bgcolor="#333333">';
footerHTML  += '        <tr>';
footerHTML  += '          <td width="25%" height="10" nowrap><div align="left"><span class="toplinks">&nbsp;<a href="http://www.sos.state.co.us/pubs/search/main.htm">Search</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/ada.htm">Accessibility</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/privacy/privacy_state.htm">Privacy statement</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/terms_of_use.htm">Terms of use</a>&nbsp;&nbsp;</div></span></td>';
footerHTML  += '         <td width="15%"></td>';
footerHTML  += '          <td width="25%" nowrap><div align="right"><span class="toplinks">1700 Broadway Ste 300, Denver CO 80290  &nbsp;|&nbsp; 303-894-2200 x6410 &nbsp;|&nbsp; <a href="mailto:licensing@sos.state.co.us">licensing@sos.state.co.us</a></div></span></td>';
footerHTML  += '        </tr>';
footerHTML  += '      </table>';	
document.write(footerHTML);
}

////////////////////////////////////////////////////////////////
// 2009 FOOTER - LICENSING - CHARITIES
////////////////////////////////////////////////////////////////
function writeCharitiesFooter() {
var footerHTML = '<table width="100%" height="10" border="0" bgcolor="#333333">';
footerHTML  += '        <tr>';
footerHTML  += '          <td width="25%" height="10" nowrap><div align="left"><span class="toplinks">&nbsp;<a href="http://www.sos.state.co.us/pubs/search/main.htm">Search</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/ada.htm">Accessibility</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/privacy/privacy_state.htm">Privacy statement</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/terms_of_use.htm">Terms of use</a>&nbsp;&nbsp;</div></span></td>';
footerHTML  += '         <td width="15%"></td>';
footerHTML  += '          <td width="25%" nowrap><div align="right"><span class="toplinks">1700 Broadway Ste 300, Denver CO 80290  &nbsp;|&nbsp; 303-894-2200 x6487 &nbsp;|&nbsp; <a href="mailto:charitable@sos.state.co.us">charitable@sos.state.co.us</a></div></span></td>';
footerHTML  += '        </tr>';
footerHTML  += '      </table>';	
document.write(footerHTML);
}

////////////////////////////////////////////////////////////////
// 2009 FOOTER - LICENSING - NOTARY
////////////////////////////////////////////////////////////////
function writeNotaryFooter() {
var footerHTML = '<table width="100%" height="10" border="0" bgcolor="#333333">';
footerHTML  += '        <tr>';
footerHTML  += '          <td width="25%" height="10" nowrap><div align="left"><span class="toplinks">&nbsp;<a href="http://www.sos.state.co.us/pubs/search/main.htm">Search</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/ada.htm">Accessibility</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/privacy/privacy_state.htm">Privacy statement</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/terms_of_use.htm">Terms of use</a>&nbsp;&nbsp;</div></span></td>';
footerHTML  += '         <td width="15%"></td>';
footerHTML  += '          <td width="25%" nowrap><div align="right"><span class="toplinks">1700 Broadway Ste 200, Denver CO 80290  &nbsp;|&nbsp; 303-894-2200 x6409 &nbsp;|&nbsp; <a href="mailto:notary@sos.state.co.us">notary@sos.state.co.us</a></div></span></td>';
footerHTML  += '        </tr>';
footerHTML  += '      </table>';	
document.write(footerHTML);
}

////////////////////////////////////////////////////////////////
// 2009 FOOTER - LICENSING - RULES
////////////////////////////////////////////////////////////////
function writeRulesFooter() {
var footerHTML = '<table width="100%" height="10" border="0" bgcolor="#333333">';
footerHTML  += '        <tr>';
footerHTML  += '          <td width="25%" height="10" nowrap><div align="left"><span class="toplinks">&nbsp;<a href="http://www.sos.state.co.us/pubs/search/main.htm">Search</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/ada.htm">Accessibility</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/privacy/privacy_state.htm">Privacy statement</a> &nbsp;|&nbsp; <a href="http://www.sos.state.co.us/pubs/info_center/terms_of_use.htm">Terms of use</a>&nbsp;&nbsp;</div></span></td>';
footerHTML  += '         <td width="15%"></td>';
footerHTML  += '          <td width="25%" nowrap><div align="right"><span class="toplinks">1700 Broadway Ste 300, Denver CO 80290  &nbsp;|&nbsp; 303-894-2200 &nbsp;|&nbsp; <a href="mailto:rules@sos.state.co.us">rules@sos.state.co.us</a></div></span></td>';
footerHTML  += '        </tr>';
footerHTML  += '      </table>';	
document.write(footerHTML);
}

///////////////////////////////////////////////////////////////////////////
// 2009 LEFT NAV - ADMIN/GENERAL
///////////////////////////////////////////////////////////////////////////
function writeAdminNav() {
var adminNavHTML = '<table width="137" class="leftnav">';
adminNavHTML  += '            <tr>';
adminNavHTML  += '              <td height="10"></td>';
adminNavHTML  += '            </tr>';
adminNavHTML  += '            <tr>';
adminNavHTML  += '              <td height="30"><a href="http://www.sos.state.co.us">Secretary of State Home</a></td>';
adminNavHTML  += '           </tr>';
adminNavHTML  += '            <tr>';
adminNavHTML  += '              <td height="30"><a href="http://www.sos.state.co.us/pubs/info_center/contact.html">Contact Us</a></td>';
adminNavHTML  += '            </tr>';
adminNavHTML  += '            <tr>';
adminNavHTML  += '              <td height="30"><a href="http://www.sos.state.co.us/pubs/info_center/about.htm">About Us</a></td>';
adminNavHTML  += '            </tr>';
adminNavHTML  += '            <tr>';
adminNavHTML  += '              <td height="30"><a href="http://www.sos.state.co.us/pubs/pressrel/index.html">Newsroom</a></td>';
adminNavHTML  += '            </tr>';
adminNavHTML  += '            <tr>';
adminNavHTML  += '              <td height="30"><a href="http://www.sos.state.co.us/pubs/search/main.htm">Search</a></td>';
adminNavHTML  += '            </tr>';
adminNavHTML  += '      </table>';
document.write(adminNavHTML);
}

////////////////////////////////////////////////////////////////
// 2009 LEFT NAV - BUSINESS
////////////////////////////////////////////////////////////////
function writeBizNav() {
var bizNavHTML = '<table width="137" class="leftnav">';
bizNavHTML  += '            <tr>';
bizNavHTML  += '              <td height="10"></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '            <tr>';
bizNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/business/main.htm">Business Home</a></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '			<tr>';
bizNavHTML  += '              <td height="12"></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '            <tr>';
bizNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/biz/BusinessFunctions.do">Business Information</a></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '            <tr>';
bizNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/biz/BusinessEntityCriteriaExt.do">Business Search</a></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '			<tr>';
bizNavHTML  += '              <td height="12"></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '            <tr>';
bizNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/business/ucc_30_save.htm">Secured Transactions e-File</a></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '            <tr>';
bizNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/business/ucc_forms.htm">Secured Transactions Forms</a></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '            <tr>';
bizNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/cgi-forte/fortecgi?serviceName=uccprodaccess&templateName=/sessauto/ucclogin_outer_form.forte">Secured Transactions Search</a></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '			<tr>';
bizNavHTML  += '              <td height="12"></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '            <tr>';
bizNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/business/FAQ_information.htm">FAQs, Glossary and Information</a></td>';
bizNavHTML  += '            </tr>';
bizNavHTML  += '      </table>';
document.write(bizNavHTML);
}

///////////////////////////////////////////////////////////////////////////
// 2009 LEFT NAV - ELECTIONS
///////////////////////////////////////////////////////////////////////////
function writeElectionsNav() {
var electionsNavHTML = '<table width="137" class="leftnav">';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="10"></td>';
electionsNavHTML  += '            </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.sos.state.co.us/pubs/elections/main.htm">Elections Home</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1247">Campaign Finance</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1272">Information for Candidates</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1286">GoVoteColorado.com</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1291">Help America Vote Act (HAVA)</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1297">Initiative Information</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1321">Lobbyists</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1331">NVRA Agency Information</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1334">Voting Systems</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.sos.state.co.us/pubs/info_center/SOS_Contacts_elections.html">Contact Elections Division</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1394">Elections Resources</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '            <tr>';
electionsNavHTML  += '              <td height="22"><a href="http://www.elections.colorado.gov/Default.aspx?PageMenuID=1474">About the Elections Division</a></td>';
electionsNavHTML  += '           </tr>';
electionsNavHTML  += '			  <tr>';
electionsNavHTML  += '              <td height="12"></td>';
electionsNavHTML  += '            </tr>';
electionsNavHTML  += '      </table>';
document.write(electionsNavHTML);
}

////////////////////////////////////////////////////////////////
// 2009 LEFT NAV - BINGO RAFFLES
////////////////////////////////////////////////////////////////
function writeBingoNav() {
var bingoNavHTML = '<table width="137" class="leftnav">';
bingoNavHTML  += '            <tr>';
bingoNavHTML  += '              <td height="10"></td>';
bingoNavHTML  += '            </tr>';
bingoNavHTML  += '            <tr>';
bingoNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/bingo.htm">Bingo-Raffles Home</a></td>';
bingoNavHTML  += '           </tr>';
bingoNavHTML  += '			  <tr>';
bingoNavHTML  += '              <td height="12"></td>';
bingoNavHTML  += '            </tr>';
bingoNavHTML  += '            <tr>';
bingoNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/ImageView/MainSearch.do?division=3">Search Bingo-Raffles Documents</a></td>';
bingoNavHTML  += '           </tr>';
bingoNavHTML  += '			  <tr>';
bingoNavHTML  += '              <td height="12"></td>';
bingoNavHTML  += '            </tr>';
bingoNavHTML  += '            <tr>';
bingoNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/bingo_how_to_apply.htm">Apply For Bingo-Raffles License</a></td>';
bingoNavHTML  += '           </tr>';
bingoNavHTML  += '			  <tr>';
bingoNavHTML  += '              <td height="12"></td>';
bingoNavHTML  += '            </tr>';
bingoNavHTML  += '            <tr>';
bingoNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/bingo_raffles_laws_rules.html">Laws and Rules</a></td>';
bingoNavHTML  += '           </tr>';
bingoNavHTML  += '			  <tr>';
bingoNavHTML  += '              <td height="12"></td>';
bingoNavHTML  += '            </tr>';
bingoNavHTML  += '            <tr>';
bingoNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/gamesmanager.html">Games Manager Training</a></td>';
bingoNavHTML  += '           </tr>';
bingoNavHTML  += '			  <tr>';
bingoNavHTML  += '              <td height="12"></td>';
bingoNavHTML  += '            </tr>';
bingoNavHTML  += '            <tr>';
bingoNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/bingo_fees.htm">Fees</a></td>';
bingoNavHTML  += '           </tr>';
bingoNavHTML  += '			  <tr>';
bingoNavHTML  += '              <td height="12"></td>';
bingoNavHTML  += '            </tr>';
bingoNavHTML  += '            <tr>';
bingoNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/bingoforms.html">Forms</a></td>';
bingoNavHTML  += '           </tr>';
bingoNavHTML  += '			  <tr>';
bingoNavHTML  += '              <td height="12"></td>';
bingoNavHTML  += '            </tr>';
bingoNavHTML  += '            <tr>';
bingoNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/faq_bingo_raffle.htm">FAQ</a></td>';
bingoNavHTML  += '           </tr>';
bingoNavHTML += '      </table>';
document.write(bingoNavHTML);
}

////////////////////////////////////////////////////////////////
// 2009 LEFT NAV - CHARITABLE SOLICITATIONS
////////////////////////////////////////////////////////////////
function writeCharitableNav() {
var charitableNavHTML = '<table width="137" class="leftnav">';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="10"></td>';
charitableNavHTML  += '            </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="28"><a href="http://www.sos.state.co.us/pubs/charities/charitable.htm">Charities Home</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="28"><a href="http://www.sos.state.co.us/ccsa/CcsaInquiryMain.do">Look Up a Charity</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="28"><a href="http://www.sos.state.co.us/pubs/charities/char_tools_for_charities.htm">Help & Info for Charities</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="28"><a href="http://www.sos.state.co.us/pubs/charities/char_tools_for_donors.htm">Help & Info for Donors</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="31"><a href="http://www.sos.state.co.us/pubs/charities/char_tools_for_fundraisers.htm">Help & Info for Fundraisers</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="48"><a href="http://www.sos.state.co.us/pubs/charities/char_create_account_main.htm">Register as Charity, Fundraiser or Consultant</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="28"><a href="http://www.sos.state.co.us/ccsa/Login.do">Login</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="28"><a href="http://www.sos.state.co.us/pubs/charities/char_forgot_pword_temp.htm">Forgot Password?</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="28"><a href="http://www.sos.state.co.us/pubs/charities/char_news_press.htm">News and Press Releases</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="28"><a href="http://www.sos.state.co.us/pubs/charities/annual_reports.htm">Annual Reports</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML  += '            <tr>';
charitableNavHTML  += '              <td height="28"><a href="http://www.sos.state.co.us/pubs/charities/char_contact_info.htm">Contact Charities Registration Staff</a></td>';
charitableNavHTML  += '           </tr>';
charitableNavHTML += '      </table>';
document.write(charitableNavHTML);
}

////////////////////////////////////////////////////////////////
// 2009 LEFT NAV - LICENSING
////////////////////////////////////////////////////////////////
function writeLicensingNav() {
var licensingNavHTML = '<table width="137" class="leftnav">';
licensingNavHTML  += '            <tr>';
licensingNavHTML  += '              <td height="10"></td>';
licensingNavHTML  += '            </tr>';
licensingNavHTML  += '            <tr>';
licensingNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/main.htm">Licensing Home</a></td>';
licensingNavHTML  += '           </tr>';
licensingNavHTML  += '			  <tr>';
licensingNavHTML  += '              <td height="12"></td>';
licensingNavHTML  += '            </tr>';
licensingNavHTML  += '            <tr>';
licensingNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/notary/notary_home.htm">Notary Public</a></td>';
licensingNavHTML  += '            </tr>';
licensingNavHTML  += '			  <tr>';
licensingNavHTML  += '              <td height="12"></td>';
licensingNavHTML  += '            </tr>';
licensingNavHTML  += '            <tr>';
licensingNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/charities/charitable.htm">Charities Registration</a></td>';
licensingNavHTML  += '            </tr>';
licensingNavHTML  += '			  <tr>';
licensingNavHTML  += '              <td height="12"></td>';
licensingNavHTML  += '            </tr>';
licensingNavHTML  += '            <tr>';
licensingNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/Welcome.do">Administrative Rules</a></td>';
licensingNavHTML  += '            </tr>';
licensingNavHTML  += '			  <tr>';
licensingNavHTML  += '              <td height="12"></td>';
licensingNavHTML  += '            </tr>';
licensingNavHTML  += '            <tr>';
licensingNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/bingo.htm">Bingo-Raffles Licensing</a></td>';
licensingNavHTML  += '            </tr>';
licensingNavHTML  += '      </table>';
document.write(licensingNavHTML);
}

////////////////////////////////////////////////////////////////
// 2009 LEFT NAV - NOTARY PUBLIC
////////////////////////////////////////////////////////////////
function writeNotaryNav() {
var notaryNavHTML = '<table width="137" class="leftnav">';
notaryNavHTML  += '            <tr>';
notaryNavHTML  += '              <td height="10"></td>';
notaryNavHTML  += '            </tr>';
notaryNavHTML  += '            <tr>';
notaryNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/notary/notary_home.htm">Notary Home</a></td>';
notaryNavHTML  += '           </tr>';
notaryNavHTML  += '			  <tr>';
notaryNavHTML  += '              <td height="12"></td>';
notaryNavHTML  += '            </tr>';
notaryNavHTML  += '            <tr>';
notaryNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/NotaryPublic/verifyNotarySearch.do">Verify a Notary</a></td>';
notaryNavHTML  += '           </tr>';
notaryNavHTML  += '			  <tr>';
notaryNavHTML  += '              <td height="12"></td>';
notaryNavHTML  += '            </tr>';
notaryNavHTML  += '            <tr>';
notaryNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/NotaryPublic/applyIntro.do">Become a Notary - First Time Applicant</a></td>';
notaryNavHTML  += '           </tr>';
notaryNavHTML  += '			  <tr>';
notaryNavHTML  += '              <td height="12"></td>';
notaryNavHTML  += '            </tr>';
notaryNavHTML  += '            <tr>';
notaryNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/NotaryPublic/register.do">Register for Online Access / Renew Notary Commission</a></td>';
notaryNavHTML  += '           </tr>';
notaryNavHTML  += '			  <tr>';
notaryNavHTML  += '              <td height="12"></td>';
notaryNavHTML  += '            </tr>';
notaryNavHTML  += '            <tr>';
notaryNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/NotaryPublic/login.do">Login</a></td>';
notaryNavHTML  += '           </tr>';
notaryNavHTML  += '			  <tr>';
notaryNavHTML  += '              <td height="12"></td>';
notaryNavHTML  += '            </tr>';
notaryNavHTML  += '            <tr>';
notaryNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/NotaryPublic/ResetPasswdFind.do">Forgot Password?</a></td>';
notaryNavHTML  += '           </tr>';
notaryNavHTML += '      </table>';
document.write(notaryNavHTML);
}

/////////////////////////////////////////////////////////////////////////////////
//  2009 LEFT NAV - RULES
//  rules.htm and admin.rules.htm
/////////////////////////////////////////////////////////////////////////////////
function writeRulesNav() {
var rulesNavHTML = '<table width="137" class="leftnav">';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="10"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/Welcome.do">Code of Colorado Regulations</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML  += '			  <tr>';
rulesNavHTML  += '              <td height="12"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/RegisterHome.do">Colorado Register</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML  += '			  <tr>';
rulesNavHTML  += '              <td height="12"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.michie.com/colorado/">Colorado Revised Statutes</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML  += '			  <tr>';
rulesNavHTML  += '              <td height="12"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/pages/CCRNumber-KeyWordSearchLeft.jsp">Search</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML  += '			  <tr>';
rulesNavHTML  += '              <td height="12"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/eDocketCriteria.do">eDocket</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML  += '			  <tr>';
rulesNavHTML  += '              <td height="12"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/pages/Login.jsp">Rulemaking Login</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML  += '			  <tr>';
rulesNavHTML  += '              <td height="12"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/CCR/rules.htm">Rulemaking Information</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML  += '			  <tr>';
rulesNavHTML  += '              <td height="12"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/CCR/CCR_view_rule_history.htm">Rule History</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML  += '			  <tr>';
rulesNavHTML  += '              <td height="12"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/bingo_raffles/lic_pending_legislation.htm">Legislation Affecting Administrative Rules</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML  += '			  <tr>';
rulesNavHTML  += '              <td height="12"></td>';
rulesNavHTML  += '            </tr>';
rulesNavHTML  += '            <tr>';
rulesNavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/pubs/CCR/contact_admin_rules.htm">Contact the Staff of the Administrative Rules Program</a></td>';
rulesNavHTML  += '           </tr>';
rulesNavHTML += '      </table>';
document.write(rulesNavHTML);
}

////////////////////////////////////////////////////////////////
// 2009 LEFT NAV - RULES LOGGED IN
////////////////////////////////////////////////////////////////
function writeRules2Nav(includeAdmin,includeAgency,includeAG,includeOLLS) {
var rules2NavHTML = '<table width="137" class="leftnav">';
rules2NavHTML  += '            <tr>';
rules2NavHTML  += '              <td height="10"></td>';
rules2NavHTML  += '            </tr>';
//If includeAdmin is "Y", then write the HTML for the Admin home link.
if (includeAdmin =="Y")  {
rules2NavHTML  += '            <tr>';
rules2NavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/Login.do">Administrative Rulemaking Home</a></td>';
rules2NavHTML  += '           </tr>';
}
//If includeAgency is "Y", then write the HTML for the Agency home link.
if (includeAgency =="Y")  {
rules2NavHTML  += '            <tr>';
rules2NavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/Login.do">Agency Rulemaking Home</a></td>';
rules2NavHTML  += '           </tr>';
}
//If includeAG is "Y", then write the HTML for the Attorney General home link.
if (includeAG =="Y")  {
rules2NavHTML  += '            <tr>';
rules2NavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/Login.do">Attorney General Rulemaking Home</a></td>';
rules2NavHTML  += '           </tr>';
}
//If includeOLLS is "Y", then write the HTML for the OLLS home link.
if (includeOLLS =="Y")  {
rules2NavHTML  += '            <tr>';
rules2NavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/Login.do">OLLS Rulemaking Home</a></td>';
rules2NavHTML  += '           </tr>';
}
rules2NavHTML  += '			  <tr>';
rules2NavHTML  += '              <td height="12"></td>';
rules2NavHTML  += '            </tr>';
rules2NavHTML  += '            <tr>';
rules2NavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/eDocketCriteria.do">eDocket</a></td>';
rules2NavHTML  += '           </tr>';
rules2NavHTML  += '			  <tr>';
rules2NavHTML  += '              <td height="12"></td>';
rules2NavHTML  += '            </tr>';
rules2NavHTML  += '            <tr>';
rules2NavHTML  += '              <td height="18"><a href="http://www.sos.state.co.us/CCR/pages/Logout.do">Rulemaking Logout</a></td>';
rules2NavHTML  += '           </tr>';
rules2NavHTML += '      </table>';
document.write(rules2NavHTML);
}

////////////////////////////////////////////////////////////////
// Pulling Javascript code for loading images in an array. 
////////////////////////////////////////////////////////////////

function buildImagesArray() {

	if ((navigator.appVersion.substring(0,1) >= 3) && 
	    (navigator.appName == ("Netscape") || 
	    (navigator.appName == "Microsoft Internet Explorer"))) {

	     offImages = new Array();
	     onImages = new Array();
	     for (var i = 0; i<= 4; i++) {
	          offImages[i] = new Image();
	          offImages[i].src = "images/nav/n" + i + "d.gif";
	          onImages[i] = new Image();
	          onImages[i].src = "images/nav/n" + i + "s.gif";
	     }
	}

}

