﻿function mailto(domain,user,subject,body)
{ document.location.href = "mailto:" + user + "@" + domain + '?subject=' + subject + '&body=' + body ; }

var imagenumber = 16 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;
images = new Array
images[1] = "images/1fotos/foto01.jpg"
images[2] = "images/1fotos/foto02.jpg"
images[3] = "images/1fotos/foto03.jpg"
images[4] = "images/1fotos/foto04.jpg"
images[5] = "images/1fotos/foto05.jpg"
images[6] = "images/1fotos/foto06.jpg"
images[7] = "images/1fotos/foto07.jpg"
images[8] = "images/1fotos/foto08.jpg"
images[9] = "images/1fotos/foto09.jpg"
images[10] = "images/1fotos/foto10.jpg"
images[11] = "images/1fotos/foto11.jpg"
images[12] = "images/1fotos/foto12.jpg"
images[13] = "images/1fotos/foto13.jpg"
images[14] = "images/1fotos/foto14.jpg"
images[15] = "images/1fotos/foto15.jpg"
images[16] = "images/1fotos/foto16.jpg"
var image = images[rand1];


function checktop() {
var eingabe, c, erlaubt = "abcdefghijklmnopqrstuvwxyz-' 0123456789", laenge;
eingabe = window.document.suchform.ss0.value;
eingabe = eingabe.toLowerCase();
laenge = eingabe.length;
if (eingabe == ''){
alert('Enter a searchword please...');
return false;
}
for (c = 0; c < laenge; c++){
d = eingabe.charAt(c);
if (erlaubt.indexOf(d) == -1){
alert ('Don´t use ^´`¨ characters please...');
return false;
}}}

function checkbot() {
var eingabe, c, erlaubt = "abcdefghijklmnopqrstuvwxyz-' 0123456789", laenge;
eingabe = window.document.suchform2.ss0.value;
eingabe = eingabe.toLowerCase();
laenge = eingabe.length;
if (eingabe == ''){
alert('Enter a searchword please...');
return false;
}
for (c = 0; c < laenge; c++){
d = eingabe.charAt(c);
if (erlaubt.indexOf(d) == -1){
alert ('Don´t use ^´`¨ characters please...');
return false;
}}}


