$(document).ready(function()
{
	$('#slider').cycle({
			fx: 'fade',
			speed: 3000,
			timeout: 1500
    });

	var ie6 = $.browser.msie && /MSIE 6.0/.test(navigator.userAgent);

	if (!ie6)
	{
		$('ul.sf-menu').superfish({ 
			delay:       1000,                            // one second delay on mouseout 
			animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
			speed:       'normal'                         // faster animation speed 
		}); 			
	}
	else
	{
		DD_belatedPNG.fix('#topbar, img, a, .commentbubble, .infobubble, .view-all, #category-picture1, #category-picture2, #category-picture3, #footer');
	}
});




/* Google Analytics code */

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1541090-8']);
_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);
})();
