/**
 * Detects whether flash is available and triggers on Firefox and Google Chrome to hide the fallback-
 * sitemap.
 * 
 * @requires jquery, swfobject
 * @author Grigori Prokhorov <grigori.prokhorov@dkd.de>
 * @since 2011-05-13
 * @version $Id$
 */
$(document).ready(function() {
	var flashVersion = swfobject.getFlashPlayerVersion();
	if (flashVersion.major && ($.browser.mozilla || /chrome/.test(navigator.userAgent.toLowerCase()))) {
		$('#fallback-sitemap').hide();
	}
});
