// Toggle in Marginalspalte
window.onload = function() {

	// classes
	var myBox = document.getElementsByClassName('toggle');
	var myBoxOpen = document.getElementsByClassName('accordionContent');
	
	if(myBox.length >= 1 && myBoxOpen.length >= 0){ /* ZIP4 20.05.08 - add */
		// Create the accordian
		var myEffect = new fx.Accordion(myBox, myBoxOpen,{
		
		
		// add the act class
		onActive: function(toggle, element){
		toggle.addClass('active');
		},
		
		// remove the act class
		onBackground: function(toggle, element){
		toggle.removeClass('active');
		}
		
		});
	
		// Tool Tips for extra information
		var as = [];
		$S('a').each(function(a){
		if (a.getAttribute('title')) as.push(a);
		});
		
		new Tips(as, {maxOpacity: 1, maxTitleChars: 25, className: 'titleTip'});
	}
}

function doToggleAccordionBox(){}/* ohe 25.04.08 - new line*/ /* ZIP4 20.05.08 - rename */
