// JavaScript Document

// JavaScript Document

function chBGb(file)
{
 document.getElementById('topcenter').style.backgroundImage = 'url(' + file + ')';
}

function ch_city(){
		city = document.form1.start.value;
		
		verlink = document.form1.action.value = "http://maps.google.de/maps?f=d&hl=de&geocode=&saddr="+ city +"&daddr=Galt%FCr,+Austria";
		open(verlink);
}

function chBGNew()
{
 document.getElementById('topcenter').style.backgroundImage = 'url(uploads/pics/huettewinter.jpg)';
}
  
  
  var zeit, message="Der Rechtsklick auf dieser Seite ist leider untersagt!!";
  function click0() {
    if (event.button != 1) {
      popup();
      return false;
    }
  }
  function nsc(e) {
    if (e.which != 1) keinkontext();
  }
  function popup() {
    alert(unescape(message));
    return false;
  }
  function nichts(e) {
    if (e.which != 1) return false;
  }
  function keinkontext() {
    clearTimeout(zeit);
    zeit = setTimeout("kontext()",1);
  }
  function kontext() {
    clearTimeout(zeit);
    popup();
  }
  if (document.all)
    if (document.getElementById) document.oncontextmenu=popup;
    else document.onmousedown=click0;
  if (!(document.all) && document.getElementById)
    document.oncontextmenu=popup;
  if (document.layers) {
    document.captureEvents(Event.MOUSEUP | Event.MOUSEDOWN);
    document.onmousedown=nichts;
    document.onmouseup=nsc;
  }