function initContentComponents(){
	//INITIALIZE SHOWHIDE
	//Note: Selector.find() does not function with tag H3
	var colh3 = document.getElementsByTagName("h3")//all the "h3"-tags
	var colh3SH = new Array();//array for all the "h3.showhide-item"-tags
	var colLen = colh3.length; 
	for(var i=0;i<colLen;i++){
		if(colh3[i].parentNode.className=="showhide-item"){colh3SH.push(colh3[i])}
	}
	EventListener.addEvents(colh3SH, 'click', openShowHide);
	EventListener.addEvents(Selector.find('span.sh-close'), 'click', closeShowHide);
	var colSHContainers = Selector.find('div.showhide-container');
	for(var i=0;i<colSHContainers.length;i++){
		if(colSHContainers[i].className=="showhide-container var2"){
			colSHContainers[i].multipleOpen = true;
			colSHContainers[i].getElementsByTagName("div")[0].className = "showhide-item open";
		}
	}
	//INITIALIZE EXTERNAL APPLICATION AND TRIGGERS
	EventListener.addEvents(Selector.find('div.external-application'), 'click', openFirstUrlInBlock);
	EventListener.addEvents(Selector.find('div.trigger'), 'click', openFirstUrlInBlock);
}

EventListener.addEvent(window, 'load', initContentComponents);

function openShowHide() {
	//NOTE: By using the parentnodes as a kind of global variable it is possible to group showhide elements by putting a container tag around them
	if(this.parentNode.parentNode.currOpen!=null){ClassName.remove(this.parentNode.parentNode.currOpen, "open");}
	ClassName.add(this.parentNode, "open");
	if(!this.parentNode.parentNode.multipleOpen){this.parentNode.parentNode.currOpen = this.parentNode} 
}

function closeShowHide() {
	ClassName.remove(this.parentNode.parentNode, "open");
}

function openFirstUrlInBlock(e) {
	if (window.event) {var el = window.event.srcElement}
	else {var el = e.target}
	if(!el.tagName){el=el.parentNode}
	try{
		if(el.tagName!="A"){//when te link is clicked by the visitor the link will direct the visitor otherwise two windows will be opened
			var objFirstLink = this.getElementsByTagName("A")[0];
			if(objFirstLink.target=="_blank") window.open(objFirstLink.href);
			else document.location.href = objFirstLink.href;
		}
	}catch(e){};
}





