function showDIV(get)
{
	var a = document.getElementById("comment").style;
	a.display="inline";
	showComments(get);
}

function darken(site)
{
	if(site=="")
	{
		alert("keine seite mitgeteilt!!!!!!");
	}else{
	showComments(site);
	}
	var a = document.getElementById("darken").style;
	a.display="inline";
}

function pausecomp(millis)
{
var date = new Date();
var curDate = null;

do { curDate = new Date(); }
while(curDate-date < millis);
} 

function closeDIV()
{
	var a = document.getElementById("myLayer").style;
	a.visibility="hidden";
}
function showP(id)
{
	var a = document.getElementById("p"+id).style;
	a.display="inline";
}
function hideP(id)
{
	var a = document.getElementById("p"+id).style;
	a.display="none";
}
function showGbEntry()
{
	var a = document.getElementById('new_gb').style;
	a.display="inline";
	var currentTime = new Date();
	var year = currentTime.getFullYear();
	var month = currentTime.getMonth();
	var day = currentTime.getDate();
	var hours = currentTime.getHours();
	var hour = currentTime.getSeconds();
	var minutes = currentTime.getMinutes();
	var datum = year + "-" + month + "-" + day + " " + hours + ":" + minutes + ":" + seconds;
	alert(datum);
}


function closeIntro()
{
	setTimeout('closeIntro2()',1000);
}
function closeIntro2()
{
	var a = document.getElementById("darken").style;
	a.display="none";
	var b = document.getElementById("intro").style;
	b.display="none";
}
function closeIntro4(title)
{
	var a = document.getElementById("darken").style;
	a.display="none";
	var b = document.getElementById("intro").style;
	b.display="none";
	window.location.hash=title; 
}
function closeIntro3()
{
	var b = document.getElementById("intro").style;
	b.display="none";
}
function showIntro()
{
	var a = document.getElementById("darken").style;
	a.display="inline";
	var b = document.getElementById("intro").style;
	b.display="inline";
}