/**
 * 
 */


/*********************
***** widgetLeloSearch
*********************/

jQuery(document).ready(function() {
	var div = jQuery('form#widgetLeloSearch .campo').parent().parent('div');
	var width = div.width() - 40;
	jQuery('form#widgetLeloSearch .campo').css('width',width);
	jQuery('form#widgetLeloSearch .campo').focus(function() {
		if(jQuery(this).attr('value') == jQuery(this).attr('alt')){
			jQuery(this).attr('value', '');
		}
	});
	jQuery('form#widgetLeloSearch .campo').blur(function() {
		if(jQuery(this).attr('value') == ''){
			jQuery(this).attr('value', jQuery(this).attr('alt'));
		}
	});
});

/*********************
***** widgetLeloLinks
*********************/

jQuery().ready(function() {
	jQuery('.widget ul li a').hover(function(){
		jQuery(this).stop().animate({paddingLeft:'10px', opacity:0.7},{queue:false,duration:500});
		},function(){
		jQuery(this).stop().animate({paddingLeft:'0', opacity:1},{queue:false,duration:500});
	});
});

/*********************
***** widgetLeloRedesSociais
*********************/

jQuery().ready(function() {
	jQuery('#widgetLeloRedesSocias img').hover(function(){
		jQuery(this).stop().animate({paddingLeft:'10px'},500);
		},function(){
		jQuery(this).stop().animate({paddingLeft:'0px'},500);
	});
});

