// JavaScript Document

if (!window.bubble && typeof(window.bubble) != 'function') {

  function bubble(display, xpos, ypos, fName, fSize, fLink) {
  	
	document.getElementById('DlItem').style.display = display;
	
	if( fName != '' || fSize != '' || fLink != '' ) {
		document.getElementById('DlItemTxt').innerHTML = '<a href="' + fLink + '" target="_blank">' + fName + '<br>PDF-Datei, ' + fSize + '</a>';
	}
	
	if( xpos != 0 && ypos != 0 ) {
		document.getElementById('DlItem').style.top  = (ypos+25)+'px';
		document.getElementById('DlItem').style.left = (xpos+44)+'px';
	}
  }
}


if (!window.displaynone && typeof(window.displaynone) != 'function') {
	function displaynone( object_id ) {
		document.getElementById(object_id).style.display = 'none';
		return false;
	}	
}

