<!--
function click (e) {
  if (!e) e = window.event;
  if ((e.type && e.type == "contextmenu") || (e.button && e.button == 2) || (e.which && e.which == 3)) {
    if (window.opera) window.alert("Sorry: Diese Funktion ist deaktiviert.");
    return false;
  }
}
if (document.layers) document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = click;
document.oncontextmenu = click;


function keinframeset(zframe, seite) {
  document.write("<html><head><title>Freiwillige Feuerwehr Rolandswerth</title></head><frameset framespacing='0' border='0' rows='87,*' frameborder='0'><frameset cols='171,*'><frame name='Zaehl' src='seite,obenlinks.htm' target='_self' marginwidth='0' marginheight='0' scrolling'no' noresize><frame name='Oben1' src='seite,oben.htm' target='_self' scrolling='no' noresize marginwidth='0' marginheight='0'></frameset><frameset cols='210,*'><frame name='Inhalt' target='_self' src='seite,links01.htm' marginwidth='10' marginheight='0' scrolling='no' noresize><frame name='Hauptframe' src='about:blank' scrolling='auto' target='_self' noresize marginwidth='0' marginheight='0'></frameset></frameset></html>");
  if(zframe==0) parent.Hauptframe.location.href=seite;
  if(zframe==1) parent.Inhalt.location.href    =seite;
  if(zframe==2) parent.Oben1.location.href     =seite;
  if(zframe==3) parent.Zaehl.location.href     =seite;

  if(zframe==4) parent.Inhalt.location.href    =seite;
  if(zframe==5) parent.Banner.location.href    =seite;
  if(zframe==6) parent.Hauptframe.location.href=seite;
}

function popup(URL) {
  var width=300;
  var height=250;
  width=(width)?width:screen.width/3;
  height=(height)?height:screen.height/3;
  var screenX = (screen.width/2 - width/2);
  var screenY = (screen.height/2 - height/2);
  var features= "toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=" + width + ",height=" + height;
  features += ",screenX=" + screenX + ",left=0";
  features += ",screenY=" + screenY  +",top=0";
  var playsound=window.open(URL,'popup',features);
  playsound.focus();
}

var Text = new Array (" Willkommen auf der Homepage der Freiwilligen Feuerwehr Rolandswerth",
                      " Fit for Firefighting: Jeden Donnerstag ab 19 Uhr Fussball auf der Rheinwiese",
                      " Kirmes in Rolandswerth vom 27. bis 30.08.2010"
                      );
var AnzahlTexte=3;
var Position=1;
var Zeile=0;
var Richtung=1;
var LaufAktiv=0;

function animatetitle() {
  if (LaufAktiv==1) {
    window.document.title=Text[Zeile].substr(0, Position)+'_';
    if (Richtung==0) Position--;
    if (Richtung==1) Position++;
    if (Position==-1) {
      Richtung=1;
      Position=0;
      Zeile++;
      Zeile=Zeile%AnzahlTexte;
    }
    if (Position==Text[Zeile].length+10) {
      Richtung=0;
      Position=Text[Zeile].length;
    }
    parent.window.document.title=Text[Zeile].substr(0, Position)+'_';
    setTimeout('animatetitle()',100);
  }
} 

var timer = 0;
function zumachen() {
  window.opener = top;
  window.self.close(); 
}  
function closingtime() {
  if(timer>9) { 
    zumachen()
  }
  timer++;
  setTimeout('closingtime()',1000);
}
//-->
