// // // // // function lightFrame(iframesrc, closeImgSrc,mytext,lightBoxColor,txtClass, txtwidth, txtheight) { var darkLayer = document.createElement('div'); darkLayer.className='lightFrame_darkLayer'; var bodyElement = document.getElementsByTagName("body"); var paddingValue = 10; bodyElement[0].style.cursor = "wait"; var closeImgElement = new Image(32, 32); closeImgElement.src = closeImgSrc; closeImgElement.style.cursor = "pointer" ; var bigDiv = document.createElement('div'); bigDiv.className='lightFrame_bigDiv'; bigDiv.style.zIndex = 300; bigDiv.style.position = "absolute"; bigDiv.style.backgroundColor = '#f0f0f0'; bigDiv.style.border = '2px solid silver'; bigDiv.style.padding = paddingValue + 'px'; var txtElement = document.createElement('text'); txtElement.innerHTML = '