// <![CDATA[
$(document).ready(function() {

  // Slider
  //$('#coin-slider').coinslider({width:1300,height:283,opacity:0.8,effect:'rain',spw:1,sph:1,delay:4500,sDelay:250,links:false});

  // Radius Box
  $('.menu_nav ul, .content .mainbar h2, .pagine h2, .content .sidebar h2, .post_content a.rm, .content p.pages span, .content p.pages a').css({"border-radius":"6px", "-moz-border-radius":"6px", "-webkit-border-radius":"6px"});
  //$('.content .mainbar h2,.content .pagine h2, .content .sidebar h2, a.rm, .content p.pages span, .content p.pages a').css({"border-radius":"6px", "-moz-border-radius":"6px", "-webkit-border-radius":"6px"});
  //$('.slider').css({"border-top-left-radius":"6px", "border-top-right-radius":"6px", "-moz-border-radius-topleft":"6px", "-moz-border-radius-topright":"6px", "-webkit-border-top-left-radius":"6px", "-webkit-border-top-right-radius":"6px"});
  //$('.content p.pages span, .content p.pages a').css({"border-radius":"16px", "-moz-border-radius":"16px", "-webkit-border-radius":"16px"});
  //$('.content_resize').css({"border-bottom-left-radius":"6px", "border-bottom-right-radius":"6px", "-moz-border-radius-bottomleft":"6px", "-moz-border-radius-bottomright":"6px", "-webkit-border-bottom-left-radius":"6px", "-webkit-border-bottom-right-radius":"6px"});



// Cufon
Cufon.replace('h1, h2, h3, h4, h5, h6, .menu_nav ul li a, .post_content a.rm', { hover: true });
//Cufon.replace('h1', { color: '-linear-gradient(#fff, #ffaf02)'});
//Cufon.replace('h1 small', { color: '#8a98a5'});

$('#slider').nivoSlider({
	effect:'fade', // Specify sets like: 'fold,fade,sliceDown'
	//slices:15, // For slice animations
	//boxCols: 8, // For box animations
	//boxRows: 4, // For box animations
	animSpeed:1000, // Slide transition speed
	pauseTime:3000, // How long each slide will show
	startSlide:0, // Set starting Slide (0 index)
	directionNav:true, // Next & Prev navigation
	directionNavHide:true, // Only show on hover
	controlNav:false, // 1,2,3... navigation
	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:false, // Use left & right arrows
	pauseOnHover:true, // Stop animation while hovering
	manualAdvance:false, // Force manual transitions
	captionOpacity:0.8, // Universal caption opacity
	prevText: 'Prev', // Prev directionNav text
	nextText: 'Next', // Next directionNav text
	beforeChange: function(){}, // Triggers before a slide transition
	afterChange: function(){}, // Triggers after a slide transition
	slideshowEnd: function(){}, // Triggers after all slides have been shown
	lastSlide: function(){}, // Triggers when last slide is shown
	afterLoad: function(){} // Triggers when slider has loaded
});
});	
// ]]>
