// sciLib.js

function confirmArticle(articleFileName){

	confirmWindow = window.open('','articleConfirm','width=400,height=200,resizable,scrollbars,status=0');
	var confirmHTMLString = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> \
	<html><head><title>Bayer Science Library</title> \
	<link href="/Resources/sciencelibrary/sciLib.css" rel="stylesheet" type="text/css" media="all" /> \
	</head> \
	<body><div class="sciLibConfirm"><p style="font-size: 16px;">All statements, claims, or product endorsements made in these articles are the opinions of the authors and do not necessarily reflect the views of Bayer or any of its affiliates.</p> \
	<form> \
	<div class="button"><input type="button" class="button" value="I have read and understand" onclick="window.open(\'/Resources/sciencelibrary/articles/'+articleFileName+'\',\'articleDisplay\',\'width=800,height=800,resizable,scrollbars\'); window.close();"></div> \
	</form> \
	</div></body></html>';

    confirmWindow.document.open();
	confirmWindow.document.write(confirmHTMLString);
    confirmWindow.document.close();
	confirmWindow.focus();
}

