function nextimg(img_id,img)
{
document.images[img_id].src=img;
}

function nextimg2(img_id,img,wid)
{
var image=getObj(img_id)

document.images[img_id].src=img;
image.style.width=wid;
}



function getObj(name) {
  if (document.getElementById) return document.getElementById(name);
  else if (document.all) return document.all[name];
  else if (document.layers) return document.layers[name];
  else return false;
}


function hidediv(img_id,doaction)
{
 obj=getObj(img_id);
 if(doaction)
  obj.style.visibility='visible';
 else
  obj.style.visibility='hidden';
}



