Don't use alert(); use $Windows