// $Id: functions.js 335 2011-09-08 08:06:54Z hweber $// ==========================================================================// Wenn JavaScript aktiviert ist, entsprechende Klasse aus dem HTML-Element entfernen.// ==========================================================================$('html').removeClass('no_js');	// ==========================================================================// JQuery-Funktionen initialisieren// ========================================================================== $(document).ready(function(){	// ==========================================================================	// Internet Explorer erkennen	// ==========================================================================	var ie	= jQuery.support.cssFloat ? 0 : 1;	// Eigenschaft cssFloat ist im IE nicht vorhanden	// ==========================================================================	// Hyperlinks	// ==========================================================================	// Link in einem neuen Fenster öffnen	$('a.new_window').click(		function () {			window.open( $(this).attr('href') );			return false;		}	);	// ==========================================================================	// Formular darstellung	// ==========================================================================		// Eingabefelder markieren, wenn Fokus auf dem Element liegt	$(':text, textarea').focus(		function() {			$(this).addClass('focus');		}	);	$(':text, textarea').blur(		function() {			$(this).removeClass('focus');		}	);		// ==========================================================================	// Zebra Liste	// ==========================================================================	// Zebra-Liste innerhalb markierten Tabellen erstellen	$('table.zebra_list').each(function() {		$(this).find('tr:even').addClass('even');		$(this).find('tr:odd').addClass('odd');	});		// ==========================================================================	// Slider	// ==========================================================================	// Slider	$('.anythingSlider').anythingSlider({		//easing: "linear",		// Anything other than "linear" or "swing" requires the easing plugin		autoPlay: false,				// This turns off the entire FUNCTIONALY, not just if it starts running or not.		delay: 5000,					// How long between slide transitions in AutoPlay mode		startStopped: false,			// If autoPlay is on, this can force it to start stopped		animationTime: 600,				// How long the slide transition takes		hashTags: false,				// Should links change the hashtag in the URL?		buildNavigation: true,			// If true, builds and list of anchor links to link to each slide			pauseOnHover: false,			// If true, and autoPlay is enabled, the show will pause on hover		startText: "Go",				// Start text		stopText: "Stop"				// Stop text    });		// ==========================================================================	// Navigation	// ==========================================================================		//Unternavigation ausblenden	$('nav ul li ul').css({		'display': 'none',		'left': '0'	});		// Unternavigation einblenden	$('nav ul li').hover(		function() {			$(this).find('ul').fadeIn('fast');	},	function(){		$(this).find('ul').fadeOut('fast');	});});
