var iconStatus = new Array();
$(document).ready(function () {
  $(".animate").each(function () {
    var type = $(this).attr('id');
    iconStatus[type] = false;
  });
});
$(".animate").mouseenter(
  function () {
    var type = $(this).attr("id");
    if (iconStatus[type] === false) {
      var image = "#" + type + " .aniimg";
      $(image).attr("src", "http://media.mirwin.net/images/iconanimate/" + type + ".gif");
      $.doTimeout(type + "_timeout", 3000, function() {
        $(image).attr("src", "http://media.mirwin.net/images/new_icons/" + type + ".png");
        iconStatus[type] = false;
      });
      iconStatus[type] = true;
    }
  }
);

