function changeImage(dir,name,over){
if (over == 1)
   uto = "b.jpg";
else
    uto = "a.jpg";
if (dir != "")
   dir = dir+"/";
document.images[name].src = dir+name+uto;
}

function viewImage(image_n) {

  msgWindow=window.open(""+image_n+"","_popIt","screenX=0,screenY=0,width=800,height=600");

  msgWindow.document.write("<title></title><html>");
  msgWindow.document.write("<body bgcolor='#000000'><table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH='100%'><tr><td ALIGN=CENTER VALIGN=TOP>");
  msgWindow.document.write("<img src='"+image_n+".jpg'></td></tr>");
  msgWindow.document.write("</table></body></html>");
}
