var imageroot = "/images/"; // include /
var fBusy=false;
var next=0;
var pic;


function swapPic(pic) {
if (!fBusy) {
fBusy=true;
document.images["p"+next].src = imageroot + "b" + pic + ".jpg";
if (next==0) {next=1} else {next=0};
fBusy = false;
}
}//swapPic
