var tohandle = -1;
var toms = 5000;

function showlp() {
	// nicht die Startseite? go away
	if (document.URL.slice(-9)!='index.htm' &&
	    document.URL.slice(-3)!='de/' &&
	    document.URL.slice(-5)!='docs/') return 1;

	tohandle = window.setTimeout('hidelp()',toms);
	var lp = document.getElementById('lp');
	lp.style.width = 195;
	lp.style.height = 59;
	lp.style.backgroundImage = 'url(./gif/lp_big.gif)';
	lp.innerHTML = '<div style="width:195px !important;height:59px !important"><span onmouseover="window.clearTimeout(tohandle)" onmouseout="tohandle=window.setTimeout(\'hidelp()\',toms)"><img id="lp_cls" style="position:relative;top:2px;left:187px;width:6px;height:6px;cursor:hand;cursor:pointer" src="./gif/lp_cls.gif" onclick="hidelp()"><div style="padding:8px !important;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:12px;color:#666"><br>Weiter zur Stadtratsfraktion<br><a style="padding: 0 0 0 1em;background: url(./gif/lplinkicon.gif) top left no-repeat;color:#68A" href="http://www.gruene-stadtrat-trier.de">www.gruene-stadtrat-trier.de</a></div></span></div>';
	return 1;
}
function hidelp() {
	var lp = document.getElementById('lp');
	lp.style.width = 10;
	lp.style.height = 10;
	lp.style.backgroundImage = 'url(./gif/lp_hid.gif)';
	lp.innerHTML = '<div style="width:10px;height:10px;cursor:hand;cursor:pointer" onclick="showlp()"></div>';
}
