//PRINT PAGE
var gAutoPrint = true; // Flag for whether or not to automatically call the print function
function setActiveStyleSheet(title) 
{
   var i, a, main;
   for(i=0; (a = document.getElementsByTagName("link")[i]); i++) 
   {
      if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) 
      {
         a.disabled = true;
         if(a.getAttribute("title") == title) 
            a.disabled = false;
      } 
   }
}
function printSpecial()
{   
   setActiveStyleSheet("2");
   var loc = location.href
   if (document.getElementById != null)
   {
      var html = "";
     
      
      var printReadyElem = document.getElementById("printReady");
     
      if (printReadyElem != null)
      {

          html += '<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">';
          html += '<tr><td align="center"><img src="/images/banner_red_sm.gif" width="600" height="95"></td></tr>';
          html += '<tr><td>&nbsp;</td></tr>';
          html += '<tr><td class="breadcrumb">URL: <a href="'+loc+'">'+loc+'</a></td></tr>';
          html += '<tr><td>&nbsp;</td></tr><tr><td>'; 
          html += printReadyElem.innerHTML;
          html += '</td></tr></table>';
          html += '<div align="center">';
          html += '<table width="756" border="0" cellspacing="0" cellpadding="0">';
          html += '<tr><!-- FOOTER --><td width="145">&nbsp;</td><td width="451" align="center" id="footer"><P align=center>&#169; ACLU, 125 Broad Street, 18th Floor New York, NY 10004 <BR>This is the Web site';
          html += 'of the American Civil Liberties Union and the ACLU Foundation.<BR><A href="javascript:void window.open(\'http://www.aclu.org/acluf.html\',\'AddrBook\', \'width=540,height=510,location=no,directories=no,status=no,menuBar=no,scrollBars=yes,resizable=no,left=50,top=20\')">Learn more</A> about the distinction between these two components of the ACLU.';
          html += '</P><P align=center></P><P align=center><A href="/info/18863res20050401.html">User Agreement</A> | <A href="/info/18864res20050401.html">Privacy Statement</A> | <A href="/about/faqs/index.html">FAQs</A> | <A href="/sitemap/index.html">Site Map</A></P>';
          html += '<!-- BEGIN: NetTracker Page Tag -->';
          html += '<!-- Copyright 2004 Sane Solutions, LLC. All rights reserved. -->';
          html += '<SCRIPT language=JavaScript src="https://www.aclu.org/ntpagetag.js"></SCRIPT><NOSCRIPT><IMG height=1 alt="" hspace=0 src="https://www.aclu.org/ntpagetag.gif?js=0" width=1 border=0></NOSCRIPT>';
          html += '<!-- END: NetTracker Page Tag --></td><td width="160">&nbsp;</td></tr></table>';
          html += '</div>';        
      }
      else
      {
         alert("Could not find the printReady section in the HTML, Please contact Page Owner");
         return;
      }
       
     document.getElementById("print").innerHTML = html;
     document.getElementById("wholePage").style.visibility = "hidden";
     document.getElementById("wholePage").style.display = "none";
   }   
   else
   {
      alert("Sorry, the print ready feature is only available in modern browsers.");
   }
}