themes/iphone/expand.js
author Dan
Mon, 01 Sep 2008 16:51:13 -0400
changeset 44 92dd253f501c
parent 5 9b96265b5918
permissions -rw-r--r--
First shot at getting a session management system in place. Login and logout pages are there, and auth seems to be working and sufficiently secure for the moment. Sessions last indefinitely and are cookie-based.

function expand_track(tid)
{
  var div = document.getElementById('track_inner_' + tid);
  if ( div.style.display == 'block' )
  {
    div.style.display = 'none';
  }
  else
  {
    div.style.display = 'block';
  }
}