$(document).ready(function(){

$('#slideshow').cycle({ 
    delay:  2500, 
    speed:  750
}); 

$(function() {
	if ($.browser.mozilla && parseFloat($.browser.version) < 1.9 && navigator.appVersion.indexOf('Mac') !== -1) $('body').css('-moz-opacity',.999);

	$('#menu, #menu-main-nav').supersubs({
		minWidth:    12,
		maxWidth:    27,
		extraWidth:  1
	}).superfish();	
	
});

$('a.email_replace_low').nospam({
  replaceText: true,
  filterLevel:'low'
});

$(function(){
	$(".tips").tipTip({maxWidth: "200px", defaultPosition: "top" });
});

$("ul.social li a").fadeTo(0, 0.5); // This sets the opacity of the thumbs to fade down to 60% when the page loads

$("ul.social li a").hover(function(){
$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo("fast", 0.5); // This should set the opacity back to 60% on mouseout
});

});
