/* See if any stories lack a "fullpost" span, meaning it is displayed on the front page in full.
 * If so, find and remove the "Read more.." span.
 */
function check_shorties()
{
  for(var divs = document.getElementsByTagName('div'), a = 0; a < divs.length; a++)
  {
    if(divs[a].className == 'blogPost')
    {
      if(divs[a].innerHTML.search("fullpost") == -1)
      {
        for(var spans = divs[a].getElementsByTagName('span'), c = 0; c < spans.length; c++)
        {
          if(spans[c].className == 'readMore')
          {
          	spans[c].style.display = 'none';
          }
        }
      }
    }
  }
}

/* onChange for the archive "select" list will go right to the url */
function dropdown(mySel)
{
  var myWin, myVal;
  myVal = mySel.options[mySel.selectedIndex].value;
  if(myVal)
  {
    if(mySel.form.target)myWin = parent[mySel.form.target];
    else myWin = window;
    if(!myWin) return true;
    myWin.location = myVal;
    }
    return false;
}