// Create the dataset as needed

// Note that jquery.flot.js was modified in order
// to include the 'xaxis' class addition with the tickLabel
// This gives us the ability to separate the components

$(document).ready(function()
{

  // Handle when the user changes the graph
  $('.graphChange').click( function()
  {
    // Get the HREF
    var href = $(this).attr( 'href' );

    // Trim the identifier and process
    href = href.substr( 1 );

    // Upadte the iFrame
    $('#graphFrame').attr( 'src', 'modules/Graphs/graph.php?g=' + href );

  }); // end graphChange

}); // end document.ready

