Used window & document vars