function openWindow(url, width, height)
{
	var newWindow;
	try 
	{
		width += 20;
		height += 20;
		newWindow = open(url, "", "width=" + width + ",height=" + height);
		newWindow.focus ();
	} 
	catch (e)
	{
		alert(e.message);
	}
	return true;
}
function openInFrame() {

	if (top.location == self.location) {
		//alert("called standalone");
		top.location.replace("index.html");
	}
}
function datum() 
{
	var heute = new Date();
	var dateDiv = document.getElementById("datum");
	var textNode = document.createTextNode(
		   "Berlin, den " +
		   heute.getDate() + "." + 
		   (heute.getMonth()+1) + "." + 
		   heute.getFullYear()
		   );
		  
	dateDiv.appendChild(textNode);
}

