/* copyright by Matze Roos */

/*---------ZOOM------------------------------------------------------------------------------------------------------------*/

<!--
function GrafikAnzeigen(GrafikURL, Breite, Hoehe)
{
  Fensteroptionen = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0";

  Grafikfenster = window.open("", Breite+Hoehe, Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe + ',left=30,top=30');
  Grafikfenster.focus();
  Grafikfenster.document.open();

  with(Grafikfenster)
  {
  document.write("<html>\n<head>\n");
  document.write("<title>Rüssel Baltmannsweiler</title>\n");
  document.write("</head>\n");
  document.write("<body leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\">\n");
  document.write("<img border=\"0\" onclick=\"window.close();\" src=\""+ GrafikURL +"\" title=\"Zum Schließen auf das Foto klicken\">\n");
  document.write("</body>\n</html>");
  }
}
//-->

/*-------------GÄSTEBUCH---------------------------------------------------------------------------------------------------*/

<!--
function AddSmiley(text)
{
  var caretPos = document.gb.beitrag.caretPos;
  text = ' ' + text + ' ';

  if (document.gb.beitrag.createTextRange && document.gb.beitrag.caretPos)
    {
    var caretPos = document.gb.beitrag.caretPos;
    caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
    document.gb.beitrag.focus();
    } 
  else
    {
    document.gb.beitrag.value += text;
    document.gb.beitrag.focus();
    }
}
//-->
