


//document.photolink.onMouseOver = rollin('photos');
//document.photolink.onMouseOut = rollout('photos');




var pics=new Array();
pics["photos"]=new Image();
pics["photos"].src="img/photos.gif";
pics["photos_h"]=new Image();
pics["photos_h"].src="img/photos_h.gif";

pics["videos"]=new Image();
pics["videos"].src="img/videos.gif";
pics["videos_h"]=new Image();
pics["videos_h"].src="img/videos_h.gif";

pics["text"]=new Image();
pics["text"].src="img/text.gif";
pics["text_h"]=new Image();
pics["text_h"].src="img/text_h.gif";

pics["workshops"]=new Image();
pics["workshops"].src="img/workshops.gif";
pics["workshops_h"]=new Image();
pics["workshops_h"].src="img/workshops_h.gif";

pics["lectures"]=new Image();
pics["lectures"].src="img/lectures.gif";
pics["lectures_h"]=new Image();
pics["lectures_h"].src="img/lectures_h.gif";

pics["research"]=new Image();
pics["research"].src="img/research.gif";
pics["research_h"]=new Image();
pics["research_h"].src="img/research_h.gif";

pics["websites"]=new Image();
pics["websites"].src="img/websites.gif";
pics["websites_h"]=new Image();
pics["websites_h"].src="img/websites_h.gif";

pics["movies"]=new Image();
pics["movies"].src="img/movies.gif";
pics["movies_h"]=new Image();
pics["movies_h"].src="img/movies_h.gif";

pics["books"]=new Image();
pics["books"].src="img/books.gif";
pics["books_h"]=new Image();
pics["books_h"].src="img/books_h.gif";

pics["book"]=new Image();
pics["book"].src="img/book.gif";
pics["book_h"]=new Image();
pics["book_h"].src="img/book_h.gif";


function rollin(name)
{
	document.images[name].src=pics[name+"_h"].src;
}

function rollout(name)
{
	document.images[name].src=pics[name].src;
}






// Fenster oeffnen



//window.resizeTo(788,448);
//window.innerHeight=436;
//window.innerWidth=776;


name="electronic life forms";
wname="neu";

myonb=new Array();
look=new Array();
look[1]='toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,copyhistory=no,titlebar=no,';

screenWidth=screen.availWidth;
screenHeight=screen.availHeight;

w=600;
h=650;

x=(screenWidth-w-10)/2;
y=(screenHeight-h-40)/2;

if (x<0) x=0;
if (y<0) y=0;




function openWindow(path)
{
	if (document.layers)
	{
		myonb[wname]=window.open(path,wname,look[1]+'innerWidth='+w+',innerHeight='+h+',screenX='+x+',screenY='+y);
	}
	else
	{
		myonb[wname]=window.open(path,wname,look[1]+'width='+w+',height='+h);
		setTimeout('myonb["'+wname+'"].moveTo('+x+','+y+'+35)',500);
	}
}