Guys, thank you, but it still does not work. 1) The MaurĂcio's solution is just a way of extracting the href value and creating onlick event to jump to that link. What I need is to emulate a click on the a element without opening a link directly. The reason for that: Rokbox scans all rel="rokbox" elements and generates a set of divs bevore closing body tag. Somehow the links are binded with some internal RokBox functions, so clicking on the link opens a RokBox with the link target inside.
2) Yes, I am using both mootools and jquery with noConflict() declaration - it works perfectly 3) The problem is that I cannot find the function inside RokBox to call it directly from jscript function. At the same time I would rather prefer to use RokBox, because it works perfectly for complex independent pages with ajax, flash etc inside. RokBox creates an iframe inside. The point is that I need to find either a way of emulating the link click or a function inside RokBox, which is difficult, because it is packed any more ideas?