// test whether all settings for the window are correct and if not
// reload the window in a new window with the specific settings which
// e.g. avoid resizing of the window during the experiment which would
// make the applet restart.

if (this.name !="EXP")
{
  EXP= window.open(this.document.location.href, "EXP", "height=550,width=750,ScreenX=1,ScreenY=1,top=1,left=1,menubar=no,toolbar=no,scrollbars=yes,resizable=no");

  if (navigator.appName == "Microsoft Internet Explorer")
  {
	alert("The experiment page will be loaded into a separate window. The current window will be closed (you can open it again after you completed the experiment). If your browser asks you for confirmation to close this window, we kindly ask you to press 'OK' or 'Yes'. Thank you."); 
  }
  EXP.focus();
  self.close();
}

this.document.writeln("<hr><div align=center><table width=100% align=left><tr><td><p><a name=experimenters><b>Experimenter:</b></a><td><td rowspan=2 valign=top align=right><a href=http://www.stanford.edu/ target=others><img src=../images/h-seal.gif border=0 hspace=0 vspace=0 alt=Stanford University align=right></a></td></tr>");
this.document.writeln("<tr><td><p><a href=http://www.stanford.edu/~tiflo/ target=other>Florian Jaeger</a>, <br>Department of Linguistics<br>Margaret Jacks Hall, Building 460<br>Stanford University<br>Stanford, CA 94305-2150<br><br>");
this.document.writeln("phone: USA (650)-723-0924 or (650)-723 9018<br>");
this.document.writeln("email: <a href=mailto:tiflo@stanford.edu>tiflo@stanford.edu</a> (Florian Jaeger)<br>");
this.document.writeln("</td></tr></table></div>");
this.document.writeln("<div align=right class=copyright>page design: &copy; 2003 by <a href=http://www.stanford.edu/~tiflo/ target=other>tiflo</a></div><hr>");
