function x() {
	for (var n = 0; n < arguments.length; n++) {
		var a = arguments[n];
		var mode = a.substr(0, 1);
		if (mode != "+" && mode != "-") { //expliziter Zustand?
			var s = document.getElementById(a).style;
			s.display == 'none' ? s.display = 'block' : s.display = 'none';
		} else {
			o = a.substr(1, a.length);
			s = document.getElementById(o).style;
			mode == "-" ? s.display = 'none' : s.display = 'block';
		}
	}
}


function Blur() {
	for (var i = 0; i < document.links.length; ++i) {
		document.links[i].onfocus = function() {
				if(this.blur) this.blur();
			}
	}
}


//Bookmark on del.icio.us
function dbt_bookmark() {
	var notes = arguments[0];
	var ttags = arguments[1];
	//URL of this document
	var loc=location.href;
	//Strip out any anchors
	var apos=loc.indexOf('#');
	loc=(apos>0?loc.substring(0,apos):loc);
	//Redirect to del.icio.us
	location.href='http://del.icio.us/post?v=2&url='
	+ encodeURIComponent(loc)
	+'&title='
	+ encodeURIComponent(document.title)
	+'&tags='
	+ encodeURIComponent(ttags)
	+ '&notes='
	+ encodeURIComponent(notes);
	//Return false so the link won't be activated. 
	return false;
}