$(document).ready(function() {	
	$(".footernav  li:last").css("border-right", "0");
	$(".contact_table tbody tr:even td").css("background-color", "#ffffff");
	$(".contact_table tbody tr:odd td").css("background-color", "#f3f3f3");
	$(".contact_table").tablesorter(); 	
	
	 
	/////////////////////////////////////////////
	// Scroll to top 							
	/////////////////////////////////////////////
	$('.back-top a').click(function () {
		$('body,html').animate({
			scrollTop: 0
		}, 800);
		return false;
	});

	
	/////////////////////////////////////////////
	// TOOLTIP 							
	/////////////////////////////////////////////

	$('.toolsItem a').qtip({
	      content:  {
	      attr: 'title'
	   },
	      position: {
	         my: 'top center',
	         target: 'mouse',
	         viewport: $(window), // Keep it on-screen at all times if possible
	         adjust: {
	            x: 5,  y: 20
	         }
	      },
	      hide: {
	         fixed: true // Helps to prevent the tooltip from hiding ocassionally when tracking!
	      },
	      style: 'ui-tooltip-shadow ui-tooltip-rounded'
	   });
	   
	$('.frontpageIngress a').qtip({
	      content:  {
	      attr: 'title'
	   },
	      position: {
	         my: 'bottom center',
	         target: 'mouse',
	         viewport: $(window), // Keep it on-screen at all times if possible
	         adjust: {
	            x: 5,  y: -20
	         }
	      },
	      hide: {
	         fixed: true // Helps to prevent the tooltip from hiding ocassionally when tracking!
	      },
	      style: 'ui-tooltip-shadow ui-tooltip-rounded'
	   });
	   
	  $('.frontpageText a').qtip({
	      content:  {
	      attr: 'title'
	   },
	      position: {
	         my: 'bottom center',
	         target: 'mouse',
	         viewport: $(window), // Keep it on-screen at all times if possible
	         adjust: {
	            x: 5,  y: -20
	         }
	      },
	      hide: {
	         fixed: true // Helps to prevent the tooltip from hiding ocassionally when tracking!
	      },
	      style: 'ui-tooltip-shadow ui-tooltip-rounded'
	   });
 
   


});
