function MakeNewWindow(imageName,msg) {
     
	x=new Image;
    x.src=imageName;
    OriginalWidth=x.width;
	Wide=700;
    OriginalTall=x.height;
	Tall=700;
   // alert("Image width is: "+Wide+" pixels, and image height is: "+Tall+" pixels.");
   // alert('incoming image name value ' + imageName);
    //var Wide = (document.images["'" + eval(imageName)+ "'"].width); 
	//var Tall = (document.images["'" + eval(imageName)+ "'"].height); 
	//Wide += 25;
    //Tall += 25;  //add room for title etc

	newWindow = window.open('DavidBusch','DavidBuschImages',resizeable='yes'+',width='+Wide+',height='+Tall)
	

// form the page to be seen
var newContent = '<HTML><HEAD><Title>'+ msg + '</Title>' 	
    newContent += '</Head>'
    newContent += '<br /><br /><br /><form>'
    newContent += '<center>'
   	newContent += '<img src=' + imageName + " border=0  align='center' height=450>"
	newContent += '<br /><br /><br /><br /><H2 align=center>' + msg + '</H2>'
  	newContent += '<input type=Button Name=New value="Close window" '
	newContent += ' onClick=self.close();>'
	newContent += '</center>'
	newContent += '</form>'
	newContent += '</body>'
	newContent += '</html>'
	
	newWindow.document.write(newContent)
	newWindow.document.close()  //close layout stream
	 }

function CloseNewWindow() {
   if (newWindow) {
     newWindow.close();
     }   //end of window statement

  }   //end of function CloseNewWindow
  //-->