<SCRIPT LANGUAGE="JavaScript">
<!-- //Hide 

 function popUp(URL) 
 {
  day = new Date();
  id = day.getTime();
  eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width=300,height=520,left=325,top=10');");
 }
//Unhide -->
</script>


<SCRIPT LANGUAGE="JavaScript">
	<!-- Begin
	function ViewImage(ifile,ix,iy,ititle) { 
	var win;
	var sWidth;
	var sHeight;
	var NS = (document.layers) ? 1 : 0;
	win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=no,left = 50,top = 50");

/*
	if (NS) {
	sWidth = win.innerWidth;
	sHeight = win.innerHeight;
	} else {
	sWidth = win.document.body.clientWidth;
	sHeight = win.document.body.clientHeight;
	}

	if(sWidth!=ix || sHeight!=iy) {
	win.close();
	setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
	return;
	}
*/
	win.document.open();
	win.document.write("<html><head><title>"+ititle+"</title>");
	win.document.write("</head><body bgcolor=#000000>");
	win.document.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">');
	win.document.write("<img src="+ifile+"></div></body></html>");
	win.document.close();
	}
/*
  This goes in the body:
<a href="javascript:ViewImage('http://img/large.jpg',576,303,'Description')"><img src="small.jpg" width=288 height=152 border=1></a>
or
<a href="javascript:ViewImage('http://img/large.jpg',576,303,'Description')">View the Picture</a>
*/
//  End -->
</script>

<script>
function externalLinks() { 
 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 = externalLinks;

</script>