Two choices. Simple:
Code:
leftrightslide[0]='<a href="some.htm" target="_blank"><img src="dynamicbook1.gif" border=1></a>'
Advanced (notice the use of \ to escape the ' character):
Code:
leftrightslide[0]='<a href="some.htm" onclick="window.open(this.href, \'_blank\', \'top=100, left=150, width=450, height=400\');return false;"><img src="dynamicbook1.gif" border=1></a>'
The reason you must escape the ' as shown is that it is already being used to delimit the string that represents the linked image. If we don't escape it where it occurs inside those delimiters, the browser thinks the string has ended with trailing garbage. When that happens, you guessed it, it breaks the entire script.
Bookmarks