function link(url) {
 location.href = url;
}

(function($) {
  var cache = [];
  // Arguments are image paths relative to the current page.
  $.preLoadImages = function() {
    var args_len = arguments.length;
    for (var i = args_len; i--;) {
      var cacheImage = document.createElement('img');
      cacheImage.src = arguments[i];
      cache.push(cacheImage);
    }
  }
})(jQuery)
 
// Usage
jQuery.preLoadImages("http://www.aipo.com/img/layout/image1.gif", "http://www.aipo.com/img/layout/menu.gif", "http://www.aipo.com/img/layout/menu_portal.gif");


$(function(){
     $(".tooltip a").hover(function() {
        $(this).next("span").animate({opacity: "show", top: "-50"}, "slow");}, function() {
               $(this).next("span").animate({opacity: "hide", top: "-85"}, "fast");
     });
});
