Can someone help me with a simple JS code, since I am new with it, but I need it for my website. There is incompatibility with this two lines

<a href="en.htm" onclick="return hs.htmlExpand(this, { objectType: 'ajax'} )">
<a href="img/02.jpg" class="highslide" onclick="return hs.expand(this)">

First one is used for pop-up window when someone press an icon for changing language on the website, second one is in other part of the html code and it is used for the gallery. If I remove the first line, the second works perfectly.
Thanks in advance
PS: I can post the entire code if needed