function openDetail(id){
	win="http://www.europaseventportal.de/inlink/index.php?t=detail&id=" + id;
	detail = window.open(win, "detail");
}

function openTopDetail(id){
	win="http://www.europaseventportal.de/inlink/index.php?t=detail&id=" + id;
	return win;
}

function openPreview(id){
	win="http://www.europaseventportal.de/inlink/index.php?sid=121212122&t=ad_innerdetail&id=" + id;
	detail = window.open(win, "preview");
}

function table_change(element){
	if(element.checked==true){
		document.search_advanced.table.value="link2";
	} else {
		document.search_advanced.table.value="link";
	}
}

var x=0,y=0,stop=0, a=0, time=0;
if (document.layers)
time=50;

function handlerMM(e)
{
//x = (document.layers) ? e.pageX+10 : document.body.scrollLeft+event.clientX;
//y = (document.layers) ? e.pageY+15 : document.body.scrollTop+event.clientY;
}

function an(text)
{
stop=0;
if (document.all)
{
document.all.lay.innerHTML=text;
document.all.lay.style.visibility="visible";
}
if (document.layers)
{
document.lay.document.write(text);
document.lay.document.close();
document.layers.lay.visibility="show";
}
setTimeout("go()",0)
}

function aus()
{
stop=1;
if (document.all)
document.all.lay.style.visibility="hidden";
if (document.layers)
document.layers.lay.visibility="hide";
}


function go()
{
if (stop==1)
return;
if (document.all)
{
document.all.lay.style.left=x+10;
document.all.lay.style.top=y+10;
}
if (document.layers)
{
document.layers.lay.left=x;
document.layers.lay.top=y;
}
setTimeout("go()",time)
}
if (document.layers)
{
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
