<!--  unitB Technology

function findPosX(obj)
{
	var curleft = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curleft += obj.offsetLeft
			obj = obj.offsetParent;
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function findPosY(obj)
{
	var curtop = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curtop += obj.offsetTop
			obj = obj.offsetParent;
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}

function defineSchnellnavigationWidth()
{
	trID = document.getElementById("schnellnavigationTR");
	tdItems = trID.getElementsByTagName("td");
	tableWidth = tdItems.length*187;

	return tableWidth;
}

function positionSchnellnavigation(element)
{
	if(document.getElementById('schnellnavigation')) {
		document.getElementById('schnellnavigation').style.width = defineSchnellnavigationWidth()+ "px";
	
		tableWidth = document.getElementById('schnellnavigation').style.width;
		tableWidth = tableWidth.substring(0, 3);
		tableWidth = tableWidth*1;

		divLeft = findPosX(element)-tableWidth+188;
		divTop  = findPosY(element)+25;
	
		document.getElementById('schnellnavigation').style.width = tableWidth;	
		document.getElementById('schnellnavigation').style.left	= divLeft + "px";
		document.getElementById('schnellnavigation').style.top	= divTop + "px";

       }

}
function initSchnellnavigation()
{
      if(document.getElementById('linkSchnellnavigation')) positionSchnellnavigation(document.getElementById('linkSchnellnavigation'));
}

function addbookmark() {
  bookmarkurl=self.location.href;
  bookmarktitle=document.title;
  if (document.all) {
    window.external.AddFavorite(bookmarkurl,bookmarktitle)
  }
}

function checkIt(string)
{
  var detect = navigator.userAgent.toLowerCase();
	
  place = detect.indexOf(string) + 1;
  thestring = string;
  return place;
}

function artikelDrucken() {
  window.focus();
  window.print();
}

function iframeDrucken()
{

  if(checkIt('msie') != 0) {
	//js print for ie
	iFrame.focus();
	print();
  } else {
	//js print for other browsers
	f = document.getElementById("iFrame");
	f.contentWindow.focus();
	f.contentWindow.print();
  }

}


function showVslot() {
  if(document.getElementById && document.getElementById("vslot")) {
      document.getElementById("vslot").style.visibility = "visible";
      document.getElementById("vslot").style.display = "inline";
  }
}

function showDPANews() {
  if(document.getElementById && document.getElementById("dpaNews")) {
      document.getElementById("dpaNews").style.visibility = "visible";
      document.getElementById("dpaNews").style.display = "inline";
  }
}

-->