if (!lastShown || now - parseInt(lastShown, 10) > 600000) { // 10 minutes

Loading, please wait...