function create_submenu(rel, la)
{
	if($("#sub_" + rel).css('display')=='block') {
		$("#sub_" + rel).slideUp('slow');
	}
	else {

		$(".submenu_c").slideUp('slow');
		$("#sub_" + rel).load("global/ajax/_create_submenu.php", {relation: rel, idioma: la}, function() { $("#sub_" + rel).slideDown('slow'); });
	}
}

function oeffne_popup()
{
	var fenster=window.open("template_popup.php4" , "fenster1" , "width=600 , height=338 , status=yes , scrollbar=no , resizeable=no ");
	fenster.focus();
}


function close_stoerer()
{
	document.cookie="show_stoerer=0;";
	document.getElementById('stoerer').style.display='none';
}

function show_dowjones()
{
	document.getElementById('dowjones').style.display='block';
	document.getElementById('dax').style.display='none';
	document.getElementById('eurostoxx').style.display='none';
}

function show_dax()
{
	document.getElementById('dowjones').style.display='none';
	document.getElementById('dax').style.display='block';
	document.getElementById('eurostoxx').style.display='none';
}

function show_eurostoxx()
{
	document.getElementById('dowjones').style.display='none';
	document.getElementById('dax').style.display='none';
	document.getElementById('eurostoxx').style.display='block';
}

function close_action()
{
	alert('Wirklich?');
}
