$(document).ready(function(){
		
		$('#primaryContent').hover(
				function() {
/* 					$('.dismissable').hide(); */
				}, 
				function() {
				});
				
		$('#secondaryContent').hover(
				function() {
/* 					$('.dismissable').show(); */
				},
				function() {}
				);
				
				
				
		if( $("span#homepage").length > 0 ) {
		
			$("div.postWrapper * img").each(function() {
				$(this).fadeIn(4000);
			});
			
			$("div.textwidget a").each(function() {
				
				$(this)
				.animate({ 
						color:'#F00'
					}, Math.floor(Math.random()*200)+200)
				.animate({
						 color:'#888'
					}, Math.floor(Math.random()*8000)+4000);
				

			});
			
		
		} else {
		
			$("div.postWrapper * img").each(function() {
				$(this).css({'display':'block'});
			});
		
		
		}
		
});
