
function wipe() {
  $("#details").stop(true,true);
  $("#details").queue(function() { $(this).fadeOut(800); $(this).dequeue(); } );

  if ( $.browser.msie ) {
	setTimeout("retain()", 700);
  }
}

function retain() {
    document.getElementById("details").innerHTML="&nbsp;";
    $("#details").queue(function() { $(this).fadeIn(1); $(this).dequeue(); } );
}

function summary($obj) {
  $("#details").stop(true,true);
  $("#details").queue(function() { $(this).fadeOut(0); $(this).dequeue(); } );
  $output = document.getElementById("details");

  $output.innerHTML="<span class='detail_title'>" + $obj.innerHTML+"</span><br/><br/>";
  $text="";
  $date="";

  switch ($obj.innerHTML) {
  case "curving space":
  $date="2011"; $text="my blog of science, philosophy, and random banter."; break;
  case "data shield":
  $date="2011";$text="utility to send secure messages between two parties. messages are encrypted using an advanced key and password based algorithm, and are available seven days before they are deleted."; break;
  case "the seven horcruxes":
  $date="2010";$text="virtual tour of hogwarts castle from harry potter book series. models built in autodesk maya."; break;
  case "wedding":
  $date="2011";$text="info and links relating to my wedding."; break;
  case "imbibe me":
  $date="2010";$text="landing page for an abandoned social networking hub."; break;
  case "antifinite":
  $date="2010";$text="landing page for antifinite.com"; break;
  case "microgravity":
  $date="2007";$text="information relating to the fairfield university flight team for nasa's microgravity university."; break;
  case "portfolio":
  $date="2008";$text="e-portfolio of my major projects and hobbies during college."; break;
  case "agi":
  $date="2010";$text="trainging facility for my artifical intelligence learning machine."; break;
  case "repository":
  $date="2006";$text="storage area for public files referenced from other web pages, or else posted for friends / family to download."; break;
  case "vocabulary":
  $date="2009";$text="tool to learn vocabulary words commonly seen on the gre."; break;
  case "blackjack":
  $date="2011";$text="practice form to learn the hi-low card counting basic strategy chart."; break;
  case "holdem simulator":
  $date="2009";$text="a java-based odds calculator for use with texas holdem."; break;
  case "hi-low count":
  $date="2009";$text="a flash-card like utility to practice keeping the hi-low count in blackjack."; break;
  case "youtube":
  $date="2011";$text="my youtube channel."; break;
  case "twitter":
  $date="2010";$text="my twitter page."; break;
  
  default:
      break;  
   }

   $output.innerHTML += $text + "<br/><br/>updated: "+$date;
   $("#details").queue(function() { $(this).fadeIn(200); $(this).dequeue(); } );

   $("#details").animate( { marginTop: (tempY-120)+'px' }, 'slow' );
}  

