var txt;
var img_win;
function external() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
} 

window.onload = external;


if (document.layers){
	alert('You are attempting to view this page with Netscape Navigator version 4.\n The style (visual) features of this site are not compatible with that browser, and the site will not appear as intended.\n Please use a newer browser');
}

if ((!document.layers)&&(!document.getElementById)&&(!document.all)){
	alert('You are using a very old browser, or a non-standard browser. This site may not work or appear as intended.');
}

  var main_image;
  var caption_text;
  
  function openWin(img,txt){
   	 main_image = img;
	 caption_text = txt;
	 if(img_win && !img_win.closed){
		img_win.close(); 
	 }
     img_win = window.open('image_pop.html','image_window','width=250,height=100,location=no,scrollbars=no');


	 img_win.document.current_image = img;
	 //img_win.document.close();
	 img_win.focus();
	 img_win.document.cap_text = txt;


  }