what script do i need

I need something that will allow my visitors to be able to add the games off my site to their site. Basically so it takes the game code also the page code and just puts it together. Anyone know? thanks