$(document).ready(function(){
	$("#listparent").bind("mouseover", function(){
		$("#list").show();
	}).bind("mouseout", function(){
		$("#list").hide();
	});
  $.fn.wait = function(time, type) {
      time = time || 100;
      type = type || "fx";
      return this.queue(type, function() {
          var self = this;
          setTimeout(function() {
              $(self).dequeue();
          }, time);
      });
  };
  function runIt() {
    $("#new_year").wait()
            .animate({"opacity": 0.1},2000)
            .wait()
            .animate({"opacity": 1},1500,runIt);
    }
    runIt();
});

