$(document).ready(function() {

        /*
 * jQuery Timer Plugin
 * http://www.evanbot.com/article/jquery-timer-plugin/23
 *
 * @version      1.0
 * @copyright    2009 Evan Byrne (http://www.evanbot.com)
 */

jQuery.timer = function(time,func,callback){
	var a = {timer:setTimeout(func,time),callback:null}
	if(typeof(callback) == 'function'){a.callback = callback;}
	return a;
};

jQuery.clearTimer = function(a){
	clearTimeout(a.timer);
	if(typeof(a.callback) == 'function'){a.callback();};
	return this;
};


    


      var timer = $.timer(2000,
                          function()
                          {
                            $("#jquery-background").fadeTo(1,0,function(){$(this).toggle().fadeTo(3000,1);});
                            $.clearTimer(timer);
                          });


$("a").click(function(){
  if($(this).attr("title")=="About")
  {
    $("#about").fadeIn("fast");
    return false;
  }
  else if($(this).attr("title")=="Close")
  {
    $("#about").fadeOut("fast");
    return false;
  }
  return true;
});

    });
