function head()
{
document.write('<div id="container"><div id="inset">')
document.write('<img src="images/header.jpg">')
document.write('<div id="menu"> ')
document.write('<img src="images/spacer.gif" width="500" height="1">')
document.write('<img src="images/menu_line.gif" style="vertical-align: -4px;">')
document.write('<!-- Menu Items -->')
document.write('<img src="images/spacer.gif" width="10" height="1">')
document.write('<a href="http://www.lawflaw.com/">HOME</a>')
document.write('<img src="images/spacer.gif" width="10" height="1">')
document.write('<img src="images/menu_line.gif" style="vertical-align: -4px;">')
document.write('<img src="images/spacer.gif" width="10" height="1">')
document.write('<a href="mailto:webmaster@lawflaw.com">Contact</a>')
document.write('<img src="images/spacer.gif" width="10" height="1">')
document.write('<img src="images/menu_line.gif" style="vertical-align: -4px;">')
document.write('</div> <!-- End of "menu" -->')
document.write('<img src="images/header2.jpg">')
document.write('<div id="buttons">')
document.write(' <img src="images/button_header.gif"><br>')
document.write(' <a href="lawflaw.html" onMouseOut="restore()" onMouseOver="swap( &#39;button_1&#39;, &#39; &#39;, &#39;images/button_1_shift.gif&#39;,1)"><img name="button_1" src="images/button_1.gif" width="176" height="36" border="0" alt=""></a><br>')
document.write(' <a href="betterlaw.html" onMouseOut="restore()" onMouseOver="swap( &#39;button_2&#39;, &#39; &#39;, &#39;images/button_2_shift.gif&#39;,1)"><img name="button_2" src="images/button_2.gif" width="176" height="36" border="0" alt=""></a><br>')
document.write(' <a href="homelemonlaw.html" onMouseOut="restore()" onMouseOver="swap( &#39;button_3&#39;, &#39; &#39;, &#39;images/button_3_shift.gif&#39;,1)"><img name="button_3" src="images/button_3.gif" width="176" height="36" border="0" alt=""></a><br>')
document.write(' <a href="legislators.html" onMouseOut="restore()" onMouseOver="swap( &#39;button_4&#39;, &#39; &#39;, &#39;images/button_4_shift.gif&#39;,1)"><img name="button_4" src="images/button_4.gif" width="176" height="36" border="0" alt=""></a><br>')
document.write(' <a href="otherstates.html" onMouseOut="restore()" onMouseOver="swap( &#39;button_5&#39;, &#39; &#39;, &#39;images/button_5_shift.gif&#39;,1)"><img name="button_5" src="images/button_5.gif" width="176" height="36" border="0" alt=""></a><br>')
document.write(' <a href="news.html" onMouseOut="restore()" onMouseOver="swap( &#39;button_6&#39;, &#39; &#39;, &#39;images/button_6_shift.gif&#39;,1)"><img name="button_6" src="images/button_6.gif" width="176" height="36" border="0" alt=""></a><br>')
document.write(' <a href="resources.html" onMouseOut="restore()" onMouseOver="swap( &#39;button_7&#39;, &#39; &#39;, &#39;images/button_7_shift.gif&#39;,1)"><img name="button_7" src="images/button_7.gif" width="176" height="36" border="0" alt=""></a><br>')
document.write('</div> <!-- End of "buttons" -->')
}

function foot()
{
document.write('<div id="footer">')
document.write('<br>Copyright 2004 lawflaw.com')
document.write('</div> <!-- End of "footer" -->')
document.write('</div><br><p></p></div> <!-- End of "inset" and "container" -->')
}

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

function find(n, d) 
{ 
  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=find(n,d.layers[i].document);
  if(!x && d.getElementById) 
    x=d.getElementById(n); 
  return x;
}

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

