$(document).ready ( function()
{
	$("LI.features").hover (
		function () { $(this).css('background', 'url(/public/ifc/bg-menu-features-o.png) no-repeat center'); },
		function () { $(this).css('background', 'url(/public/ifc/bg-menu-features.png) no-repeat center'); }
	);
	$("LI.try").hover (
		function () { $(this).css('background', 'url(/public/ifc/bg-menu-try-o.png) no-repeat center'); },
		function () { $(this).css('background', 'url(/public/ifc/bg-menu-try.png) no-repeat center'); }
	);
	$("LI.tour").hover (
		function () { $(this).css('background', 'url(/public/ifc/bg-menu-tour-o.png) no-repeat center'); },
		function () { $(this).css('background', 'url(/public/ifc/bg-menu-tour.png) no-repeat center'); }
	);
	$("LI.screenshots").hover (
		function () { $(this).css('background', 'url(/public/ifc/bg-menu-screenshots-o.png) no-repeat center'); },
		function () { $(this).css('background', 'url(/public/ifc/bg-menu-screenshots.png) no-repeat center'); }
	);

	var options = {
		loadingImage:		'/public/images/shadowbox/loading.gif',
		animSequence:		'sync',
		overlayColor:		'#000',
		initialWidth:		600,
		initialHeight:		450,
		overlayOpacity:		0.70,
		resizeDuration:		0.10,
		fadeDuration:		0.10,
		resizeLgImages:     true,
		displayNav:         true,
		handleUnsupported:  'remove',
		keysClose:          ['c', 27], // c or esc
		autoplayMovies:     true
	};

	Shadowbox.init(options);

});
