function go() {
	window.location=document.getElementById("navigation").value;
}

function swap_object_hover(nr) {
	var arr = $('overview').down('li', nr).childElements();
	arr.each(function(node){
		var arr2 = node.childElements();
		arr2.each(function(node){
			if(node.nodeName == "IMG") node.hide();
			else node.setStyle({ display: 'block' });
		});
	});
}

function swap_object_out(nr) {
	var arr = $('overview').down('li', nr).childElements();
	arr.each(function(node){
		var arr2 = node.childElements();
		arr2.each(function(node){
			if(node.nodeName == "DIV") node.hide();
			else node.show();
		});
	});
}

function menu() {
	var arr = null;
	if($('wrapper_header') != null) arr = $('wrapper_header').down('ul', 0).childElements();
	else if($$('.sub_header') != null) arr = $$('.sub_header');
	arr.each(function(e) {
		e.setStyle({cursor: 'pointer'});
		var link = e.down('a', 0).readAttribute('href');
		Event.observe(e, 'click', function(event) {
			location.href = link;
		});
	});
}

