

var mouse_x=0,mouse_y=0;
var timeout;
//window.clearTimeout(timeout);

function getMouseXY(evt)
{
  e = evt || window.event;
  if(!e) return null;

  if(document.layers)
  {
    mouse_x = e.pageX;
    mouse_y = e.pageY;
  }else if(window.opera)
  {
    mouse_x = e.clientX;
    mouse_y = e.clientY;
  }else if(document.all )
  {
    mouse_x = e.x + document.body.scrollLeft;
    mouse_y = e.y + document.body.scrollTop;
  }else if(document.getElementById)
  {
    mouse_x = e.pageX;
    mouse_y = e.pageY;
  }
  //return new Coord(mouse_x , mouse_y);
}

function setzePos(id,ort)
{

  var x=0,y=0;
  x = mouse_x + 9;
  y = mouse_y - 9;

  document.getElementById(id).innerHTML = ort;

  if (document.all)
  {
    eval("document.all." + id + ".style.posLeft = x;");
    eval("document.all." + id + ".style.posTop = y;");
  }
  else if (document.layers)
  {
    eval("document." + id + ".left = x;");
    eval("document." + id + ".top = y;");
  }
  else if (document.getElementById)
  {
    document.getElementById(id).style.left = x+"px"
    document.getElementById(id).style.top = y+"px"
  }
}

function hide()
{
  var x=0,y=0;
  var id="anzeige";
  x = -1000;
  y = -1000;

  if (document.all)
  {
    eval("document.all." + id + ".style.posLeft = x;");
    eval("document.all." + id + ".style.posTop = y;");
  }
  else if (document.layers)
  {
    eval("document." + id + ".left = x;");
    eval("document." + id + ".top = y;");
  }
  else if (document.getElementById)
  {
    document.getElementById(id).style.left = x+"px"
    document.getElementById(id).style.top = y+"px"
  }
}

//window.onload=

document.onmousemove = getMouseXY;




function zeigeWetter()
{
var text = "<h1 style='text-align:center;'>Wettervorhersage f&uuml;r Morgen</h1>";

text += "<TABLE  align='center' border='1'><!-- rules='none' frame='hsides'> -->";
text += "<TR>";
text += "<td align='center'><h1>Vorhersage</h1>";
text += "<iframe width='145' height='149' marginheight='0' marginwidth='0' frameborder='0' scrolling='no' src='http://www.wetteronline.de/cgi-bin/homecif?WMO=10963&PLZN=Eschenlohe&L=de&B=0'></iframe>";
text += "<br><a href='http://www.austrocontrol.at' TARGET='_blank'>www.austrocontrol.at: Flugwetter</a></td>";

text += "<TD align='center'>";
text += "<H1>Webcams</H1>";
text += "<A HREF='javascript:zeigeWebcams();' ALT='Webcams in der Umgebung'>Webcams in der Umgebung</A><br>";
text += "<A HREF='http://www.bergfex.at' TARGET='_self'>www.bergfex.at: Alle Skigebiete &Ouml;sterreichs mit Webcams</A><br>";

text += "<H1>Lawinensituation</H1>";
text += "<A href='http://www.avalanches.org/map_alps.html' ALT='Lawinenlage Europa' target='_blank' TARGET='_self'>Lawinenlage in Europa</A><br>";
text += "<a href='http://www.lawinenwarndienst.bayern.de/lagebericht.htm' TARGET='_blank'>Lawinenlagebericht Bayern</A><br>";
text += "<a href='http://www.lawine.at/tirol' TARGET='_blank'>Lawinenlagebericht Tirol</A><br>";
text += "<H1>Bedingungen</H1>";
text += "<A HREF='http://www.alpine-auskunft.de' TARGET='_blank'>Berichte der letzten Tage: Alpine Auskunft (DAV)</A><BR>";
text += "<A HREF='http://www.basislager.ch' TARGET='_blank'>Berichte der letzten Tage: www.basislager.ch</A><BR>";
text += "<A HREF='http://www.skigebiete-test.de/schneehoehen/tirol' TARGET='_blank'>Schneeh&ouml;hen &Ouml;sterreich</a><br>";
text += "<A HREF='http://www.slf.ch/lawineninfo/schneeinfo/stationsdaten/index_DE' TARGET='_blank'>Schneeh&ouml;hen Schweiz</a><br>";
text += "<A HREF='http://www.schneehoehen.de' TARGET='_blank'>Skigebiete: www.schneehoehen.de</A><br>";

text += "</TD>";
text += "</TR>";

text += "<TR>";
text += "<TD colspan='2' align='center'><h1>Satellitenbilder</h1>";
text += "<A HREF='http://www.zamg.ac.at' TARGET='_parent'><IMG SRC='http://bergwetter.alpenverein.de/karte.gif' BORDER='0' ALT=''></IMG></A>";
text += "<CENTER>Angaben ohne Gew&auml;hr<BR>";
text += "Quelle: <A HREF='http://puma.dkrz.de' target='_blank'>puma.dkrz.de</A><p>";

text += "<IMG src='http://www.zamg.ac.at/dyn/pictures/sat.gif' alt='Meteosat Infrared'><br>";
text += "Quelle: <A HREF='http://www.univie.ac.at' target='_blank'>Department of Computing Services Central Institute for Meteorology and Geodynamics - ZAMG</A>";

text += "</CENTER>";
text += "</TD>";
text += "</TR>";
text += "</TABLE>";


  schreibeTextinID(text,'inhalt');
}



