//------------------------------------------------
//Javascript-Funktionen für Rechentherapie.net
//© Robert Widuch, Ver 1.00.3
//------------------------------------------------

var basisadresse = "http://www.legastheniker-therapie.net/index.htm";
var browsername = navigator.appName.toLowerCase();

if(parent.location.href != basisadresse)
	{
	//parent.location.href=basisadresse;
	}

function wechsel(bild, source)
{
  window.document.images[bild].src = source;
}

function go(ziel)
{
  window.location.href=ziel;
}

function full(ziel)
{
  parent.location.href=ziel;
}

function popup(ziel)
{
  var fenster=window.open(ziel);
}

function mailto(teil5, teil4, teil3)
	{
	var teil1="lto:";
	var teil2="mai";
	window.location.href = teil2 + teil1 + teil3 + "@" + teil4 + "." + teil5;
	}

function infos()
	{
	var teil1="lto:in";
	var teil2="mai";
	var teil4="legasthe";
	var teil3="niker-thera";
	var teil6="pie.net";
	var teil5="fo@";
	var txt="?subject=Mehr Infomaterial gewuenscht!";
	txt=txt+"&body=Sehr geehrte Legastheniker-Therapie Bremerhaven,";
	txt=txt+"%0D%0Abitte schicken Sie mir Ihre Infomaterialien freundlicherweise an folgende Adresse:";
	window.location.href=teil2 + teil1 + teil5 + teil4 + teil3 + teil6 + txt;
	}

function vortrag()
	{
	var teil1="lto:in";
	var teil2="mai";
	var teil4="legasthe";
	var teil3="niker-thera";
	var teil6="pie.net";
	var teil5="fo@";
	var txt = "?subject=Vortrag gewuenscht!";
	txt = txt + "&body=Sehr geehrte Legastheniker-Therapie Bremerhaven,";
	txt = txt + "%0D%0Awir sind an Ihrem Angebot fuer eine Veranstaltung interessiert.";
	txt = txt + "%0D%0ABitte kontaktieren Sie uns schnellstmoeglich ueber folgende Adresse%0D%0A%0D%0A";
	txt = txt + "Anschrift der Schule: %0D%0A";
  txt = txt + "Schultyp: %0D%0A";
  txt = txt + "Ansprechpartner (Telefonnummer und Erreichbarkeit): %0D%0A";
  txt = txt + "Terminvorschlag mit Uhrzeit: %0D%0A";
  txt = txt + "Anzahl der Teilnehmer(-innen): %0D%0A%0D%0A";
  txt = txt + "Mit freundlichem Gruss%0D%0A%0D%0A";
  window.location.href=teil2 + teil1 + teil5 + teil4 + teil3 + teil6 + txt;
	}

function kontakt()
	{
	var teil1="lto:in";
	var teil2="mai";
	var teil4="reche";
	var teil3="ntherap";
	var teil6="ie.net";
	var teil5 = "fo@";
	var txt = "?subject="+document.forms[0].subject.value;
	txt = txt + "&body=INFOS: " + document.forms[0].infos.checked;
	txt = txt + "%0D%0ADIAGNOSTIK: "+document.forms[0].diagnostik.checked;
	txt = txt + "%0D%0ABERATUNG: "+document.forms[0].beratung.checked;
	txt = txt + "%0D%0ANAME: "+document.forms[0].nachname.value;
	txt = txt + "%0D%0ASTRASSE: "+document.forms[0].strasse.value;
	txt = txt + "%0D%0APLZ/ORT: "+document.forms[0].ort.value;
	txt = txt + "%0D%0AFON: "+document.forms[0].telefon.value;
	txt = txt + "%0D%0AMAIL: "+document.forms[0].email.value;
	txt = txt + "%0D%0AFRAGEN: "+document.forms[0].fragen.value;
	window.location.href=teil2 + teil1 + teil5 + teil4 + teil3 + teil6 + txt;
	}
