// Shoah Foundation Agreement function

function shoahAgreement(person) {
	
	var submitText = "if (document.Iagree.Agree[0].checked)";
	submitText = submitText + "{self.opener.location='http://jpl.coj.net/coll/shoah/shoah_" + person + ".html'; self.close();}";
	submitText = submitText + "else";
	submitText = submitText + "{ alert ('You must agree to the Terms of Agreement in order to view the Streaming Video portion of this collection.');}";
	
	shoahWin = window.open('','OpenWin','width=490,height=400,resizable=yes,scrollbars=no');
	
	var winContent = '<HTML><head><title>Shoah Foundation Agreement</title>';
	winContent = winContent + '<link rel="stylesheet" TYPE="text/css" href="/common/styles/layout.css">';
	winContent = winContent + '<script TYPE="text/javascript" src="/common/javascripts/scripts.js"></script>';
	winContent = winContent + '</head>';
	winContent = winContent + '<body style="background-color:#ffffcc">';
	winContent = winContent + '<div align="center">';
	winContent = winContent + '<h5 style="margin:3px">You will be accessing Streaming Video.';
	winContent = winContent + '<br />';
	winContent = winContent + 'Before viewing the videos, you must agree to the terms below.</h5>';
	winContent = winContent + '<br />';
	winContent = winContent + '<div style="border:1px solid #000000; padding:10px; width:450px; font-size:11px; background-color:#eeeeee; overflow:auto; height:250px;">	';
	winContent = winContent + '<h3 align="center">Terms of Use<br />';
	winContent = winContent + 'Survivors of the Shoah Visual History Foundation</span></h3>';
	winContent = winContent + '<div align=&quot;left&quot;>';
	winContent = winContent + '<p>The Shoah Foundation owns the intellectual property rights, including copyrights, to its videotaped interviews.  All rights are reserved by the Shoah Foundation.</p>';
	winContent = winContent + '<p>Shoah Foundation information involves privacy interests and is not in the public domain. Unauthorized copying, downloading, recording, or publication of Shoah Foundation interviews, in whole or in part, is strictly prohibited and may subject an individual or entity to penalties for copyright infringement.</p>';
	winContent = winContent + '<p>All users agree that any use of images or videotape segments from Shoah Foundation interviews requires prior written permission from the Shoah Foundation.</p>';
	winContent = winContent + '<p>All users agree that any use or publication of information from Shoah Foundation interviews in excess of &ldquo;Fair Use&rdquo; as specified under 17 USC &sect;107 and &ldquo;Fair Practice&rdquo; as specified under Article 10 of the Berne Convention, requires the prior written permission from the Shoah Foundation.</p>';
	winContent = winContent + '<p>All users who publish information from Shoah Foundation interviews, in whole or in part, within the Fair Use or Fair Practice exemptions, should include the following reference/citation:</p>';
	winContent = winContent + '</div>';
	winContent = winContent + '<blockquote class="small">';
	winContent = winContent + 'Interviewee&rsquo;s first name, first intial of interviewee&rsquo;s surname, year of interview, followed by &ldquo;Interview by Survivors of the Shoah Visual History Foundation&rdquo;, city of interview, state or province of interview, country of interview, day and month of interview, tape number(s), and time code, if applicable.';
	winContent = winContent + '</blockquote>';
	winContent = winContent + '<div align=&quot;left&quot;>';
	winContent = winContent + '<p>';
	winContent = winContent + 'The Shoah Foundation makes no representations or warranties, express or implied, regarding Shoah Foundation interviews.  The Shoah Foundation does not verify the accuracy of the information in the videotaped interviews.  Such information may infringe upon privacy or intellectual property rights of other persons or entities, and may contain defamatory comments or material owned by third partes.</p>';
	winContent = winContent + '</div>';
	winContent = winContent + '<h3>Contacting the Shoah Foundation</h3>';
	winContent = winContent + '<p>To contact the Foundation or request permission to publish, please mail or fax your inquiry to the following:  webmaster@vhf.org .</p>';
	winContent = winContent + '</div>';
	winContent = winContent + '<form name="Iagree" method="get">';
	winContent = winContent + '<input type="radio" name="Agree" value="true" />';
	winContent = winContent + '<strong>Agree</strong>';
	winContent = winContent + '<input type="radio" name="Agree" value="false" checked />';
	winContent = winContent + '<strong>Disagree</strong>';
	winContent = winContent + '<br /><br />';
	winContent = winContent + '<input type="button" value="Submit" onclick="' + submitText + '">';
	winContent = winContent + '</form>';
	winContent = winContent + '</div>';
	winContent = winContent + '</body>';
	winContent = winContent + '</html>';	
	
    shoahWin.document.write(winContent);
    shoahWin.focus();
}