J.Q.
We put a regular Baby gate in the window. It fit snugly inside the window frame, the top of the gate is just above where the window locks, and he cannot push it out. I have upstairs bedrooms, and have my whole life. I rememer my mom doing the same thing when I was little. HTH, at least it won't cost you a ton of money buying something new!
~JENN q