var agt = navigator.userAgent.toLowerCase();
var dom = (document.getElementById) ? true : false;
var ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ns4 && !ie4 && !ie5) ? true : false;
if (nodyn) event = "";
var tagFollowMouse	= false;
var tagWidth 		= 250;
var offX			= 5;
var offY			= 5;
var tagBgColor 		= "#ffffff";
var tagBorderColor 	= "#000000";
var tagBorderWidth 	= 1;
var tagBorderStyle 	= "solid";
var tagPadding		= 6;
var infotag, tagcss;
function initTag() {
	if (nodyn) return;
	infotag = (ns4)? document.tagDiv.document: (ie4)? document.all['tagDiv']: (ie5||ns5)? document.getElementById('tagDiv'): null;
	tagcss = (ns4)? document.tagDiv: infotag.style;
	if (ie4||ie5||ns5) {
		tagcss.width = tagWidth+"px";
		tagcss.backgroundColor = tagBgColor;
		tagcss.borderColor = tagBorderColor;
		tagcss.borderWidth = tagBorderWidth;
		tagcss.padding = tagPadding;
		tagcss.borderStyle = tagBorderStyle;
	}}
var t1, t2;
var tipOn = false;
function iT(evt, txt) {
	if (!infotag) return;
	if (t1) clearTimeout(t1); if (t2) clearTimeout(t2);
	tipOn = true;
	if (ns4) {
		tip = '<table bgcolor="' + tagBorderColor + '" width="' + tagWidth + '" cellspacing="0" cellpadding="' + tagBorderWidth + '" border="0"><tr><td><table bgcolor="' + tagBgColor + '" width="100%" cellspacing="0" cellpadding="' + tagPadding + '" border="0"><tr><td>' + txt  + '</td></tr></table></td></tr></table>';
		infotag.write(tip);
		infotag.close();
	} else if (ie4||ie5||ns5) {
		tip = txt+"<hr  color=\"#C0C0C0\" size=\"1\"><a class=\"text\" href='javascript:hT()'>Schließen</a>";
	 	infotag.innerHTML = tip;
	}
	positionTag(evt);
return false;
}
var mouseX, mouseY;
function trackMouse(evt) {
	mouseX = (ns4||ns5) ? evt.pageX: window.event.clientX + document.body.scrollLeft;
	mouseY = (ns4||ns5) ? evt.pageY: window.event.clientY + document.body.scrollTop;
	if (tipOn) positionTag(evt);
}
function positionTag(evt) {
	mouseX = (ns4||ns5) ? evt.pageX: window.event.clientX + document.body.scrollLeft;
	mouseY = (ns4||ns5) ? evt.pageY: window.event.clientY + document.body.scrollTop;
 	var tpWd = (ns4) ? infotag.width: (ie4||ie5) ? infotag.clientWidth: infotag.offsetWidth;
	var tpHt = (ns4) ? infotag.height: (ie4||ie5) ? infotag.clientHeight: infotag.offsetHeight;
	var winWd = (ns4||ns5)? window.innerWidth-20+window.pageXOffset: document.body.clientWidth+document.body.scrollLeft;
	var winHt = (ns4||ns5)? window.innerHeight+window.pageYOffset: document.body.clientHeight+document.body.scrollTop;
	if ((mouseX+offX+tpWd) > winWd)
		tagcss.left = (ns4) ? mouseX-(tpWd+offX): mouseX-(tpWd+offX)+"px";
	else tagcss.left = (ns4) ? mouseX+offX: mouseX+offX+"px";
        tagcss.top = (ns4)? mouseY+offY: mouseY+offY+"px";
	if (!tagFollowMouse) t1=setTimeout("tagcss.display=''", 100);
}
function hT() {
	if (!infotag) return;
	t2=setTimeout("tagcss.display='none'", 100);
	tipOn = false;
}
if (ie5) { filter = "; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=95)"; } else { filter = ""; }
filter=""
document.write('<div id="tagDiv" style="position: absolute; display: none; x: 0; y:0 ; z-index:100' + filter + '"></div>');