m1 = "mail"
m2 = "spoma-halle"
w1 = "sascha"
w2 = "linke"

picnr=1;

			pic1 = new Image; pic1.src = "bilder/bild_01.jpg";
		  pic2 = new Image; pic2.src = "bilder/bild_02.jpg";
		  pic3 = new Image; pic3.src = "bilder/bild_03.jpg";
		  pic4 = new Image; pic4.src = "bilder/bild_04.jpg";
		  pic5 = new Image; pic5.src = "bilder/bild_05.jpg";
		  pic6 = new Image; pic6.src = "bilder/bild_06.jpg";
		  pic7 = new Image; pic7.src = "bilder/bild_07.jpg";
		  pic8 = new Image; pic8.src = "bilder/bild_08.jpg";
			pic9 = new Image; pic9.src = "bilder/bild_09.jpg";
			pic10 = new Image; pic10.src = "bilder/bild_10.jpg";
			
			
var size=22;

function navhi (seite)
{
   if (seite=="ru") 
  {
//	li_resize(1);
	  if (document.all)
	  {   document.all.nav_ru_div.style.height="86px";
	  }
	  else if (document.nav_ru_div) 
	  {   document.nav_ru_div.display="86px";
	  }
	  else if (typeof(document.getElementById)=="function") 
	  {   document.getElementById('nav_ru_div').style.height="86px";
  	}  
	}
  
  if (seite=="re") 
  {
//	li_resize(1);
	  if (document.all)
	  {   document.all.nav_re_div.style.height="123px";
	  }
	  else if (document.nav_re_div) 
	  {   document.nav_re_div.display="123px";
	  }
	  else if (typeof(document.getElementById)=="function") 
	  {   document.getElementById('nav_re_div').style.height="123px";
  	}  
	}
  
  if (seite=="li") 
  {
//	li_resize(1);
	  if (document.all)
	  {   document.all.nav_li_div.style.height="123px";
	  }
	  else if (document.nav_li_div) 
	  {   document.nav_li_div.display="123px";
	  }
	  else if (typeof(document.getElementById)=="function") 
	  {   document.getElementById('nav_li_div').style.height="123px";
  	}  
	}
}

function navlo (seite)
{
    if (seite=="ru") 
  {
	  if (document.all)
	  {   document.all.nav_ru_div.style.height="22px";
	  }
	  else if (document.nav_ru_div) 
	  {   document.nav_ru_div.display="22px";
	  }
	  else if (typeof(document.getElementById)=="function") 
	  {   document.getElementById('nav_ru_div').style.height="22px";
	  }  
  }
   
   if (seite=="re") 
  {
	  if (document.all)
	  {   document.all.nav_re_div.style.height="22px";
	  }
	  else if (document.nav_re_div) 
	  {   document.nav_re_div.display="22px";
	  }
	  else if (typeof(document.getElementById)=="function") 
	  {   document.getElementById('nav_re_div').style.height="22px";
	  }  
  }
 
  if (seite=="li") 
  {
	  if (document.all)
	  {   document.all.nav_li_div.style.height="22px";
	  }
	  else if (document.nav_li_div) 
	  {   document.nav_li_div.display="22px";
	  }
	  else if (typeof(document.getElementById)=="function") 
	  {   document.getElementById('nav_li_div').style.height="22px";
	  }  
  }
}

function li_resize(richtung)
{
	if (richtung==1){size=size+5;};
	if (richtung==0){size=size-5;};
	if (richtung==1){if (size<122) {setTimeout("li_resize(1)", 0);};}
	if (richtung==0){if (size>22) {setTimeout("li_resize(0)", 0)} else;}

	if (document.all) 					/* wenn Microsoft-Modell */
 {
 document.all.nav_li_div.style.height=size;
 }
 else
 if (typeof(document.getElementById)=="function")
 		                            		/* wenn Netscape 6.x */
  {
    document.getElementById("nav_li_div").style.height=size;
  }
  else
  if (document.nav_li_div)       		/* wenn Netscape 4.x */
  {
    document.nav_li_div.height=size;
  }
}

function update()
{
document.write(document.lastModified);
}

function mail(m1,m2)
{
 document.write("<a href=mailto:"+m1+"@"+m2+".de>"+m1+"@"+m2+".de</a>");
}

function web(w1,w2)
{
 document.write("<a href=http://www."+w1+"-"+w2+".de>www."+w1+"-"+w2+".de</a>");
}
		
function nextpic()
		{
		  {
		    if (picnr<10){picnr=picnr+1;}
		    document.getElementById("hauptbild").src=eval('pic'+picnr+'.src');
		  }
		}
		
function prevpic()
		{
		  {
		    if (picnr>1){picnr=picnr-1;}
		    document.getElementById("hauptbild").src=eval('pic'+picnr+'.src');
		  }
		}
