$(function(){
			/*
			 if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) {
				$('#photos').sphere3d({
					elems: 'li',
					scale: 0.95,
					delay: 60,
					rotation: { x: -0.03, y: -0.03 },
					reveal: 1
				});
			 } else {
				$('#photos').sphere3d({
					elems: 'li',
					scale: 0.95,
					delay: 60,
					rotation: { x: -0.0075, y: -0.0075 },
					reveal: 1
				});
			 }
			 */
			 if( $('#photos') )
			 {
				$('#photos').sphere3d({
					elems: 'li',
					scale: 0.95,
					delay: 60,
					rotation: { x: -0.0075, y: -0.0075 },
					reveal: 1
				});
			}
			
			$('#ipad-photos a').colorbox({
				rel: 'ipad-thumbnail',
				width: 600,
				maxHeight: "80%",
				slideshow: true,
				slideshowAuto: false,
				slideshowStart: '',
				slideshowStop: ''
			});
			
			$('#ipad-photos').cycle({
				fx: 'fade',
				random: 1,
				speed: 1000,
				timeout: 2000
			});
			
		});
