Problem 1 is the script tag that is created for infobubble does not contain a type="text/javascript" attributeProblem 2: Apparently a form tag cannot contain a style tag, which info bubble puts in the middle of the page.