function toggleObj(prefix,id,FormerClass) {
	if (getObj(prefix + 'AREA_' + id).style.display == 'none') {
		if (FormerClass != '') {
			getObj(prefix + 'HEAD_' + id).className = prefix + "Active";
		}
		getObj(prefix + 'AREA_' + id).style.display = "";
		getObj(prefix + 'IMG_' + id).src = "../layout/collapse.gif";
		getObj(prefix + 'IMG_' + id).alt = "Hier klicken um die weiteren Infos anzuzeigen";
	} else {
		if (FormerClass != '') {
			getObj(prefix + 'HEAD_' + id).className = FormerClass;
		}
		getObj(prefix + 'AREA_' + id).style.display = "none";
		getObj(prefix + 'IMG_' + id).src = "../layout/expand.gif";
		getObj(prefix + 'IMG_' + id).alt = "Hier klicken um die weiteren Infos zu verstecken";
	}
}

function showhide(obj,showhid) {
	var x = getObj(obj);
	x.style.visibility = showhid;
}

function getObj(name) {
	if (document.getElementById) {
		return document.getElementById(name);
	} else if (document.all) {
		return document.all[name];
	}
}

function popup(name,pfad,breite,hoehe) {
	xposi=0;
	yposi=0;
	bild=eval(window.open(pfad,name,"width="+breite+",height="+hoehe+",left="+xposi+",top="+yposi+",location=no,directories=no,status=no,menubar=no,toolbar=no,scrollbars=yes,noresize=no,resizable=yes"));
	bild.resizeTo(breite,hoehe);
    	bild.focus();
}

function fenster(name,pfad,breite,hoehe) {
	xposi=0;
	yposi=0;
	bild=eval(window.open(pfad,name,"width="+breite+",height="+hoehe+",left="+xposi+",top="+yposi+",location=no,directories=no,status=no,menubar=no,toolbar=no,scrollbars=yes,noresize=no,resizable=yes"));
	bild.resizeTo(breite,hoehe);
	bild.focus();  
}


function MM_openBrWindow(theURL,winName,features)

{        var newWindow;

         if (newWindow == null || newWindow.closed == true)

         {

                     newWindow = window.open(theURL,winName,features);

         }

         else

         {

                     newWindow.document.title = winName;

                     newWindow.location.href = theURL;

         }

         newWindow.focus();

}