F5 - Variables in the GetURL Function?

Does anyone know how to put a variable in the getURL function?

What I’m looking to do is something like this, but I’m not sure of the syntax:

function viewLarger (imgID) {
getURL (“javascript:spawn(’_tombstones/index.php?id=(imgID)’,‘tombstone’,216,245,‘no’)”);
}

By the way, the spawn code is just a javascript function to load a popup.

I’m sure that this is possible, right? I’m just not the world’s best syntax-guy. I don’t know exactly how to write this.

Any help?

G

um, try this:

getURL("javas**cript:spawn('_tombstones/index.php?id="+imgID+"','tombstone',216,245,'no')");

and if that doesn’t work try this:

fscommand("spawn('_tombstones/index.php?id="+imgID+"','tombstone',216,245,'no')");

Thanks man. I’ll check it out and let you know.

Word.
Greg