<!--
if (window.Event) // Only Netscape will have the CAPITAL E.
  document.captureEvents(Event.MOUSEUP); // catch the mouse up event

function nocontextmenu()  // this function only applies to IE4, ignored otherwise.
{
 event.cancelBubble = true
 event.returnValue = false;
  return false;
} 

function norightclick(e) // This function is used by all others
{
 if (window.Event) // again, IE or NAV?
 {
  if (e.which == 2 || e.which == 3)
   return false;
 }
 else
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true
   event.returnValue = false;
   return false;
  }
}
 
document.oncontextmenu = nocontextmenu;  // for IE5+
document.onmousedown = norightclick;  // for all others

function StatusMsg(msgStr) {
  status=msgStr;
}
//function detail(number) {
//  addr = "./photo.pl?p=" + number
//  parent.frames['gallery'].window.location=addr;
//}

//function popupWin() {
//text =  "<html>\n<head>\n<title>Pop Window</title>\n<body>\n";
//text += "<center>\n<br>";
//text += "<a href='http://javascript.internet.com/new' target='_blank'><h2>New JavaScripts</h2></a>";
//text += "</center>\n</body>\n</html>\n";
//setTimeout('windowProp(text)', 3000); 		// delay 3 seconds before opening
//}
//function windowProp(text) {
//newWindow = window.open('','newWin','width=300,height=100');
//newWindow.document.write(text);
//setTimeout('closeWin(newWindow)', 5000);	// delay 5 seconds before closing
//}
//function closeWin(newWindow) {
//newWindow.close();				// close small window and depart
//}

function detail(img) {
path = './detail.php?';
path += img;
imgWindow = window.open(path,'newWin','width=620,height=620');
}

//-->