function roll(imageName,imageData){
document.images[imageName].src=imageData
}