/* trumpet, 12.06.2006, copied from /PORTAL.DEVELOPMENT.project.CLEARSTREAM/webapp/resources/popup.js *//* trumpet, 30.09.2008: new variant "z-index", a fixed "left"-position and no predefined value for the class-attribute ... */function stopTimer(){	if (typeof(popupWindowTimer) != 'undefined') clearTimeout(popupWindowTimer);}var hideWindowHandle = "";function showPopupWindow(handle){	if (hideWindowHandle != "")		doHidePopopWindow(hideWindowHandle);	hideWindowHandle = handle;	if (typeof(popupWindowTimer) != 'undefined') stopTimer();	//document.all[handle].style.display = "block";	document.getElementById(handle).style.display = 'block';}function doHidePopopWindow(handle){	//document.all[handle].style.display="none";	document.getElementById(handle).style.display = 'none';}function hidePopupWindow(handle){	popupWindowTimer = setTimeout("doHidePopopWindow('" + handle + "')", 500);}function popupWindow(handle, text, xPosition){	var xOffset = 1;	var yOffset = -90;	document.write("<div id=\"" + handle + "\" style=\"display: none; position: absolute; margin-left: " + (xOffset+xPosition) + "px; margin-top: " + yOffset + "px\" class=\"popupWindow\" onmouseover=\"javascript:stopTimer();\" onmouseout=\"javascript:hidePopupWindow('" + handle + "');\">");	document.write(text);	document.write("</div>");}function popupWindow(handle, text, xPosition, width){	var xOffset = 1;	var yOffset = -90;	document.write("<div id=\"" + handle + "\" style=\"display: none; position: absolute; background-color: #eef0ef; padding:2px; border:2px solid #339999; margin-left: " + (xOffset+xPosition) + "px; width:"+width+"px; margin-top: " + yOffset + "px\" class=\"popupWindow\" onmouseover=\"javascript:stopTimer();\" onmouseout=\"javascript:hidePopupWindow('" + handle + "');\">");	document.write(text);	document.write("</div>");}function popupWindowFixedLeftPosition(handle, text, leftPosition, width){	// use a "z-index", a fixed "left"-position and no predefined value for the class-attribute	var xOffset = 194;	var yOffset = 70;	document.write("<div id=\"" + handle + "\" style=\"display: none; position: absolute; z-index:5; margin-left: " + xOffset + "px; width:" + width + "px; margin-top: " + yOffset + "px; left:" + leftPosition +";\" onmouseover=\"javascript:stopTimer();\" onmouseout=\"javascript:hidePopupWindow('" + handle + "');\">");	document.write(text);	document.write("</div>");}
