Actually, your first syntax looks good:
Code:
leftrightslide[0]='<a href="images/1_full.jpg" rel="lightbox" ><img src="1.jpg" /></a>'
The problem appears to be conflict between the two scripts' onload behaviors. This should be able to be resolved by removing this line from the conveyor script (it's about halfway down in the code):
Code:
window.onload=fillup
and putting it in an independent script code block in the head of the page before the link to the lightbox script:
HTML Code:
<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />
<script type="text/javascript">
window.onload=fillup
</script>
<script type="text/javascript" src="lightbox.js"></script>
Bookmarks