rev #1 poplogin, including jquery, lightview