$(document).ready(function(){ 
	$("#nav").superfish({ 
		animation: {height:'show'},
		speed: 0,
		delay: 0,
		dropShadows: true,
		disableHI: true
	});
	if($("a.colorbox")[0]) {
		if($("#gallery")[0]) {
			$("a.colorbox").colorbox({
				innerWidth:'800px',
				height:'96%',
				transition:'none',
				slideshow:true,
				slideshowSpeed:4000,
				slideshowAuto:false,
				slideshowStart:'play',
				slideshowStop:'pause',
				current:'{current} / {total}'
			});
		} else {
			$("a.colorbox").colorbox({
				maxHeight:'96%',
				maxWidth:'96%'
			});
		}
	}
	if($("#jp-container")[0]) $.getScript('/includes/js/viengxay-the-past-voices.js', null);
	if($("div.box")[0]) $("div.box").corner();
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	$.getScript(gaJsHost+'google-analytics.com/ga.js', function(){
		try {
			var pageTracker = _gat._getTracker("UA-11577279-1");
			pageTracker._trackPageview();
		} catch(err) {}
	});
});