Java Script PopUp

Proxy

LOSEVERLEIH
7 Juni 2009
402
12
Hallo Leute!

Ich hab ein Java Script PopUp das beim IE7 nicht funktioniert und bei Google Chrome schon! Ist das normal dass die beim IE nicht gehen oder nicht?

mfg
Proxy
 
PHP:
<script language="JavaScript"> 
<!--  
function PopUp() 
{ 
 var breite= 500px; 
 var hoehe= 500px; 
 var positionX=((screen.availWidth / 2) - breite / 2); 
 var positionY=((screen.availHeight / 2) - hoehe / 2); 
 var url='https://domain.de'; 
 pop=window.open('','Titel','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,fullscreen=0,width='+breite+',height='+hoehe+',top=0,left=0'); 
 pop.resizeTo(breite,hoehe); 
 pop.moveTo(positionX,positionY); 
 pop.location=url; 
 }
onerror = stopError;
function stopError()
{return true;}
//--> 
</script>