

// Form Versenden
function fsendform(){
    document.formular.submit();
}


// Open Window
function open_window(target,name,width,height,posx,posy,windowoptions,init_target) {
	var it, wo, px, py

	it = target;
	wo = "location=no,toolbar=no,status=no,statusbar=no,scrollbars=yes,resizable=no,dependent=yes";
	px = py = 20;
	if (typeof posx != "undefined") px = posx;
	if (typeof posy != "undefined") py = posy;
	if ((typeof windowoptions != "undefined") && (windowoptions != "")) wo = windowoptions;
	if (typeof init_target != "undefined") it = init_target;

	if(typeof new_window != "undefined") {
		if(new_window.closed != true) {
			new_window.close();
		}
	}
	new_window = window.open(it,name,"width=" + width + ",height=" + height + "," + wo);
	new_window.moveTo(px,py);
	new_window.location.replace(target);
	new_window.focus();
	return false;
}

function fJumpMenuGo(objId,targ,restore){ 
  var selObj = null;  with (document) { 
  if (getElementById) selObj = getElementById(objId);
  if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0; }
}


function NavRollover()
{
	if(!document.getElementById || !document.createTextNode){return;}
	var n=document.getElementById('nav');
	if(!n){return;}
	var lis=n.getElementsByTagName('li');
	for (var i=0;i<lis.length;i++)
	{
	if (lis[i] != 5)
	{
		lis[i].onmouseover=function()
		{
			this.className=this.className?'navactive':'over';
		}
		lis[i].onmouseout=function()
		{
		    this.className=this.className=='navactive'?'navactive':'';
		}	
	}
	}
}

