Added login and credentials JSON API for some... upcoming new features.
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';
}
}