function openslidewin(url) {slidewin = window.open(url,"slide",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,top=0,left=0,width=830,height=700');slidewin.focus();}function openimpreswin(url) {dasda = document.URL;trickes = "/" + "es" + "/";trickde = "/" + "de" + "/";if (dasda.match(trickde)) var newurl = url + "de.html";else if (dasda.match(trickes)) var newurl = url + "es.html";else var newurl = url + "en.html";impreswin = window.open(newurl,"impressum",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,top=5,left=5,width=700,height=500');impreswin.focus();}function openweatherwin(url) {weatherwin = window.open(url,"weather",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,top=50,left=50,width=330,height=290');weatherwin.focus();}function openreservawin() {reservawin = window.open('http://www.hotelsonvida.com/static/lhw_form_include.html','reserva','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,top=30,left=30,width=770,height=550');reservawin.focus();}function opencustomwin(url, nombre, w, h, scroll) {customwin = window.open(url,nombre,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=' + scroll + ',resizable=1,top=5,left=5,width=' + w + ',height=' + h);customwin.focus();}function openmovwin(url, w, h) {dasda = document.URL;trickde = "/" + "de" + "/";var orgurl = "/e_aw.";var newurl = "/d_aw.";if (dasda.match(trickde)) var url = url.replace(orgurl,newurl);movwin = window.open(url,'panotour','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,top=20,left=10,width=790,height=438');movwin.focus();}function opencamwin(url) {camwin = window.open(url,"100Ansicht",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,top=50,left=50,width=465,height=495');camwin.focus();}function lengua(targ) {dashier = document.URL;//alert(dashier);tricken = "/" + "en" + "/";trickes = "/" + "es" + "/";trickde = "/" + "de" + "/";targtrick = "/" + targ + "/";if (dashier.match(tricken)) var gesucht = dashier.replace(tricken,targtrick);if (dashier.match(trickes)) var gesucht = dashier.replace(trickes,targtrick);if (dashier.match(trickde)) var gesucht = dashier.replace(trickde,targtrick);//alert(gesucht);document.location.href=gesucht;//document.URL = gesucht;}function toggleMode() {	if(mode) mode_value = mode;	else if (document.getElementById('list_rdbms')) mode_value = "admin";	else mode_value = "browse";	switch (mode_value) {		case"admin":			document.getElementById("mymode").value = 'browse';			break;		case"browse":			document.getElementById("mymode").value = 'admin';			break;				}	justSubmit();}