// Toggle in Marginalspalte

window.onload = function() {

	// classes
	var myBox = document.getElementsByClassName('toggle');
	var myBoxOpen = document.getElementsByClassName('accordionContent');
	
	if (myBox != '') {
		// 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');
			}
		});
		imprimir();
	}

	/* Tooltips deactivated
	// 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 donothing(){}