function zeigeWebcams()
{

var text = "<div id='anzeige' style='position:absolute; z-index:1 ;top:-1000px; left:-1000px; background-color:#FFFFE0; border:1px solid #804000; padding:0px; color:#000000'>Garmisch-Partenkirchen</div>";
text += "<center>";
text += "<h1>Webcams in der Umgebung</h1>";
text += "<map name='Landkarte'>";
text += "<area shape='rect' coords='350,86,358,94' href='http://alpenhof-murnau.com/de/bildergalerie/webcam.html' target='_blank' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','Murnau');\" alt='Murnau'>";
text += "<area shape='rect' coords='344,128,352,136' href='#' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','Eschenlohe');\" alt='Eschenlohe'>";
text += "<area shape='rect' coords='388,120,396,128' href='http://www.bayernwebcam.de/webcams/walchensee/' target='_blank' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','Herzogstand');\" alt='Herzogstand'>";
text += "<area shape='rect' coords='298,120,305,128' href='http://www.oberammergau.de/webcam2/oberammergau1a.jpg' target='_blank' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','Oberammergau');\" alt='Oberammergau'>";
text += "<area shape='rect' coords='305,106,312,114' href='http://www.mediaservice.info/badkohlgrub/' target='_blank' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','H&ouml;rnle');\" alt='H&ouml;rnle'>";
text += "<area shape='rect' coords='311,186,318,194' href='http://www.zugspitze.de/livecamsdata/k8_kb_nord.jpg' target='_blank' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','Kreuzeck');\" alt='Kreuzeck'>";
text += "<area shape='rect' coords='327,174,335,181' href='http://wetter.zugspitze.de/webcam/wank/images/wank-b.jpg' target='_blank' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','Wank');\" alt='Wank'>";
text += "<area shape='rect' coords='271,226,279,233' href='http://www.zugspitze.de/livecamsdata/k4_ZSG_Ostblick.jpg' target='_blank' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','Zugspitze');\" alt='Zugspitze'>";
text += "<area shape='rect' coords='371,213,379,220' href='http://livecam.feratel.at/cam/mittenwald/3080/index.jsp?content=panoramakamera&bgColor1=FFFFFF&bgColor2=01446F&textColor1=01446F&textColor2=CCCCFF&language=de&design=standard4' target='_blank' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','Mittenwald');\" alt='Mittenwald'>";
text += "<area shape='rect' coords='361,275,368,283' href='http://www.golfacademy-seefeld.at/rosshuette/foto.jpg' target='_blank' onmouseout=\"timeout=window.setTimeout('hide()',500);\" onmouseover=\"window.clearTimeout(timeout);setzePos('anzeige','Rossh&uuml;tte Seefeld');\" alt='Rossh&uuml;tte Seefeld'>";
text += "</map>";
text += "<img src='map.jpg' border='0' alt='Karte' usemap='#Landkarte'>";
text += "<p>";

text += "<h2>Noch nicht genug?</h2>";
text += "<P CLASS=INHALT><A HREF='http://www.lenggries.de/webcam1.htm' target='_blank'>Brauneck bei Lenggries</A></P>";
text += "<P CLASS=INHALT><A HREF='http://www.ettal.de/webcam' target='_blank'>Ettal</A></P>";
text += "<P CLASS=INHALT><A HREF='http://panpic2.feratel.at/panpic2/index.jsp?ID=5615&weatherData=on&adv=off' target='_blank'>Lermoos</A></P>";

text += "<h2><a href='javascript:zeigeWetter();'>Zur&uuml;ck zur &Uuml;bersicht</a></h2>";
text += "</center>";

  schreibeTextinID(text,'inhalt');
}


