function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  w = window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
  w.focus();
}


function toggleBox(szDivName, iState) // 1 visible, 0 hidden
{
	els = document.getElementsByName(szDivName);
	for(i = 0; i < els.length; i++)
	{
        els[i].style.visibility = iState ? "visible" : "hidden";
	}
}


function DeleteMessage()
{
var agree=confirm("Willst Du diese Nachricht wirklich löschen?" +
	"\nACHTUNG: Dies kann nicht mehr rückgängig gemacht werden!");
	if (agree == false)
	{
	return false;
	}
}


function RapportMessage()
{
var agree=confirm("Willst Du diese Nachricht wirklich melden?" +
	"\nACHTUNG: Dies kann nicht mehr rückgängig gemacht werden!");
	if (agree == false)
	{
	return false;
	}
}


function DeleteProfil()
{
var agree=confirm("Willst Du Dein Profil wirklich löschen?" +
	"\nACHTUNG: Dies kann nicht mehr rückgängig gemacht werden!");
	if (agree == false)
	{
	return false;
	}
}
