I have a question regarding the following scripts:

I have the following picture cube set on my homepage;


but would like to incorporate the 2nd link into it, (which asks the user to "add this page to favourites"):


Basically, I want the "add to favourites" bit to pop up and appear when user clicks through onto the picture cube (which revolves round on 3 pics). (I have already altered the cube so that each picture has a link through to my next page.)

Can someone please help and show me where the coding would go...

Thanks in advance,