Event handler isn't called (or isn't attached)

Event handler isn't called (or isn't attached)

Hi,

on this site here:  http://wwwu.edu.uni-klu.ac.at/pgraeml/index.php I have two subsites (Content1 and Content2) which I call via the menu on the left side.

The problem is, that I cannot load the sites in domReady directly. I don't know why and I've search a long time, but unfortunately, I do not find the error.

Content1 works (it is called with onclick):
  1. <a href="#" id="content1" onclick="loadSite('content1');">Content 1</a>

Content2 does not work (it is call within domReady):
  1. $('#content2').click(function(){ loadSite('content2'); });

If anyone has an idea, please let me know.

Thx in advance.
Patrick