Pop up windows

am trying to create a gallery page of 12 thumbnail photos and when you click on one of the photos it will open a pop up window to display it at a larger size.

Now i got one of them to work but cant get the others. Ne ideas ne one?


Photo 1 Button (action script)

On (realease) {
get URL(“Javascript:popupwindow( );”, “_self”);

When that is published, in the html i have got:-

<script LANGUAGE=“JavaScript”>
function popupwindow(){
<meta http-equiv=Content-Type content=“text/html; charset=ISO-8859-1”>

Now that works for 1 button but wot about the others? Wot else do i need to add in.

Ne1 :*(

[AS]getURL(“javascript: popupwindow(‘me.swf’,‘500’,‘500’);”, “_self”);[/AS]

function popupwindow(pic,h,w){
	window.open( pic , null ,'height='+h+' width='+w+' menubar=0 resizable=0 scrollbars=0 status=0 titlebar=0 toolbar=0 left=0 top=0')

don’t call swf’s using this function. instead why don’t you just call a jpg?