AHEM.
On the subject of gluing stuffs to glass, (as opposed to Stefan's possibly deranged childhood) aquarium sealant, which is primarily silicon, works well and can be found in most pet stores.