added optional parameter setCssId
added optional parameter setCssId
added modulName to use for the log functions
changed .content property to .popupContent because "content" is a javascript specific word