How To Do a CSS PopUp Without Opening a New Window

i am using the code fom above for popup div
but getting error

object required in IE

& poupdiv is null in FF