jQuery.preloadImages = function()
{
for(var i = 0; i<arguments.length; i++)
jQuery("<img>").attr("src", arguments[i]);
}
jQuery.preloadImages("twitter.png", "facebook.png", "RSS.png", "twittero.png", "facebooko.png", "RSSo.png");

jQuery(document).ready(function(){
 
$("#iconos li a").hover(
function(){
var iconName = $(this).children("img").attr("src");
var origen = iconName.split(".png")[0];
$(this).children("img").attr({src: "" + origen + "o.png"});
$(this).animate({ width: "140px" }, {queue:false, duration:"normal"} );
$(this).children("span").animate({opacity: "show"}, "fast");
},
function(){
var iconName = $(this).children("img").attr("src");
var origen = iconName.split("o.")[0];
$(this).children("img").attr({src: "" + origen + ".png"});
$(this).animate({ width: "38px" }, {queue:false, duration:"normal"} );
$(this).children("span").animate({opacity: "slide"}, "fast");
});
});



jQuery(document).ready(function(){
 
$("#iconos2 li a").hover(
function(){
var iconName = $(this).children("img").attr("src");
var origen = iconName.split(".png")[0];
$(this).children("img").attr({src: "" + origen + "o.png"});
$(this).animate({ width: "140px" }, {queue:false, duration:"normal"} );
$(this).children("span").animate({opacity: "show"}, "fast");
},
function(){
var iconName = $(this).children("img").attr("src");
var origen = iconName.split("o.")[0];
$(this).children("img").attr({src: "" + origen + ".png"});
$(this).animate({ width: "38px" }, {queue:false, duration:"normal"} );
$(this).children("span").animate({opacity: "slide"}, "fast");
});
});