function openOaaPopup(/* Objectid */ objectId) { var url= "https://anzeigenannahme.mediapilot.de/AdCounter/se/index.jsp?objekt=" + objectId + "&rand=" + Math.random(); var wname = objectId; var wheight=570; var wwidth=808; var windowtop = ((screen.height - wheight) /2) -20; var windowleft = (screen.width - wwidth) /2; var browserName=navigator.appName; var browserVer=parseInt(navigator.appVersion); if(browserName=="Netscape") { if(browserVer>4) { wwidth=wwidth+15; wheight=wheight+5; } } openwin= window.open(url,wname,"toolbar=0,width=" + wwidth + ",height=" + wheight + ",location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,left=" + windowleft + ",top=" + windowtop); openwin.focus(); }