rendered paste bodyfunction popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
var Caller=self;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=750,height=600,scrollbars=yes');
return false;
}
if (mysql_result($res, albumidx)) {
$d[$x]="<a href='#' onclick=\"popup('view.php?albumidx=".mysql_result($res, $x, albumidx)."', this)\"><font color='#FFFFFF'>".mysql_result($res, $x, artistname)."<br>".mysql_result($res, $x, albumname)."<br><img src='albumcovers/".mysql_result($res, $x, albumidx).".jpg' border=0 width='90' height='90'><br>".substr(mysql_result($res, $x, addeddate), 0, 11)."</font></a>";
}
rendered html = <a href='#' onclick="popup('view.php?albumidx=17', this)">