	  var pic = 0;
	  var count = 0;
	  var picsloaded = 0;

	  function rotation ( app,rot ) {
		count = rot;
		//path="http://www.palmenparadies-istrien.de/multiling/images/"; // ONLINE-VERSION
		path="/multiling/images/";

		if( document.images ) {
			ext=".jpg";
			if (app=="start") {
			   ext=".gif";
			}
			if (app=="sub") {
			   ext=".gif";
			   app="start";
			}
            referenz = new Array();
                for( i=1; i<(count+1); i++) {
                    referenz[i] = new Image();
                    referenz[i].src = path+"app-"+app+i+ext;
                };
			picsloaded = 1;
            flipper ( count );
        };
        };

		function rollover () {
			window.clearTimeout(aktiv);
		};

		function rollout () {
		aktiv = window.setTimeout("flipper()",3000);
		};

		function flipper () {
		if (picsloaded == 1) {
            pic++;
            if (pic > count) pic = 1;
            if( document.images ) {
                flippic(pic);
                aktiv = window.setTimeout("flipper()",5000);
            }
		}
		};

		function flippic (num) {
		if (picsloaded == 1) {
            pic = num;
            if( document.images ) {
                if ( document.all ){
                   document.images.bild.style.filter="blendTrans(duration=2)"
                   document.images.bild.filters.blendTrans.Apply()
                }
                document.bild.src = referenz[pic].src;
                if ( document.all ){
                   document.images.bild.filters.blendTrans.Play()
                }
            }
		}
		};

	    function fenster($url) {
      	gross=window.open($url,"Popup","width=400,height=400,buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");
      	if (window.focus) gross.focus();
    	};

      window.onload=function() {
        if ((typeof document.getElementsByName('andgo')[0])=="object") {
          document.getElementsByName('eintrag')[0].onfocus=function () {
            document.getElementsByName('andgo')[0].value=document.getElementsByName('stop')[0].value;
          };
        };
      };