function neuesFenster(formul){
	var alles = document.getElementById(formul);
	var uebstr = '';
	for(var i=0;i<alles.length;i++){
		if(alles.elements[i].type != "hidden" && alles.elements[i].type != "submit"){		
			uebstr += alles.elements[i].name;
			uebstr += "="+alles.elements[i].value+"&";
		}
	}
	uebstr = uebstr.substring(0,uebstr.lastIndexOf("&"));	
	window.open(alles.url.value+"?"+uebstr);
	return false;
}

// Debug-Modus?
var debug = true;

$().ready(function() {

	// Mouse-Over-Zeichen/Grafik fuer die statische Subnavi hinzufÃ¼gen
	$("ul.statisch a").each(function() {
		$(this).append("<span class=\"arrow\">&nbsp;&raquo;</span>");
	});
	
	$.lia.dummy_links();
	
	$.lia.external_links();
	
	$("ul#navigation-main").superfish({
		hoverClass	: "navigation-sub",
		pathClass	: "overideThisToUse",
		delay		: 800,
		animation	: {opacity:"show"},
		speed		: "normal",
		oldJquery	: false, /* set to true if using jQuery version below 1.2 */
		disableHI	: false, /* set to true to disable hoverIntent detection */
		onInit		: function(){},
		onBeforeShow	: function(){},
		onShow		: function(){},
		onHide		: function(){}
	});
	
	//$('#TB_iframeContent', top.document).load(foo);
	
	$('a.anfrage_link').attr('target', '_top');

});

function foo()
{
	alert('foo!');
}

