Of one, seems like you're missing the $CSS line... I only see a reference to the .css file, you're missing the colors for the categories.
Of two, the $OL line needs to be directly after the <body> tag... yours is not, which is why the popup is offset.
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here
* Not affiliated with EasyPHPCalendar or NashTech Inc.