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

function check_top() {
var eingabe, c, erlaubt = "abcdefghijklmnopqrstuvwxyz- ' 0123456789", laenge;
eingabe = window.document.form_top.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 check_bottom() {
var eingabe, c, erlaubt = "abcdefghijklmnopqrstuvwxyz- ' 0123456789", laenge;
eingabe = window.document.form_bottom.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;
}}}




