summaryrefslogtreecommitdiffabout
path: root/content/util.js
Unidiff
Diffstat (limited to 'content/util.js') (more/less context) (ignore whitespace changes)
-rw-r--r--content/util.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/util.js b/content/util.js
index 5af0978..c4af09e 100644
--- a/content/util.js
+++ b/content/util.js
@@ -59,3 +59,12 @@ function xp_node(xp,x) {
59 return rv.singleNodeValue; 59 return rv.singleNodeValue;
60} 60}
61 61
62/*
63 * pull in elements into documents as a member variables
64 */
65function pull_elements(th,d,els) {
66 for(var e in els) {
67 var en=els[e];
68 th[en] = d.getElementById(en);
69 }
70}