Hvad gør dette script
Hvad gør dette script ? sætter det nogle parametere på et popup vindue ???<SCRIPT Language="JavaScript">
<!-- hide script for old browsers
function eDankortRouter(form) {
var oHeight = 0;
var oWidth = 0;
var iHeight = 300;
var iWidth = 350;
var iLeft = 0;
var iTop = 0;
oHeight = top.window.screen.availHeight;
oWidth = top.window.screen.availWidth;
if(oHeight > 3*iHeight)
iHeight = oHeight/3;
if(oWidth > 3*iWidth)
iWidth = oWidth/3;
if(oWidth > iWidth)
iLeft = (oWidth - iWidth)/2;
if(oHeight > iHeight)
iTop = (oHeight - iHeight)/2;
window.open('','router','scrollbars=yes,toolbar=no,directories=no,menubar=no,resizable=no,status=yes,width='
+ iWidth + ',height=' + iHeight + ',left='
+ iLeft + ',top=' +iTop +'dependent=yes');
form.target = 'router';
form.submit();
};
// -- end hiding -->
</SCRIPT>
