function createWindow(myTarget,myTitle,myPicture,myWidth,myHeight,myCaption) {
      var windowchar="height=" + myHeight + ",width=" + myWidth + ",resizable=yes"
      myOtherWindow = window.open("", myTarget, windowchar)
      if (myOtherWindow != null) {
          var otherWindowDefinition="<HTML><HEAD><TITLE>"
          otherWindowDefinition +=myTitle
          otherWindowDefinition +="</TITLE></HEAD><BODY><CENTER><IMG SRC="
          otherWindowDefinition +=myPicture
          otherWindowDefinition += "><BR><TABLE CELLPADDING=0 WIDTH="
	  otherWindowDefinition +=myWidth
	  otherWindowDefinition += "><TR><TD BGCOLOR=#FFFF00 WIDTH=15%>"
	  otherWindowDefinition += "<CENTER><FONT SIZE=-1>"
	  otherWindowDefinition +="<A HREF='javascript:window.close()'>Close Window</A>"
	  otherWindowDefinition += "</TD><TD><CENTER><FONT SIZE=-1><I>"
          otherWindowDefinition +=myCaption
          otherWindowDefinition += "</TD></TR></TABLE></BODY></HTML>"
          myOtherWindow.document.write(otherWindowDefinition)
          myOtherWindow.document.close()
       }
}


