function change_eyecatcher ()
{
	var tipps = new Array ();
	var targets = new Array ();

	tipps[0] = "/media/images/eyecatcher/bild_001.jpg"; 
	targets[0] = "schwangerschaft.html"; 

	tipps[1] = "/media/images/eyecatcher/bild_002.jpg"; 
	targets[1] = "energiearbeit.html"; 


	var max_index_tipps = tipps.length-1;
	var zufall = 0;

	zufall = Math.round (max_index_tipps * Math.random());



	document.getElementById('od_eyecatcher').src=tipps[zufall];
	
}



function go(jump_to) 
{

  base_url = "";
  location.href=base_url + jump_to;
}

function Goto(obj)
{
	if ( obj.options && obj.selectedIndex ) 
	{
		var URL = "/show.php?" + obj.options[obj.selectedIndex].value;
		window.location.href = URL;
	}
}	



function openImgZoomWindow (str, w,h,options)
{
	var file = '' + str;	
  var padding; 
  (navigator.appName == "Microsoft Internet Explorer") ? (padding = 10) : (padding = 0); 

  var screenw = screen.availWidth; 
  var screenh = screen.availHeight; 
  var winw = (w + 15 + padding); 
  var winh = (h + 15 + padding); 
  var posx = (screenw / 2) - (winw / 2); 
  var posy = (screenh / 2) - (winh / 2); 

  var mywin = window.open(file,"","top="+posy+",left="+posx+",width="+winw+",height="+winh+",menubar=no,locationbar=no,statusbar=no,resizable=no,toolbar=no,dependent=yes,scrollbars=no");
   mywin.focus(); 

}
