Lines Matching refs:document

54 	} else if (document.documentElement && document.documentElement.scrollTop){	 // Explorer 6 Strict
55 yScroll = document.documentElement.scrollTop;
56 } else if (document.body) {// all other Explorers
57 yScroll = document.body.scrollTop;
77 xScroll = document.body.scrollWidth;
79 } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
80 xScroll = document.body.scrollWidth;
81 yScroll = document.body.scrollHeight;
83 xScroll = document.body.offsetWidth;
84 yScroll = document.body.offsetHeight;
91 …} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Stri…
92 windowWidth = document.documentElement.clientWidth;
93 windowHeight = document.documentElement.clientHeight;
94 } else if (document.body) { // other Explorers
95 windowWidth = document.body.clientWidth;
96 windowHeight = document.body.clientHeight;
155 function listenKey () { document.onkeypress = getKey; }
165 var objOverlay = document.getElementById('overlay');
166 var objLightbox = document.getElementById('lightbox');
167 var objCaption = document.getElementById('lightboxCaption');
168 var objImage = document.getElementById('lightboxImage');
169 var objLoadingImage = document.getElementById('loadingImage');
170 var objLightboxDetails = document.getElementById('lightboxDetails');
223 selects = document.getElementsByTagName("select");
256 objOverlay = document.getElementById('overlay');
257 objLightbox = document.getElementById('lightbox');
264 selects = document.getElementsByTagName("select");
270 document.onkeypress = '';
286 if (!document.getElementsByTagName){ return; }
287 var anchors = document.getElementsByTagName("a");
299 if (document.getElementById("overlay") != undefined) { return; }
317 var objBody = document.getElementsByTagName("body").item(0);
320 var objOverlay = document.createElement("div");
340 var objLoadingImageLink = document.createElement("a");
345 var objLoadingImage = document.createElement("img");
360 var objLightbox = document.createElement("div");
368 var objLink = document.createElement("a");
380 var objCloseButton = document.createElement("img");
393 var objImage = document.createElement("img");
398 var objLightboxDetails = document.createElement("div");
403 var objCaption = document.createElement("div");
409 var objKeyboardMsg = document.createElement("div");