I'm drawing a blank as to how to duplicate the coupon feature on the following website:


On the left side there is a "Coupon" tab and when you click it, it opens up into a smaller window that you can print from. I understand that this is Javascript enabled but I don't understand how to go about making that small file that Javascript is directing to. I'm sure it's not as hard as I'm making it out to be but I seem to only know how to make full size web pages - not tiny ones you can print.

Any advice or direction would be GREATLY appreciated.