﻿

$(document).ready(function() {

   
    $('#articleCycle').cycle({
        fx: 'blindX',
        speed: 600,
        delay: 900,
        pause: 3,
        timeout: 8500

    });

    // Stacking fix for all jQuery UI - (display:none) must be set on each of the CSS selectors below 
    $(".healthyHighlightsWrap").show()
    $(".articleCycleContent").show()
    $("#coldFluTab").show()

    // Cycle Tips
    $('#featuredTips').cycle({
       //fx: 'slideX',
        prev: '#prevTip',
        next: '#nextTip',
        speed: 150,
        timeout: 0
    });

    
    // Global: External Links
    $('A[rel="external"]').click(function() {
        window.open($(this).attr('href'));
        return false;
    });


    $('#coldFluTab').tabs({ fxFade: true, fxSpeed: 'fast' });

});

// Forces Tabs to begin with 1 


$(function() {
    $('#coldFluTab > ul').tabs({ selected: 1 });

});