center div not happening

center div not happening

Dear All


Click on the sqaure box displays a div in pop

displays the required data in popup.

if we scroll down to bottom of the page, and click on the square,
    a pop up window appears 

but not exactly in center of window.


please help