

		$(document).ready(function() {
		
			$(".post").jFade({
				trigger: "mouseover",
				property: 'background',
				start: 'f5d312',
				end: 'ffffff',
				steps: 8,
				duration: 8
			}).jFade({
				trigger: "mouseout",
				property: 'background',
				start: 'ffffff',
				end: 'f5d312',
				steps: 8,
				duration: 8
			});
			
			// set width of posts and initiate stacking
			$('.post').css('width','220px');
			$('.postWrap').masonry({
				singleMode: true,
				itemSelector: '.post' 
			});
			
		});
		
		$(window).load(function() {
			$('#slider').nivoSlider({
				effect:'random', //Specify sets like: 'fold,fade,sliceDown'
				slices:15,
				animSpeed:500, //Slide transition speed
				pauseTime:5500,
				startSlide:0, //Set starting Slide (0 index)
				directionNav:false, //Next & Prev
				directionNavHide:true, //Only show on hover
				controlNav:false, //1,2,3...
				controlNavThumbs:true, //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:false, //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
			});
		});
		
		ddsmoothmenu.init({
			mainmenuid: "smoothmenu1", //menu DIV id
			orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
			classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
			//customtheme: ["#1c5a80", "#18374a"],
			contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
		})
		
		
		  $(document).ready(function(){
			$(".post").css({opacity: 0});
			$(".post").fadeTo("slow", 1); 
		  });
		 

