$().ready(function() {

	$(".motif").calvinParallax({speed: -0.6});
	
	// Due to client's executive decision, we have to give up this rotation styling.
	// Client did browser check on Chrome for Windows which itself is a beta product.
	// Bug report: http://code.google.com/p/chromium/issues/detail?id=36902
	// CSS Rotation with anti-aliasing fails on Chrome for Windows.
	// This is a bug that is very likely to be fixed in the future.
	// Whoever sees this message, feel free to re-enable it when the bug is fixed on Chrome for Windows
	/*
	$("#photo_01").css({rotate:"-3deg"}).hover(
		function() {$(this).stop().animate({rotate:"-5deg",translateY:"-10px"},200)},
		function() {$(this).stop().animate({rotate:"-3deg",translateY:"0px"},200)});
	*/

	$("#photo_02").css({rotate:"10deg"}).hover(
		function() {$(this).stop().animate({rotate:"5deg",translateY:"-10px"},200)},
		function() {$(this).stop().animate({rotate:"10deg",translateY:"0px"},200)});
});
