function chpic(name,newpic){
  if(document.images) document.images[name].src=newpic;
}

