The jQuery function returns an object containing only the elements found, so you can include identifiers that are not on every page and the function still works. On the RNZ site there are some divs on the home page that do not appear on other pages, but require the equal heights treatment. This means the call above works on any page without generating errors.

i have used this and have run into problems when I use show hide functionality with divs in Firefox and Chrome only. Any ideas why it's not working I have tried clearing the content but this doesn't work.