function chilbook_javascript(){
	$(window).bind("load", function() {
	$("div#mygaltop").slideView({toolTip: true, ttOpacity: 0.5});
	$("div#mygalone").slideView(); //if leaved blank performs the default kind of animation (easeInOutExpo, 750)
	$("div#mygaltwo").slideView({
		easeFunc: "easeInOutBounce",
		easeTime: 2200
	});
	$("div#mygalthree").slideView({
		easeFunc: "easeInOutSine",
		easeTime: 500,
		toolTip: true
	});
	// chili syntax highlighter
	//$("code").chili();
	});
	//ChiliBook.automatic = false;
	//ChiliBook.recipeFolder = "http://www.gcmingati.net/wordpress/wp-content/themes/giancarlo-mingati/js/chili/";
	//ChiliBook.stylesheetFolder = "http://www.gcmingati.net/wordpress/wp-content/themes/giancarlo-mingati/js/chili/";
	}

function google_analytics(){
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

	try {
		var pageTracker = _gat._getTracker("UA-16015887-1");
		pageTracker._trackPageview();
	} catch(err) {}
}

