/***************************************************
			CUSTOM
***************************************************/

jQuery.noConflict()(function($){
$(document).ready(function() {

	  /*---- TABLE EVEN ROW BG ----*/	  
	   $('table.even tr:nth-child(even)').css( 'background', '#fdfdfd');
	   
	  /*---- SERVICES LAST BLOCK NO MARGIN ----*/
	  $('ul#services li:last-child').css('margin-right', '0px');    
	  
	  /*---- SERVICES BOX SHADOW ON HOVER ----*/
	/*  $('ul#services li').hover(
	  	function() {
			$(this).animate({boxShadow: '0 0 3px rgba(13,170,206,.4)'}); 

	  	},
  	
	  	function() {
			$(this).animate({boxShadow: '0 0 0px #0daace'}); 
	  	}
	  );
	  */
	  /*---- TOOLTIPS ----*/
	  $('.who-we-are-right ul li img[title],.user img[title]').tipsy({opacity:1,fade: true, gravity: 's'});
	  $('#to-top').tipsy({opacity:1,fade: true, gravity: 's'});  
  	  $('.gravatar img[title]').tipsy({opacity:1,fade: true, gravity: 's'});  
  	  $('#foot-social li img[title]').tipsy({opacity:1,fade: true, gravity: 's'});    	  
	  $('.post-social ul li a img[title]').tipsy({opacity:1,fade: true, gravity: 's'});  	  
	  
	  /*---- TO TO ARROW ----*/
      $('#to-top').click(function() {
		    $(window.opera ? 'html' : 'html, body').animate({
		        scrollTop: 0
		    }, 'slow');
		});
	
	  /*---- TWITTER ----*/
	  $(".tweet").tweet({
        	count: 1,
        	query: "newportsales",
        	loading_text: "cargando twitter..."      
		});
	  
	 });
});



/***************************************************
			SUPER FISH MENU
***************************************************/
jQuery.noConflict()(function($){
$(document).ready(function() {
   $("ul.sf-menu").superfish({ 
            pathClass:  'current',
			autoArrows	: false,
			delay:300,
			speed: 'normal',
			animation:   {height:'show'}

        }); 


    });
});


