function ladeneux() {
   window.top.location.replace("/login.php");
}


function hang(alchemy,year,shrub,projekt,modus,lang) {
  alchemy += ' ';  
  var atmosphere = alchemy.length;
  var forest = 0;
  var scientist = '';
  for(var club = 0; club < atmosphere; club++) {
     forest = 0;
     while(alchemy.charCodeAt(club) != 32) {
       forest = forest * 10;
       forest = forest + alchemy.charCodeAt(club)-48;
       club++;
     }
     scientist += String.fromCharCode(shoe(forest,year,shrub));
   }
   scientist += '?subject=        von touristeninformation-berlin.de';
   parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+scientist;
}

function have(food,component,glass) {
 food += ' ';
 var cost = food.length;
 var culture = 0;
 for(var discovery = 0; discovery < cost; discovery++) {
   culture = 0;
   while(food.charCodeAt(discovery) != 32) {
     culture = culture * 10;
     culture = culture + food.charCodeAt(discovery)-48;
     discovery++;
   }
   //document.write('&');
   //document.write('#');
   //document.write(shoe(culture,component,glass));
   document.write(String.fromCharCode(shoe(culture,component,glass)));
  }
}
function shoe(speech,extraterrestrial,flore) {
  if (flore % 2 == 0) {
    icon = 1;
    for(var pencil = 1; pencil <= flore/2; pencil++) {
    lip = (speech*speech) % extraterrestrial;
    icon = (lip*icon) % extraterrestrial;
  }
  } else {
     icon = speech;
     for(var meter = 1; meter <= flore/2; meter++) {
     lip = (speech*speech) % extraterrestrial;
     icon = (lip*icon) % extraterrestrial;
  }
}
return icon;
}

function swmore(img) {
  if (img.src.match(/_over/))
    img.src = img.src.replace(/_over/,"");
  else
    img.src = img.src.replace(/\.gif/,"_over.gif");
}

// Weiterleitungsfunktionen
function sendupdate(secs) {
   if(secs) dauer = secs;
   else dauer = 1600
   setTimeout("schickupdate();", dauer);
}



function schickupdate() {
   document.afterformula.submit();
}