function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		starto = newImage("../images/slices/starto.gif");
		lifenaturo = newImage("../images/slices/lifenaturo.gif");		
		projekto = newImage("../images/slices/projekto.gif");		
		downloado = newImage("../images/slices/downloado.gif");		
		linkso = newImage("../images/slices/linkso.gif");		
		kontakto = newImage("../images/slices/kontakto.gif");		
		impressumo = newImage("../images/slices/impressumo.gif");		
		portraito = newImage("../images/slices/portraito.gif");		
		manageo = newImage("../images/slices/manageo.gif");
		zieleo = newImage("../images/slices/zieleo.gif");		
		forto = newImage("../images/slices/forto.gif");		
		preloadFlag = true;
	}
}
function changeStart(){
		parent.navi.location.href="nstart.html";		
		parent.main.location.href="../main/mstart.html";		
		}
function changeLifenatur(){
		parent.navi.location.href="nlife.html";		
		parent.main.location.href="../main/mlife.html";		
		}
function changeProjekt(){
		parent.navi.location.href="nport.html";		
		parent.main.location.href="../main/mport.html";		
		}
function changeDownload(){
		parent.navi.location.href="ndown.html";		
		parent.main.location.href="../main/mdown.html";		
		}
function changeLinks(){
		parent.navi.location.href="nlinks.html";		
		parent.main.location.href="../main/mlinks.html";		
		}
function changeKontakt(){
		parent.navi.location.href="nkont.html";		
		parent.main.location.href="../main/mkontakt.html";		
		}
function changeImpressum(){
		parent.navi.location.href="nimpres.html";		
		parent.main.location.href="../main/mimpres.html";		
		}
function changePortrait(){
		parent.navi.location.href="nport.html";		
		parent.main.location.href="../main/mport.html";		
		}
function changeManage(){
		parent.navi.location.href="nmanage.html";		
		parent.main.location.href="../main/mmanage.html";		
		}
function changeZiele(){
		parent.navi.location.href="nziele.html";		
		parent.main.location.href="../main/mziele.html";		
		}
function changeFortschritt(){
		parent.navi.location.href="nfort.html";		
		parent.main.location.href="../main/mfort4.html";		
		}
function changePfad(){
		parent.navi.location.href="nfort.html";		
		parent.main.location.href="../main/mMEPKarte.html";		
		}
