ddsmoothmenu.init({
	mainmenuid: "smoothmenu1", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
});

jQuery(document).ready(function($) {
	$("#vertnav li ul").hide();
	$("#vertnav li").mouseover(function() {
		$(this).children("ul").fadeIn(250);
	});
	$("#vertnav li").mouseleave(function() {
		$(this).children("ul").fadeOut(250);
	});
	$('#nivo').nivoSlider({
        effect:'sliceDown', 
        slices:15,
        animSpeed:750, 
        pauseTime:5000,
        startSlide:0, 
        directionNav:false, 
        directionNavHide:true, 
        controlNav:false, 
        controlNavThumbs:false, 
        controlNavThumbsFromRel:false, 
        controlNavThumbsSearch: '.jpg',
        controlNavThumbsReplace: '_thumb.jpg',
        keyboardNav:true, 
        pauseOnHover:false,
        manualAdvance:false, 
        captionOpacity:0.8, 
        beforeChange: function(){},
        afterChange: function(){},
        slideshowEnd: function(){}, 
        lastSlide: function(){}, 
        afterLoad: function(){} 
    });
});
