//#############################################################################
//#### Java Funktionen (C)2004 by Bert Gerlach 			#######################
//#### www.finitus.de									#######################
//#############################################################################

//#### rechnet Mitte aus ##################################
function mitte(id1){
	var x=(screen.width)/2-480;
	window.document.getElementById(id1).style.left = x;
}

//#### lädt Pics ##########################################
function LoadPic(nr, obj) {
	window.document.images[nr].src = obj.src;
}

//#### Textframeloader#####################################
function LoadTextframe(name) {	
	window.location.href = name;
}

//#### Objekte und Referenzen #############################
n=new Array(22);
//### Menü Images #######################################
n[0] = new Image();
n[0].src = "../menue/butt01_aboutme.jpg";
n[1] = new Image();
n[1].src = "../menue/butt02_aboutme.jpg";
n[2] = new Image();
n[2].src = "../menue/butt01_recent.jpg";
n[3] = new Image();
n[3].src = "../menue/butt02_recent.jpg";
n[4] = new Image();
n[4].src = "../menue/butt01_older.jpg";
n[5] = new Image();
n[5].src = "../menue/butt02_older.jpg";
n[6] = new Image();
n[6].src = "../menue/butt01_other.jpg";
n[7] = new Image();
n[7].src = "../menue/butt02_other.jpg";
n[8] = new Image();
n[8].src = "../menue/butt01_work.jpg";
n[9] = new Image();
n[9].src = "../menue/butt02_work.jpg";
n[10] = new Image();
n[10].src = "../menue/butt01_links.jpg";
n[11] = new Image();
n[11].src = "../menue/butt02_links.jpg";
n[12] = new Image();
n[12].src = "../menue/butt01_guest.jpg";
n[13] = new Image();
n[13].src = "../menue/butt02_guest.jpg";
n[14] = new Image();
n[14].src = "../menue/butt01_auge.jpg";
n[15] = new Image();
n[15].src = "../menue/butt02_auge.jpg";

//### Seiten zum Laden ####################################
about1 ="../text/about.html";
recent1 ="../text/recent.html";
older1 ="../text/older.html";
other1 ="../text/other.html";
work1 ="../text/work.html";
links1 ="../text/links.html";
guest1 ="../text/guest.html";
gen1 ="../text/gen.html";