

function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}



<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

function writeMenu(menuName,nmImage,hlImage,link0,link1,link2,link3) {
  var mapName = menuName + 'Map';
  document.write('<td width="328" height="128"><p>');
  //document.write('<a href="info.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + menuName + ',\'\',' + hlImage + ',1)">');
  document.write('<a href="' + link0 + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'' + menuName + '\',\'\',\'' + hlImage + '\',1)">');
  document.write('<img name="' + menuName + '" border="0" src="' + nmImage + '" width="328" height="128" usemap="#' + mapName + '">');
  document.write('<map name="' + mapName + '">');
  document.write('<area shape="RECT" coords="0,0,175,100"     href="' + link0 + '">');
  document.write('<area shape="RECT" coords="175,8,320,40"    href="' + link1 + '">');
  document.write('<area shape="RECT" coords="175,48,320,80"   href="' + link2 + '">');
  document.write('<area shape="RECT" coords="175,88,320,120"  href="' + link3 + '">');
  document.write('</map></a>');
  document.write('</p></td>');
}

function writeAbout() {
  writeMenu('about','images/About0.jpg','images/About1.jpg','about.html','about_goals.html','about_system.html','about_author.html');
}

function writeFiles() {
  writeMenu('files','images/Files0.jpg','images/Files1.jpg','files.html','files_sources.html','files_binaries.html','files_license.html');
}

function writeInfo() {
  writeMenu('info','images/Info0.jpg','images/Info1.jpg','info.html','info_papers.html','info_examples.html','info_faq.html');
}

function writeDocs() {
  writeMenu('docs','images/Docs0.jpg','images/Docs1.jpg','docs.html','docs_installation.html','docs_tutorial.html','docs_apis.html');
}

function generateMail(text,name,domain,subj,body) {
  document.write('<a href="mailto:' + name + '@' + domain + '?subject=' + subj + '&amp;body=' + body + '">' + text + '</a>');
}

function writeContact() {
  document.write('<tr><td width="328"><div align="center"><font face="Arial, Helvetica, sans-serif" size="2">');
  document.write('<a href="index.html" class="matthias">home</a>');
  document.write(' ');
  generateMail('contact','matthias','opendialog.org','Ariadne','');
  document.write('</font></div>');
  document.write('</td></tr>');
}

function writeLower() {
  document.write('</div></td></tr>');

  document.write('<tr>');
  writeFiles();
  document.write('</tr><tr>');
  writeDocs();
  document.write('</tr><tr>');
  writeInfo();
  document.write('</tr>');
  writeContact();
  document.write('</table></td></tr></table>');
}

function writeTitle(navbar) {
  document.write('<table width="1000" border="3" cellspacing="0" cellpadding="4" bgcolor="#ffffff" bordercolor="#000040" bordercolorlight="#000040" bordercolordark="#000040" align="center" height="765">');
  document.write('<tr><td height="720"><table width="967" border="0" cellspacing="1" cellpadding="1" height="700">');

  document.write('<tr><td width="328">&nbsp;</td><td width="664"><div align="left" class="matthias"><STRONG><FONT size="6">');
  document.write('Ariadne Spoken Dialogue System');
  document.write('</FONT></STRONG></div></td></tr>');
  
  document.write('<tr><td width="328">&nbsp;</td><td width="664"><div align="left" class="matthias">');
  document.write(navbar);
  document.write('</div></td></tr><tr>');
}

function writeStart() {
  document.write('<td rowspan="5" valign="top" width="664"> <div align="justify" class="matthias">');
}