  jQuery(document).ready(function () {
	jQuery('#weather-widget').weatherfeed(['USSC0051']);
});

jQuery(document).ready(function(){
jQuery('#sliderContent').cycle({ 
fx:     'scrollHorz', 
speed:   500, 
timeout: 10000, 
next:   '#next', 
prev:   '#prev',
pause: 1

});
});



jQuery(document).ready(function(){
jQuery('#ads').cycle({ 
fx: 'fade', 
speed: 1000,
timeout: 10000,
random: 1,
pause: 1
});
});



jQuery(document).ready(function(){
jQuery('#home #nav-home, #features #nav-features, #shopping #nav-shop, #faq #nav-faq, #recipes #nav-recipes, #first #nav-first, #calendar #nav-calendar, #events #nav-calendar, #sights #nav-sights, #advertise #nav-advertise, #tidechart #nav-tides, #mapguide #nav-map, #attractions #nav-play, #golf #nav-golf, #accommodations #nav-stay, #dining #nav-eat, #ebookguide #nav-ebook, #mapguide #nav-map, #contact #nav-contact, #subscribe #nav-subscribe, #about #nav-about, #contact #nav-contact, #services #nav-services, #education #nav-educate').addClass('current');
});

jQuery(document).ready(function(){
jQuery('.entry:last-child').css('border-bottom', 'none');
});

jQuery(document).ready(function(){
jQuery('#tides td:first-child').css('font-weight', 'bold');
});

//jQuery(document).ready(function() {
//jQuery("#tides tr").hover(
//function() {
//jQuery(this).css({ "background-color": "#ffffdd" });
//},
//function() {
//jQuery(this).css({ "background-color": "#ffffff" });
//});
//});


jQuery(document).ready(function(){
jQuery(".photo").append("<span class='frame'></span>");
});
 

jQuery(function() {
jQuery("#accordion").accordion({
autoHeight: false,
collapsible: true
});
});

jQuery(document).ready(function(){
jQuery('#calendar').tabs();
});

jQuery(document).ready(function(){
jQuery('#advertise').tabs();
});

jQuery(document).ready(function(){
jQuery('#about').tabs();
});

jQuery(document).ready( function() {
jQuery('A[rel="external"]').addClass("external").click( function() {
window.open( jQuery(this).attr('href') );
return false;
});
});



jQuery(document).ready(function(){
jQuery('.entrymeta').hide();
jQuery('.box').hover(function() {
jQuery('.entrymeta', this).fadeIn();
    }, function () {
jQuery('.entrymeta', this).fadeOut();
    });
});

jQuery(document).ready(function(){
	jQuery("#slickbox").hide();
	jQuery("span.hide").hide();
    jQuery("a#slick-toggle").click(function (event) {
    jQuery("#slickbox").slideToggle(400);
    jQuery("span.show").slideToggle();
    jQuery("span.hide").slideToggle();
        return false;
    });
});
  
  
//jQuery(document).ready(function() {
//    jQuery("a[href$='.pdf']:not('#ebookguide a')").each(function(){
 //       jQuery(this).attr('href', 'http://docs.google.com/viewer?url=' + jQuery(this).attr('href'));
//    });
//});​

jQuery(function() {
jQuery("#affiliates").css("opacity","0.6");
		
jQuery("#affiliates").hover(function () {
										  
jQuery(this).stop().animate({
opacity: 1.0
}, "normal");
},
		
function () {
jQuery(this).stop().animate({
opacity: 0.6
}, "normal");
});
});

// this tells jquery to run the function below once the DOM is ready
jQuery(document).ready(function() {

// choose text for the show/hide link
var showText="Read more [+]";
var hideText="Read less [-]";

// create the toggle link
jQuery("#hide_this").after("<p><a href='#' id='toggle_link'>"+showText+"</a></p>");

// hide the content
jQuery('#hide_this').hide();

// capture clicks on the newly created link
jQuery('a#toggle_link').click(function() {

// change the link text
if (jQuery('a#toggle_link').text()==showText) {
jQuery('a#toggle_link').text(hideText);
}
else {
jQuery('a#toggle_link').text(showText);
}

// toggle the display
jQuery('#hide_this').slideToggle('slow');

// return false so any link destination is not followed
return false;
});

});





