$(function() {	
	// Mid Section Blog Twitter Tabs
    $('ul.Tabs').tabs('div.TabContentWrapper > div', {
        current: 'Selected',
        effect: 'fade',
        fadeInSpeed: 1000,
        history: false
    });
/*	
    $('ul.Stats li.One a').tooltip({
        relative: true,
        offset: [92, 80],
        predelay: 200
    });
    $('ul.Stats li.Two a, ul.Stats li.Three a').tooltip({
        relative: true,
        position: 'center center',
        predelay: 200
    });
    $('ul.Stats li.Four a').tooltip({
        relative: true,
        offset: [92, -40],
        predelay: 200
    });
*/
	$('ul.Stats li.One a').mouseover(
	function() {	
		$('.One .StatPop').css({
			'position' : 'absolute',
			'top' : -25,
			'left' : 10
		}).show();
		$('.One .StatPop').mouseover(
		function() {
			$(this).show();
		});
	});
	$('.One .StatPop').mouseout(	
	function() {
		$(this).hide();
	});
	
	$('ul.Stats li.Two a').mouseover(
	function() {	
		$('.Two .StatPop').css({
			'position' : 'absolute',
			'top' : -25,
			'left' : 220
		}).show();
		$('.Two .StatPop').mouseover(
		function() {
			$(this).show();
		});
	});
	$('.Two .StatPop').mouseout(	
	function() {
		$(this).hide();
	});
	
	$('ul.Stats li.Three a').mouseover(
	function() {	
		$('.Three .StatPop').css({
			'position' : 'absolute',
			'top' : -25,
			'left' : 460
		}).show();
		$('.Three .StatPop').mouseover(
		function() {
			$(this).show();
		});
	});
	$('.Three .StatPop').mouseout(	
	function() {
		$(this).hide();
	});
	
	$('ul.Stats li.Four a').mouseover(
	function() {	
		$('.Four .StatPop').css({
			'position' : 'absolute',
			'top' : -25,
			'left' : 700
		}).show();
		$('.Four .StatPop').mouseover(
		function() {
			$(this).show();
		});
	});
	$('.Four .StatPop').mouseout(	
	function() {
		$(this).hide();
	});
    //$.preLoadImages('/img/v1/dropdown.arrow.left.png', '/img/v1/dropdown.arrow.right.png', '/img/v1/midsection.stat.pop.bg.png')
});
