	Cufon.replace('#nav, #tagline, #title h2, .more-box, #post-header, .search-count', { fontFamily: 'Aller' });
	Cufon.replace('#admin, .title-320', { fontFamily: 'Aller', fontWeight:'bold' });

jQuery(window).load(function() {
    jQuery(".more-box").fadeTo("fast", 1.0); // This sets the opacity of the thumbs to fade down to 80% when the page loads
		jQuery(".more-box").hover(function(){
		jQuery(this).fadeTo("fast", 0.5); // This sets 100% on hover
		},function(){
		jQuery(this).fadeTo("fast", 1.0); // This should set the opacity back to 80% on mouseout
	});
	
	jQuery(".link-box").fadeTo("fast", 1.0); // This sets the opacity of the thumbs to fade down to 80% when the page loads
		jQuery(".link-box").hover(function(){
		jQuery(this).fadeTo("fast", 0.5); // This sets 100% on hover
		},function(){
		jQuery(this).fadeTo("fast", 1.0); // This should set the opacity back to 80% on mouseout
	});
	
	jQuery("a .investor, .investor a").fadeTo("fast", 1.0); // This sets the opacity of the thumbs to fade down to 80% when the page loads
		jQuery("a .investor, .investor a").hover(function(){
		jQuery(this).fadeTo("fast", 0.5); // This sets 100% on hover
		},function(){
		jQuery(this).fadeTo("fast", 1.0); // This should set the opacity back to 80% on mouseout
	});
	
	jQuery(".archives").fadeTo("fast", 1.0); // This sets the opacity of the thumbs to fade down to 80% when the page loads
		jQuery(".archives").hover(function(){
		jQuery(this).fadeTo("fast", 0.8); // This sets 100% on hover
		},function(){
		jQuery(this).fadeTo("fast", 1.0); // This should set the opacity back to 80% on mouseout
	});
	
});

	jQuery(document).ready(function(){ 
        jQuery("ul.sf-menu").supersubs({ 
            minWidth:    10,   // minimum width of sub-menus in em units 
            maxWidth:    27,   // maximum width of sub-menus in em units 
            extraWidth:  1     // 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. 
    }); 
		
		

jQuery(window).load(function() {
    jQuery("#slider").nivoSlider({
        effect:'fade', //Specify sets like: 'fold,fade,sliceDown'
        slices:15,
        animSpeed:500, //Slide transition speed
        pauseTime:8000,
        startSlide:0, //Set starting Slide (0 index)
        directionNav:true, //Next & Prev
        directionNavHide:true, //Only show on hover
        controlNav:true, //1,2,3...
        controlNavThumbs:false, //Use thumbnails for Control Nav
        controlNavThumbsFromRel:false, //Use image rel for thumbs
        controlNavThumbsSearch: '.jpg', //Replace this with...
        controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
        keyboardNav:true, //Use left & right arrows
        pauseOnHover:true, //Stop animation while hovering
        manualAdvance:false, //Force manual transitions
        captionOpacity:0.8, //Universal caption opacity
        beforeChange: function(){},
        afterChange: function(){},
        slideshowEnd: function(){}, //Triggers after all slides have been shown
        lastSlide: function(){}, //Triggers when last slide is shown
        afterLoad: function(){} //Triggers when slider has loaded
    });
});

jQuery(document).ready(function(){ 
jQuery(".title-320").corner("top 15px");
jQuery("#slides").corner();
jQuery(".more-box").corner("bottom 15px");
jQuery("#searchbox").corner();
});
