<!-- 
var scrOfX = 0, scrOfY = 0;
function getScrollXY() {
	

	if( typeof( window.pageYOffset ) == 'number' ) {
		//Netscape compliant
		scrOfY = window.pageYOffset;
		scrOfX = window.pageXOffset;
	} else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
		//DOM compliant
		scrOfY = document.body.scrollTop;
		scrOfX = document.body.scrollLeft;
	} else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
		//IE6 standards compliant mode
		scrOfY = document.documentElement.scrollTop;
		scrOfX = document.documentElement.scrollLeft;
	}
	return [ scrOfX, scrOfY ];
}

var n_pos_x=1; var n_pos_y=1; /* Variablen fuer Cursorposition */
    function maus_move(Ereignis) {/* ermittelt laufend die aktuelle Cursorposition */
      if (!Ereignis)
      Ereignis = window.event;
      if (Ereignis.which) //Netscape-Syntax
        {
        var n_pos_x  = Ereignis.pageX;
        var n_pos_y = Ereignis.pageY;
        document.getElementById("flyout_feld").style.left=(n_pos_x+3)+"px";
        document.getElementById("flyout_feld").style.top=n_pos_y+"px"; 
        } 
      else if (document.all) //MSIE-Syntax
        {getScrollXY();
        var n_pos_x = Ereignis.clientX + scrOfX;
        var n_pos_y = Ereignis.clientY +  scrOfY;
        document.getElementById("flyout_feld").style.left=(n_pos_x+3)+"px";
        document.getElementById("flyout_feld").style.top=n_pos_y+"px";
        }
      }
      
    window.onload = init;
    function init() {
      if (window.Event) {
      Event.MOUSEMOVE;
    }
    document.onmousemove = maus_move;
    }
    /* --------------------------------- Beginn ----------------------------------- */
    /* (onmousedown) Zeigt das Flyout-Feld im Content-Fenster an und fuegt uebergebenen Text ein */
    function simpl_flyout(flyout_text) {
    document.getElementById("flyout_feld").firstChild.nodeValue=flyout_text;
    document.getElementById("flyout_feld").style.display="block";
    document.getElementById("flyout_feld").style.visibility="visible";
    }
    /* --------------------------------- Ende ----------------------------------- */
    /* --------------------------------- Beginn ----------------------------------- */
    /* (onmouseup/onmouseout) Blendet das Flyout-Feld im Content-Fenster wieder aus und loescht den enthaltenen Text  */
    function simpl_flyin() {
    document.getElementById("flyout_feld").firstChild.nodeValue="";
    document.getElementById("flyout_feld").style.visibility="hidden";
    document.getElementById("flyout_feld").style.display="none";
    }
    /* --------------------------------- Ende ----------------------------------- */
    
    function display_info(ID) {
      alert('Datensatz-ID: '+ID);
    }

    function display_preview(ID) {
      alert('Datensatz-ID: '+ID);
    }
    function display_website(URI) {
      var ext_site=window.open(URI,'external_site_win','');
      ext_site.focus();
    }
 
    function filmdetail(uid)  {
    var filmWin=window.open('filmInfo.php?uid='+uid,'film_win','width=750,height=700,resizable=yes,scrollbars=yes');
    filmWin.focus();
    }
    
    /* --------------------------------- Beginn ----------------------------------- */
    /* (onmouseup/onmouseout) Blendet das Flyout-Feld im Content-Fenster wieder aus und loescht den enthaltenen Text  */
    function display_ArchCont(ArchContID,plusMinusID,pdfID) {
    /* alert(ArchContID+","+plusMinusID+","+pdfID); */
      if(document.getElementById(ArchContID).style.visibility=="hidden")
        {document.getElementById(ArchContID).style.visibility="visible";
        document.getElementById(ArchContID).style.display="block";
        document.getElementById(pdfID).style.visibility="visible";
        document.getElementById(pdfID).style.display="block";
        document.getElementById(plusMinusID).setAttribute('src','grafik/minus.gif');}
      else
        {document.getElementById(ArchContID).style.visibility="hidden";
        document.getElementById(ArchContID).style.display="none";
        document.getElementById(pdfID).style.visibility="hidden";
        document.getElementById(pdfID).style.display="none";
        document.getElementById(plusMinusID).setAttribute('src','grafik/plus.gif');}
    
    }
    /* --------------------------------- Ende ----------------------------------- */
    
    function display_ProgCont(ArchContID,plusMinusID) {
    /* alert(ArchContID+","+plusMinusID+","+pdfID); */
      if(document.getElementById(ArchContID).style.visibility=="hidden")
        {document.getElementById(ArchContID).style.visibility="visible";
        document.getElementById(ArchContID).style.display="block";
        document.getElementById(plusMinusID).setAttribute('src','grafik/minus.gif');}
      else
        {document.getElementById(ArchContID).style.visibility="hidden";
        document.getElementById(ArchContID).style.display="none";
        document.getElementById(plusMinusID).setAttribute('src','grafik/plus.gif');}
    
    }
