add: objOverlay.style.visibility = 'hidden'; 
context: 	initialize: function() {		if (!document.getElementsByTagName){ return; }		var anchors = document.getElementsByTagName('a');		// loop through all anchor tags		for (var i=0; i<anchors.length; i++){			var anchor = anchors[i];						var relAttribute = String(anchor.getAttribute('rel'));						// use the string.match() method to catch 'lightbox' references in the rel attribute			if (anchor.getAttribute('href') && (relAttribute.toLowerCase().match('lightbox'))){				anchor.onclick = function () {myLightbox.start(this); return false;}			}		}		var objBody = document.getElementsByTagName("body").item(0);				var objOverlay = document.createElement("div");		objOverlay.setAttribute('id','overlay');		objOverlay.onclick = function() { myLightbox.end(); return false; }		objBody.appendChild(objOverlay);				var objLightbox = document.createElement("div");		objLightbox.setAttribute('id','lightbox');		objLightbox.style.display = 'none';		objBody.appendChild(objLightbox);			var objOuterImageContainer = document.createElement("div");		objOuterImageContainer.setAttribute('id','outerImageContainer');		objLightbox.appendChild(objOuterImageContainer);		var objImageContainer = document.createElement("div");		objImageContainer.setAttribute('id','imageContainer');		objOuterImageContainer.appendChild(objImageContainer);			var objLightboxImage = document.createElement("img");		objLightboxImage.setAttribute('id','lightboxImage');		objImageContainer.appendChild(objLightboxImage);			var objHoverNav = document.createElement("div");		objHoverNav.setAttribute('id','hoverNav');		objImageContainer.appendChild(objHoverNav);			var objPrevLink = document.createElement("a");		objPrevLink.setAttribute('id','prevLink');		objPrevLink.setAttribute('href','#');		objHoverNav.appendChild(objPrevLink);				var objNextLink = document.createElement("a");		objNextLink.setAttribute('id','nextLink');		objNextLink.setAttribute('href','#');		objHoverNav.appendChild(objNextLink);			var objLoading = document.createElement("div");		objLoading.setAttribute('id','loading');		objImageContainer.appendChild(objLoading);			var objLoadingLink = document.createElement("a");		objLoadingLink.setAttribute('id','loadingLink');		objLoadingLink.setAttribute('href','#');		objLoadingLink.onclick = function() { myLightbox.end(); return false; }		objLoading.appendChild(objLoadingLink);			var objLoadingImage = document.createElement("img");		objLoadingImage.setAttribute('src', fileLoadingImage);		objLoadingLink.appendChild(objLoadingImage);		var objImageDataContainer = document.createElement("div");		objImageDataContainer.setAttribute('id','imageDataContainer');		objImageDataContainer.className = 'clearfix';		objLightbox.appendChild(objImageDataContainer);		var objImageData = document.createElement("div");		objImageData.setAttribute('id','imageData');		objImageDataContainer.appendChild(objImageData);			var objImageDetails = document.createElement("div");		objImageDetails.setAttribute('id','imageDetails');		objImageData.appendChild(objImageDetails);			var objCaption = document.createElement("span");		objCaption.setAttribute('id','caption');		objImageDetails.appendChild(objCaption);			var objNumberDisplay = document.createElement("span");		objNumberDisplay.setAttribute('id','numberDisplay');		objImageDetails.appendChild(objNumberDisplay);				var objBottomNav = document.createElement("div");		objBottomNav.setAttribute('id','bottomNav');		objImageData.appendChild(objBottomNav);			var objBottomNavCloseLink = document.createElement("a");		objBottomNavCloseLink.setAttribute('id','bottomNavClose');		objBottomNavCloseLink.setAttribute('href','#');		objBottomNavCloseLink.onclick = function() { myLightbox.end(); return false; }		objBottomNav.appendChild(objBottomNavCloseLink);			var objBottomNavCloseImage = document.createElement("img");		objBottomNavCloseImage.setAttribute('src', fileBottomNavCloseImage);		objBottomNavCloseLink.appendChild(objBottomNavCloseImage);				overlayEffect = new fx.Opacity(objOverlay, { duration: 300 });			overlayEffect.hide();				imageEffect = new fx.Opacity(objLightboxImage, { duration: 350, onComplete: function() { imageDetailsEffect.custom(0,1); }});		imageEffect.hide();				imageDetailsEffect = new fx.Opacity('imageDataContainer', { duration: 400, onComplete: function() { navEffect.custom(0,1); }}); 		imageDetailsEffect.hide();				navEffect = new fx.Opacity('hoverNav', { duration: 100 });		navEffect.hide();	},
meta: 2938	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2938/f282a7f0ebb58fdba1578baf83efdcadeed9d7b1/litebox.js/buggy/virtuemart/js/litebox/litebox.js