well you would have to code something up I assume.
There is no free floating variable defined with the page urls your on since your all ready there.
Links are defined to take you places hense there would be no actual link to somewhere you already are at.
You would define things in the actual code to do code mods. The variables for ads or photos depending on what product your talking about in the actual core showphoto.php or showproduct.php files.