var neu=null;
function Aimgfenster(id,profil_checker) {	
  neu=window.open('', 'remote', 'directories=no,width=800,height=480,location=0,menubar=0,personalbar=0,status=0,resizable=yes');
    if (neu != null) {
      if (neu.opener == null) {
        neu.opener = self;
      }
      neu.location.href = 'http://www.wiwi.de/afiles/popups/imganz.php?id='+id+'&p2z='+profil_checker;
    }	
  neu.focus();
}
function popup() { 
 var breite=screen.availWidth; 
 var hoehe=screen.availHeight; 
 var positionX=((screen.availWidth / 2) - breite / 2); 
 var positionY=((screen.availHeight / 2) - hoehe / 2); 
 var url='http://www.vwl-formelsammlung.de/'; 
 pop=window.open('','VWL','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=0,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); 
 pop.blur(); 
 pop.resizeTo(breite,hoehe); 
 pop.moveTo(positionX,positionY); 
 pop.location=url; 
}
onerror = stopError;
function stopError(){ 
  return true;
}
