function swImg(iName,str) {
  document.images[iName].src = str; 
}