Hi,
I'm actually the guy who made that script - it's fun to see other people using it!
Why don't you try this:
Code:
<script type="text/javascript" src="http://konami-js.googlecode.com/svn/trunk/konami.js"></script>
<script type="text/javascript">
konami.code = function() {
window.open('{image_url}','mywindow','width={image_width},height={image_height},left=0,top=100')
}
Obviously replace {image_url} with the URL to the image you want. That might be the simplest one-line solution to what you're trying to do.
The example page I setup actually sort of does what you're describing:
http://www.snaptortoise.com/konami-js/Try entering the Konami Code and you'll see an image fade in. It's a bit fancier than just calling alert() though and requires using jQuery, so this may not be ideal.