function swapImg(img,over)
{
  if (over) var new_file = img.src.substr(0,img.src.length-5)+"2."+img.src.substr(img.src.length-3,img.src.length);
  else var new_file = img.src.substr(0,img.src.length-5)+"1."+img.src.substr(img.src.length-3,img.src.length);
  img.src = new_file;
}

function swapImgDyn(img,over)
{
  img.src = img.src.substr(0,img.src.length-1)+over;
}

function popupImg(url,w,h)
{
  imgPop = window.open(url,"popImg","width="+w+", height="+h);
  imgPop.focus();
}
