I have it set up so that onclick (on a picure) calls the following function:
function nxtimg(country){
document.getElementById("imgcont").src="images",country,"/",imgs[i],".jpg";
i++;
}
When I click on the image however, accorfing to firebug, the src of the image is; "images". It should have been changed to something like:
"images/a/flag".
Where did I mess up?