/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Bethan :: http://www.freewebs.com/bdude183/imagething.htm */

function whichElement(event) {
  var tname
  tname=event.srcElement.tagName
  if (event.button==2 && tname=="IMG"){pressed="picture"}
  if (pressed=="picture")
  {window.alert("An! An! An!... mangataka aloha vao maka")}
  pressed=0
}
