// Bilder im neuem Fenster  Ende

function Foto(img)
{
  foto1= new Image();
  foto1.src=(img);
  Controlla(img);
}
function Controlla(img)
{
  if((foto1.width!=0)&&(foto1.height!=0))
  {
	viewFoto(img);
  }
  else
  {
	funzione="Controlla('"+img+"')";
	intervallo=setTimeout(funzione,20);
  }
}
function viewFoto(img)
{
	largh=foto1.width;
	altez=foto1.height+30;                                  // Fenster ist um 30 pt größer als Bild
	var left = (screen.width / 2) - (largh / 2)   			// Ausrichten des neuen Fensters   2=Mitte
	var top =  (screen.availHeight / 2)	- (altez / 2)		// Ausrichten des neuen Fensters   2=Mitte
	stringa="width="+largh+",height="+altez+",left="+left+",top="+top;
	finestra=window.open("picture.html?"+img,"",stringa);
}
// Bilder im neuem Fenster  Ende



// MouseOver mit Tabellenhintergrund

function hoverMenu(obj, color, colorBg, cursor) {
	
		if (colorBg != '')
			obj.style.backgroundColor = colorBg;
		if (cursor != '')
			obj.style.cursor = cursor;
		if (obj.children)
			obj.children[0].style.color = color;
	}
// MouseOver mit Tabellenhintergrund Ende
