// script by delve7, dennis frey// you have no rights to copy from this script!// PDF fileloader (MAC & PC)var pdfFileLink;function loadPdf(pdfFile){	pdfFileLink = '../../library/other/grundrisse/' + pdfFile;			if (navigator.platform != 'MacPPC'){		openWindow(pdfFileLink,'pdf_window','no','no','no','no','no','no','no','no','no','center','center',790,580); }		else { 	window.location=(pdfFileLink); }}// openWindow & _popupWindow fucker | include this: openWindow('about:blank','name','no','no','no','no','no','no','no','no','no','center','center',790,580)function timedWindowOpener(){	setTimeout("openWindow('../home/home1.html','name','0','0','0','0','0','0','0','0',790,540)", 10);}var windowLink;var newWindow;function openWindow(wLink,wName,wDependent,wHotkeys,wResizable,wLocation,wDirectories,wStatus,wMenubar,wScrollbars,wToolbar,wTop,wLeft,wWidth,wHeight){windowLink = wLink;if (wTop && wLeft == 'center'){	var windowLeft = screen.width / 2 - wWidth / 2;	var windowTop = screen.height / 2 - wHeight / 2;}		else {		var windowLeft = wTop;	var windowTop = wLeft; }		confirmTimer();		newWindow = window.open(wLink,wName,'dependent='+wDependent+',hotkeys='+wHotkeys+',resizable='+wResizable+',location='+wLocation+',directories='+wDirectories+',status='+wStatus+',menubar='+wMenubar+',scrollbars='+wScrollbars+',toolbar='+wToolbar+',top='+windowTop+',left='+windowLeft+',width='+wWidth+',height='+wHeight);	newWindow.focus();}var confirmWindow;var timerCounter = 0;function confirmTimer(){	if (window.newWindow){	confirmWindow = 'ok';}		if (timerCounter == 7){	window.top.location=('nopop'+windowLink);}		if (confirmWindow != 'ok'){	timerCounter ++	setTimeout("confirmTimer()", 500);}	}
