
runZoom = 15;
zCount = 0;
zStop = false;

function zHaus(status, id) {
	if ((zCount < 8) && (status == "in") && (zStop == false)) {
		imgSwap('navb', '/imh/'+id+zCount+'.jpg');
		zCount = zCount + 1;
		imgSwap('navb', '/imh/'+id+zCount+'.jpg');
		setTimeout("zHaus('"+status+"', "+id+")", runZoom);
	}
	if ((zCount > 1) && (status == "out")) {
		imgSwap('navb', '/imh/'+id+zCount+'.jpg');
		zCount = zCount - 1;
		imgSwap('navb', '/imh/'+id+zCount+'.jpg');
		setTimeout("zHaus('"+status+"', "+id+")", runZoom);
	}
}

function zBreak(boo) {
	zStop = boo;
}

