Pop-up with java issue AS2

Hi, hope someone can help me with this. i have a slider in which each thumbnail calls for a new .swf. it works fine up to this point, but when i try to make the swf load in a pop-up it stops working. Here is the code i’m using (i didn’t make the code, i’m just updating a site that was already up, just need to make it pop-up):

MovieClip.prototype.makeBorder = function (col, bsize)
{
var w = this._width;
var h = this._height;
this.createEmptyMovieClip(“border_mc”, 10);
with (this.border_mc)
{
lineStyle(col, 16777215, 0);
lineTo(w, 0);
lineTo(w, h);
lineTo(0, h);
lineTo(0, 0);
} // End of with
};
var img_array = [“prensa_14”, “sep_ultim_2”, “prensa_13”, “sep_ultim”, “prensa_12”, “sep_ultim_2”, “prensa_11”, “sep_ultim”, “prensa_10”, “sep_ultim_2”, “prensa_09”, “sep_ultim”, “prensa_08”, “sep_ultim_2”, “prensa_07”, “sep_ultim”, “prensa_06”, “sep_ultim_2”, “prensa_05”, “sep_ultim”, “prensa_04”, “sep_ultim_2”, “prensa_03”, “sep_ultim”, “prensa_02”, “sep_ultim”, “prensa_01”, “sep_ultim_2”];
tnailer.onThumbLoad = function (mc)
{
var _loc1 = mc;
_loc1.makeBorder();
_loc1.border_color = new Color(_loc1.border_mc);
display = “Ultimas Campañas " + (_loc1.no + 1) + “/” + img_array.length;
};
tnailer.onThumbsLoaded = function (null)
{
display = “”;
};
tnailer.onThumbOver = function (mc)
{
mc.border_color.setRGB(null);
};
tnailer.onThumbOut = tnailer.onThumbReleaseOutside = function (mc)
{
if (mc != this.active)
{
mc.border_color.setRGB(null);
} // end if
};
tnailer.onThumbRelease = function (mc)
{
var _loc2 = mc;
this.active.border_color.setRGB(null);
this.active = _loc2;
loc2.border_color.setRGB(null);
mc.border_color.setRGB(null);
getURL ("javascript:NewWindow=window.open([COLOR=“YellowGreen”]’…/images/noticias/flash/prensa
” + _loc2.no + “.swf’[/COLOR], ‘newWin’, ‘width=775, height=531, left=95, top=147, toolbar=No,location=No,scrollbars=No,status=No,resize=No,fullscreen=No’); NewWindow.focus(); void(0);”);
};
tnailer.loadThumbnails(img_array, “…/images/noticias/flash/thumbs/”);
display = “Cargando Ultimas Campañas 1/” + img_array.length;

the issue is marked in green. if i just ask it to load the same file for all thumbnails there is no problem, but when i ask it to look for a specific file using _loc2.no var it does nothing.

please help!!! and thanks :kir: