Shadowbox.init({players:['img','html','qt', 'swf', 'flv'],overlayOpacity:0.9});
jQuery(document).ready(function() {
	//scrolling
	$(".scrollable").scrollable({circular: true}).click(function() {
		$(this).data("scrollable").next();		
	});
	//opacity: to set an initial state for image links:
	$('.pj-thumb img').css('opacity', 0.7);
	// this adds hover to show image links at full opacity:
	$('.pj-thumb img').hover(
		function() { jQuery(this).css('opacity', 1.0);}, // hover state
		function() { jQuery(this).css('opacity', 0.7);} // back to off
	);
});

//GOOGLE
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3229986-2']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

