/*
 * jQuery CC
 */


	$(document).ready(function () {
 		var myDiv = '<div class="caption"><span>© jullia.eu All rights reserved. Do not use, alter or redistribute! Do not reproduce my work without prior written permission! Give full credit (including name and link to this post) if you want to show it somewere else! <br /><a rel="license" href="http://www.jullia.eu/home/creative-commons"><img alt="Creative Commons License" style="border-width:0; " src="http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png" /></a> </span> </div> ';
		$('.foto_post').append(myDiv);
		// transition effect
		style = 'easeOutQuart';
 
		// if the mouse hover the image
		$('.foto_post').hover(
			function() {
				//display heading and caption
				//$(this).children('div:first').stop(false,true).animate({top:0},{duration:200, easing: style});
				$(this).children('div:last').stop(false,true).animate({bottom:75},{duration:200, easing: style});
			},
 
			function() {
				//hide heading and caption
				//$(this).children('div:first').stop(false,true).animate({top:-50},{duration:200, easing: style});
				$(this).children('div:last').stop(false,true).animate({bottom:-55},{duration:200, easing: style});
			}
		);
 
 
 $('.foto_post_landscape').append(myDiv);
		// transition effect
		style = 'easeOutQuart';
 
		// if the mouse hover the image
		$('.foto_post_landscape').hover(
			function() {
				//display heading and caption
				//$(this).children('div:first').stop(false,true).animate({top:0},{duration:200, easing: style});
				$(this).children('div:last').stop(false,true).animate({bottom:75},{duration:200, easing: style});
			},
 
			function() {
				//hide heading and caption
				//$(this).children('div:first').stop(false,true).animate({top:-50},{duration:200, easing: style});
				$(this).children('div:last').stop(false,true).animate({bottom:-55},{duration:200, easing: style});
			}
		);
	});

 


