//------------ bilder weiterschalten ----------
var fotos=new Array(
'pic/dustfromthepast/bild00.jpg',
'pic/dustfromthepast/bild01.jpg',
'pic/dustfromthepast/bild02.jpg',
'pic/dustfromthepast/bild03.jpg',
'pic/dustfromthepast/bild04.jpg',
'pic/dustfromthepast/bild05.jpg',
'pic/dustfromthepast/bild06.jpg',
'pic/dustfromthepast/bild07.jpg',
'pic/dustfromthepast/bild08.jpg',
'pic/dustfromthepast/bild09.jpg',
'pic/dustfromthepast/bild10.jpg',
'pic/dustfromthepast/bild11.jpg',
'pic/dustfromthepast/bild12.jpg',
'pic/dustfromthepast/bild13.jpg',
'pic/dustfromthepast/bild14.jpg',
'pic/dustfromthepast/bild15.jpg',
'pic/dustfromthepast/bild16.jpg',
'pic/dustfromthepast/bild17.jpg',
'pic/dustfromthepast/bild18.jpg',
'pic/dustfromthepast/bild19.jpg',
'pic/dustfromthepast/bild20.jpg');

var pos = 0;

function bwd () {
if (pos > 0) { pos-- }
document.bild.src=fotos[pos];
}

function fwd (){
if (pos < fotos.length-1){ pos++ }
document.bild.src=fotos[pos]
}

//---------------- onmouseoverbuttons ----------
back1 = new Image;
back1.src = "pic/back_white.gif";
back2 = new Image;
back2.src = "pic/back_black.gif";
forw1 = new Image;
forw1.src = "pic/fwd_white.gif";
forw2 = new Image;
forw2.src = "pic/fwd_black.gif";

// ------------------- pop up window ------------
function popup(theURL,winName,features) {
window.open(theURL,'popup','resizable=yes,scrollbars=yes,height=650,width=770,top=50,left=130');
}
