document.write('
'); document.write('
'); function open_popup_(href){ var _screen = window.top.screen, _sWidth = _screen.width, _sHeight = _screen.height; var _pWidth = parseInt(_sWidth * 0.8), _pHeight = parseInt(_sHeight * 0.8); // Center the popup var _left = parseInt((_sWidth - _pWidth) / 2), _top = parseInt((_sHeight - _pHeight) / 2); // Decrease the top to include the title bar and url bar _top -= 40; window.parent.open( href, 'image', 'width='+ _pWidth +',height='+ _pHeight +',left='+ _left +',top='+ _top +',directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no' ); return false; }