I have an image that I want to open a html file in a new window. When I code a stand-alone html file to do this it works fine (I'm using javascript commands to do it):

<html>

<script...