Invoking page include pop up from Java snippet is not working

@stephen: in the function i am passing opptyid parameter right. that is an ID of opportunity. which we are saving using java snippet. and this page include need that ID as an input in order to query it’s models