thanks for the EDIT

I do have <base href="[(site_url)]"></base> in my headers. doono why I thought it makes a path error. thanks for a good lesson.
If I set the js path in the &js parameter it gets it fine now.
If I set the chunk name in the &js the result is this:
<script type="text/javascript" src="mgJs"></script>
I don’t have a problem with that since the path method can work and anyway I prefer the .js on external file but interesting it won’t recognize the js in the chunk. I guess that’s why it didn’t work for me the first time.
btw, for changing this to onHover the only change suppose to be in the chunk "mgGalleryPicture"
or anywhere else I missed it? can’t get the onHover to work still.
<li>
<a href="javascript:void(0);"
onHover="javascript:showPic('[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]','[+maxigallery.picture.title:htmlent+]','[+maxigallery.picture.descr:htmlent+]',[+maxigallery.picture_width_normal+],[+maxigallery.picture_height_normal+]);return
false;">
<img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]"
class="thumbnail" title="[+maxigallery.picture.title:htmlent+]"
alt="[+maxigallery.picture.title:htmlent+]" />
</a>
</li>