function ZuletztGeaendert ()
{
   var date = new Date();
   date.setTime(Date.parse(document.lastModified));
   return date.getDate() + "." + (date.getMonth() + 1) + "." + date.getYear();
}


aktuell= new Image();
aktuell.src = "../grafik/new2_grau.gif";
aktuellon = new Image();
aktuellon.src = "../grafik/new2.gif";

tauchen= new Image();
tauchen.src = "../grafik/fish_grau.gif";
tauchenon = new Image();
tauchenon.src = "../grafik/fish.gif";

ausbildung= new Image();
ausbildung.src = "../grafik/ausbildung_grau.gif";
ausbildungon = new Image();
ausbildungon.src = "../grafik/ausbildung.gif";

logbuch= new Image();
logbuch.src = "../grafik/logbuch_grau.gif";
logbuchon = new Image();
logbuchon.src = "../grafik/logbuch.gif";

training= new Image();
training.src = "../grafik/training_grau.gif";
trainingon = new Image();
trainingon.src = "../grafik/training.gif";

undsonst= new Image();
undsonst.src = "../grafik/undsonst_grau.gif";
undsonston = new Image();
undsonston.src = "../grafik/undsonst.gif";

vereinsdaten= new Image();
vereinsdaten.src = "../grafik/usck_klein_grau.gif";
vereinsdatenon = new Image();
vereinsdatenon.src = "../grafik/usck_klein.gif";

trtips= new Image();
trtips.src = "../grafik/trtips_grau.gif";
trtipson = new Image();
trtipson.src = "../grafik/trtips.gif";

links= new Image();
links.src = "../grafik/links_grau.gif";
linkson = new Image();
linkson.src = "../grafik/links.gif";

treff= new Image();
treff.src = "../grafik/treff_grau.gif";
treffon = new Image();
treffon.src = "../grafik/treff.gif";

formulare= new Image();
formulare.src = "../grafik/formulare_grau.gif";
formulareon = new Image();
formulareon.src = "../grafik/formulare.gif";

orientierung= new Image();
orientierung.src = "../grafik/orientierung_grau.gif";
orientierungon = new Image();
orientierungon.src = "../grafik/orientierung.gif";

flohmarkt= new Image();
flohmarkt.src = "../grafik/flohmarkt_grau.gif";
flohmarkton = new Image();
flohmarkton.src = "../grafik/flohmarkt.gif";

kalender= new Image();
kalender.src = "../grafik/kalender_grau.gif";
kalenderon = new Image();
kalenderon.src = "../grafik/kalender.gif";


function on(name)   
{
      document[name].src = eval(name + "on.src");
}

function off(name)  
{
  	document[name].src = eval(name + ".src");
}

function ZweiFrames (url1, url2)
   {  
   parent.F_UNTERTITEL.location.href = url1;
   parent.F_HAUPT.location.href = url2;
   }
	
function surfto(form) 
{
   var myindex=form.select1.selectedIndex
	
	if (form.select1.options[myindex].value != "0") 
	   {
      location=form.select1.options[myindex].value;
	   }
}

/* This is a very practical script that allows you to display a "what's new" image beside new content for */
/* a certain amount of time, then disappear automatically when the time expires. Just set a date, and 	 */
/*the image will be displayed up to and until that date, then automatically be removed. 						 */
var imagetag='<img src="../grafik/new.jpg">';
var today=new Date();

function WhatsNew (d, m, y)
{
	m--;
   var expire= new Date (y, m, d, 0,0,0);
	
   if (today <= expire)
      document.write(imagetag);
}


