Hey Pitbull,
my files won´t help you on this issue.
The calendar picture I´ve posted above shows the integration in one of my apps. It generates his entries from various pages, so posting the code will even more confuse you.
Let´s try to find a solution for your problem.
On the very first, delete all calendar related code from your template.
Now, include the appropriate css files and jquery in your head.inc.
Put the HTML code inside your calendar.php and throw the getEvens() function under the html.
After finishing this step, put the JavaScript function under the php part, within the calendar.php.