function Go() {
window.location.href = document.Testform.region_id.options[document.Testform.region_id.selectedIndex].value;
document.Testform.reset();
document.Testform.elements[0].blur();
}
function ChangeAction(file) {
document.forms[0].action = file;
document.forms[0].submit();
}
function Find_OnClick_Region($Id) {
document.forms[0].id.value = $Id;
document.forms[0].submit();
}
function Find_OnClick_Region_html($Id,$Region,$Content,$Html) {
document.forms[0].id.value = $Id;
document.forms[0].region.value = $Region;
document.forms[0].content.value = $Content;
document.forms[0].html.value = $Html;
document.forms[0].submit();
}
function Find_OnClick_Europa($Id,$Land,$Europa) {
document.forms[0].id.value = $Id;
document.forms[0].land.value = $Land;
document.forms[0].europa.value = $Europa;
document.forms[0].submit();
}
function Find_OnClick_PLZ($Id) {
document.forms[0].id.value = $Id;
document.forms[0].submit();
}
function Find_OnClick_Detail($Id) {
document.forms[0].id.value = $Id;
document.forms[0].submit();
}
function Find_OnClick_Objekte($Id) {
document.forms[0].id.value = $Id;
document.forms[0].submit();
}
function Bestaetigung_Objektdaten(file,$Id) {
document.forms[0].id.value = $Id;
document.forms[0].submit();
}
function galerieopen(ObjNr) {
var browser=navigator.appName;
if (browser == 'Netscape') {
var breite=600;
var hoehe=600;
} else {
var breite=screen.Width-50;
var hoehe=screen.Height-80;
}
var Vollbild = window.open("../foto.php?ObjNr="+ObjNr, "Vollbild", "width="+breite+", height="+hoehe+", scrollbars, resizable=yes");
Vollbild.moveTo(0, 0);
Vollbild.focus( )
}
function bauernregel() {
var Bauernregel = window.open("query-bauernregel.php", "Bauernregel", "scrollbars=yes,width=600,height=400");
Bauernregel.focus( )
}
function statistik_gebiet(gebiet) {
var Bereich = window.open("query-statistik-regionen.php?gebiet="+gebiet, "Regionalstatistik", "scrollbars=yes,width=600,height=400");
Bereich.moveTo(0, 0);
Bereich.focus( )
}
function OpenInput(newin) {
flyout=window.open(newin,"flyout","resizable=no, scrollbars=yes, width=600, height=350, top=50, left=50");
if(flyout != null){
if(flyout.opener == null){
flyout.opener = self;
}
}
}
function Translation(Anmerkungen) {
var translation = window.open("translation.php?Anmerkungen="+Anmerkungen, "Translation", "scrollbars=yes, width=600, height=600, resizable=yes");
translation.focus( )
}
function fSwitch(vTableID) {
vTable=document.getElementById(vTableID);
vFieldValue=vTable.style.display;
if(vFieldValue=="none") {
vTable.style.display = "block";
} else {
vTable.style.display = "none";
}
}