Tricking the genie back into the bottle is part of the story of Alladin and the magic lamp in one of the old movies. They are not always titled 'Alladin' though. The story comes from the '1001 Nights' stories, so there are movies featuring that story and several others and titled 'Arabian Nights' or '1001 Nights' or something like that. There are several in the 1940s and 1950s. I think "Arabian Nights'
http://www.imdb.com/title/tt0034465/ of 1942 is the really famous one.
Interesting trivia: One of the actors in that movie is Shemp Howard, yes, 'Shemp' of the Three Stooges. Didn't know they ever did anything else.
[ June 02, 2004, 16:19: Message edited by: Baron Munchausen ]