function antipop(lang,recordID) {

	properties1280 = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,left=0,top=0,height=" + (screen.availHeight-10) + ",width=" + (screen.availWidth-10);
	properties1024mac = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,left=0,top=0,height=" + screen.height + ",width=" + (screen.width+15);
	properties1024macie = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,left=0,top=0,height=" + screen.height+ ",width=" + screen.width;
	properties1024pc = "statusbar=no, menubar=no,fullscreen=1,scrollbars=no";
	
	if(screen.width < 1025){
		if(window.navigator.platform=="Win32"){
			newWindow = window.open("http://www.schirn-kunsthalle.de/antireflex/antireflex.php?lang="+lang+"&recordID="+recordID,"antireflex",properties1024pc);
		} else {
			
			if (navigator.appName=="Microsoft Internet Explorer"){
				newWindow = window.open("http://www.schirn-kunsthalle.de/antireflex/antireflex.php?lang="+lang+"&recordID="+recordID,"antireflex",properties1024macie);
			} else {
				newWindow = window.open("http://www.schirn-kunsthalle.de/antireflex/antireflex.php?lang="+lang+"&recordID="+recordID,"antireflex",properties1024mac);
			}
		}
	
	} else if(screen.width > 1024){
		
		newWindow = window.open("http://www.schirn-kunsthalle.de/antireflex/antireflex.php?lang="+lang+"&recordID="+recordID,"antireflex",properties1280);
	
	}
	
	if (recordID == 0) {
		
		if (lang == "de") {
			
			location.href = "http://www.schirn-kunsthalle.de/antireflex/exit_de.htm";
		
		} else {
			
			location.href = "http://www.schirn-kunsthalle.de/antireflex/exit_en.htm";
		
		}
		
	} else {
		
		location.href = "http://www.schirn-kunsthalle.de/antireflex/continue.php?lang="+lang+"&recordID="+recordID;
		
	}

	
	
}
