modify stytle and popwindow