function swapimage(imgname, imgpath)
{
 document.images[imgname].src=imgpath;
}