$(document).ready(function() {

$("ul#menu").supersubs({ 
	minWidth:    10,  
	maxWidth:    15,
	extraWidth:  2

});

$('ul#menu').superfish({ 
	delay:       1000,                           // one second delay on mouseout 
	animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
	speed:       'fast',                          // faster animation speed 
	autoArrows:  false,                           // disable generation of arrow mark-up 
	dropShadows: false,
	cleartype: 1                         
});

/*
$("ul#menu").supersubs({
            minWidth:    10,   // minimum width of sub-menus in em units 
            maxWidth:    15,   // maximum width of sub-menus in em units 
            extraWidth:  10     // extra width can ensure lines don't sometimes turn over 
                               // due to slight rounding differences and font-family 
        }).superfish();  // call supersubs first, then superfish, so that subs are 
                         // not display:none when measuring. Call before initialising 
                         // containing tabs for same reason. 
*/
	
$('#slideshow').cycle({ 
fx: 'fade',
speed:1000,
timeout: 8000,
cleartype:  1, // enable cleartype corrections 
prev:   '#prev1', 
next:   '#next1'
});


//addthis.button(".atbutton");

});

/*
$(document).ready(function() {

Cufon.replace('h2', { fontFamily: 'BrandonGrotesque-Light', hover: true });

Cufon.replace('h2');
*/

//$("#become-a-member").dropShadow();

//$("#become-a-member").dropShadow({left: 0, top: 0, opacity: 0.8, blur: 3});



//Cufon.replace('a#become-a-member', { fontFamily: 'Brandon Grotesque Black', fontWeight: "500", hover: true });

/*
Cufon.replace('h2', { fontFamily: 'BrandonGrotesque-Light', hover: true });

Cufon.replace('h2');
*/

/*
var myBorder = RUZEE.ShadedBorder.create({ corner:8, shadow:16 });
    myBorder.render('menu');
*/
