/*
 * script.js
 * Core script routines for the new TwiceTwo design
 * Andy Clifton
 * 11-08
 */

// This will be redefined via conditional comment to actually do the fix, 
// if needed (i.e., on IE <= 6).
function fixIE6SelectionBug()
{
  
}
 
// Run when the page is loaded.
function init()
{  
  fixIE6SelectionBug();

  // img.footMark is the footnote button. span.footNote is the text
  $("img.footMark").click(function(){
    $(this).hide();
    $(this).next().show();
  });

  // Hidden by default.
  $("span.footNote").hide().click(function(){
    $(this).hide();
    $(this).prev().show();
  });
}

// Register onload function.
$(document).ready(init);
