<?php
/************************
Instructions:
1. In the examples below a drawing for one of 
   the Knowledge House hearings was used. 
	Replace it with the filename you are using.

2. When inserting the image directly into the Flash movie
   the height and width must be set.
	Image quality may suffer, thus it may be necessary to use 
	a separate image for inline display.

Call by inserting this in text:
<a href="http://www.allnovascotia.com/story_img/getpic.php?imgName=khi_20050323.jpg" target="_blank"><b><font color='#000099'>Click here</font></b> for illustration by Catherine MacLean.</a> (New window will open.)<br><br>

To insert picture directly in the story:
<img src='story_img/khi_20050323.jpg' width='217' height='307'>
*************************/
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>ALLnovascotia.com</TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">


<SCRIPT LANGUAGE="JavaScript1.1">
function right(e) {
var msg = "Sorry, you don't have permission to right-click.";
if (navigator.appName == 'Netscape' && e.which == 3) {
alert(msg);
return false;
}
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(msg);
return false;
}
else return true;
}

function trap() 
  {
  if(document.images)
    {
    for(i=0;i<document.images.length;i++)
      {
      document.images[i].onmousedown = right;
      document.images[i].onmouseup = right;
      }
    }
  }
// End -->
</SCRIPT>

<STYLE TYPE="text/css">	
	BODY {margin: 0pt}	
	p	{ text-align: left;
		  font-family: Arial, Helvetica, sans-serif;
		  font-size: 9pt;
		  font-weight: normal;
		  padding: .2em;}
		@media print { body { display:  none; } }
</STYLE>		  
</HEAD>
<BODY ondragstart="return false" onselectstart="return false" onLoad="trap()">
<?php
if ( isset ($imgName ) ){
	$imgLocation = "http://www.allnovascotia.com/story_img/" . $imgName;
	echo "<IMG SRC='$imgLocation' BORDER='0' ALT=''>";
}else{
	echo "Image file not found";
}
?>
</BODY>
</HTML>
