
function init(){
	if(navigator.appName=="Netscape"){var w=innerWidth;document.content_rechts.left=0}
else{var w=document.body.offsetWidth;content_rechts.style.left=0}}
	var n = (document.layers) ? 1:0;var ie = (document.all) ? 1:0;var loop, timer1, timer2;function makeObj(obj,nest){
	nest=(!nest) ? '':'document.'+nest+'.'
	this.css=(n) ? eval(nest+'document.'+obj):eval(obj+'.style')
	this.up=goUp
	this.down=goDown
	this.obj = obj + "Object"
	eval(this.obj + "=this")
	return this}
	
	
function goDown(speed){
	clearTimeout(timer1);clearTimeout(timer2)
	this.css.top=parseInt(this.css.top)+3
	if(loop) timer1=setTimeout(this.obj+".down("+speed+")",speed)}
	
	
function goUp(speed){
	clearTimeout(timer2);clearTimeout(timer1)
	this.css.top=parseInt(this.css.top)-3
	if(loop) timer2=setTimeout(this.obj+".up("+speed+")",speed)}
	
	
function init1(){ testObj=makeObj('content_rechts_inhalt','content_rechts');init()}



var zaehler = 6;
function show_foto (breite, ID, F) {
  change_foto (F);
  aufmachen(breite,ID);
}

function aufmachen(breite,ID) {
 if (zaehler < breite) {
  document.getElementById(ID).style.display="inline";
  document.getElementById(ID).style.width=zaehler+"px";
  zaehler += 10;
  window.setTimeout("aufmachen("+breite+",'"+ID+"')",0);
 }
 else {
  document.getElementById("beschreibung-"+ID).style.display="block";
 }
}

function zumachen(ID) {
 document.getElementById(ID).style.display="none";
 /*document.getElementById("beschreibung-"+ID).style.display="none";*/
 zaehler = 50;
}




