$(document).ready(function(){
	$(".boton").corner("round 8px").parent().css('padding', '2px').corner("round 8px")
	$(".botonDcha").corner("round 8px").parent().css('padding', '2px').corner("round 8px")
    peps.rollover.init();
	/*$('#logoRoll').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '81px' }); 
	$('#logoRoll2').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '81px' }); 
	$('#logoRoll3').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '81px' }); 
	$('#logoRoll4').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '81px' });
	$('#logoRoll5').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '81px' }); 
	$('#logoRoll6').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '81px' }); */
});
peps = {};
peps.rollover = {
   init: function() {
      this.preload();
      $(".roll").hover(
         function () { $(this).attr( 'src', peps.rollover.newimage($(this).attr('src')) ); },
         function () { $(this).attr( 'src', peps.rollover.oldimage($(this).attr('src')) ); }
      );
   },
preload: function(){
      $(window).bind('load', function() {
         $('.roll').each( function( key, elm ) { $('<img>').attr( 'src', peps.rollover.newimage( $(this).attr('src') ) ); });
      });
   },
   newimage: function( src ) {
      return src.substring( 0, src.search(/(\.[a-z]+)$/) ) + '_hover' + src.match(/(\.[a-z]+)$/)[0];
   },
   oldimage: function( src ){
      return src.replace(/_hover\./, '.');
   }
};
// alert('x');  