function loadSearchForm() {
    hideBlock('sealert');
    printMessage('sealert', '');
    changeBox('msearchform');
    document.getElementById('sequery').focus();
}
function sendSearchForm() {
    $value = getValueFromObject('sequery');
    if($value.length<3) {
        showBlock('sealert');
        printMessage('sealert', 'Bitte geben Sie mindestens 3 Zeichen ein');
        return false;
    } else {
        hideBlock('sealert');
        printMessage('sealert', '');
        document.getElementById('minisearch').submit();
    }
}
function getLocation() {
    if(navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(showLocation);
    } else {
        alert('Ihr Browser unterst&uuml;tzt keine Standortbestimmung');
    }
}
function showLocation(myposition) {
    setValueForObject('latitude',  myposition.coords.latitude);
    setValueForObject('longitude', myposition.coords.longitude);
}
