function newsentry(date,link,href,txt)
{
document.write(date);document.write(': ');
if (link != " ") { 
 document.write(' <a href="');
 document.write(href);
 document.write('">');
 document.write(link);
 document.write('</a>');
}
document.write(txt);
document.write('<br><br>');
}

function menuentry(txt,link)
{
  if (link == ".") {
    document.write('<tr bgcolor="#dcdcdc" height="1">');
    document.write('<td width="15"></td><td></td></tr>');
    document.write('<tr height="1">');
    document.write('<td width="15"></td><td></td></tr>');
    document.write('<tr bgcolor="#444444">');
    document.write(' <td width="15"></td>');
    document.write(' <td height="38">');
    document.write('  <span class="menubold">');
  } else {
    document.write('<tr bgcolor="#dcdcdc" height="1">');
    document.write('<td width="15"></td><td></td></tr>');
    document.write('<tr height="1">');
    document.write('<td width="19"></td><td></td></tr>');
    document.write('<tr bgcolor="#dcdcdc">');
    document.write(' <td width="15"></td>');
    document.write(' <td height="38">');
    document.write('  <span class="menu">');
    document.write('  <a href="') ; document.write(link) ; document.write('">');
  }
  if (txt == 1) { document.write('Home'); 
  } else if (txt == 2) {document.write('Recent Talks');
  } else if (txt == 3) {document.write('PYTHIA 6');
  } else if (txt == 4) {document.write('SUSY Les Houches Accord');
  } else if (txt == 5) {document.write('MC4BSM');
  } else if (txt == 8) {document.write('PYTHIA 8');
  } else { document.write(txt); 
  }
  if (link != ".") document.write('  </a>')
  document.write('  </span></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write(' <td colspan="2" height="15"></td>');
  document.write('</tr>');
}

function header(txt,txtR) {
document.write('<table cellspacing="0" cellpadding="0" border="0" width="100%" bgcolor="#dddddd">');
document.write('<tr height="1"><td colspan="5" bgcolor="#ffffff"></td></tr>');
document.write('<tr height="1"><td colspan="5" bgcolor="#eeeeee"></td></tr>');
document.write('<tr height="1"><td colspan="5" bgcolor="#ffffff"></td></tr>');
document.write('<tr height="56"><td width="15"></td><td><span class="header">');
document.write(txt);
document.write('</span></td>');
document.write('<td width="160" valign="center"><center>(Now at <a href="http://www.cern.ch">');
document.write('CERN</a>)</center>');
document.write('</td>')
document.write('<td align="right">');
if (txtR != '') {
 document.write(txtR);
}
document.write('<td width="19"></td></tr>');
document.write('<tr height="1"><td colspan="5" bgcolor="#ffffff"></td></tr>');
document.write('<tr height="1"><td colspan="5" bgcolor="#dddddd"></td></tr>');
document.write('<tr height="1"><td colspan="5" bgcolor="#ffffff"></td></tr>');
document.write('<tr height="1"><td colspan="5" bgcolor="#eeeeee"></td></tr>');
document.write('<tr height="19"><td colspan="5" bgcolor="#ffffff"></td></tr>');
document.write('</table>');
}

function subheader(txt) {
document.write('<table cellspacing="0" cellpadding="3" border="0" width="100%">');
document.write('<tr><td width="0"></td><td><span class="subheader">');
document.write(txt);
document.write('</span></td></tr>');
document.write('</table>');
}

function top()
{
document.write('<table cellspacing="0" cellpadding="0" border="0" width="100%">');
document.write('<tbody>');
document.write(' <tr>');
document.write('  <td height="20" valign="bottom" align="left">');
document.write('   <img src="img/gold-bullet.gif" alt=" * ">');
document.write('   <a href="http://www.fnal.gov/pub/today/">Fermilab Today</a> &nbsp; &nbsp;');
document.write('   <span align="left"><img src="img/gold-bullet.gif" alt=" * ">');
document.write('   <a href="http://theory.fnal.gov/seminars/seminars.html">Fermilab Theory Seminars</a></span>');
document.write('   &nbsp; &nbsp; <span align="left"><img src="img/gold-bullet.gif" alt=" * ">');
document.write('   <a href="http://theory.fnal.gov/jetp/">Wine&Cheese Seminars</a></span>');
document.write('  </td>');
document.write('  <td width="15"></td>');
document.write(' </tr>');
document.write('</tbody>');
document.write('</table>');
}

function address()
{
document.write('<br>');
document.write(' <span class="smallblack">');
document.write('Peter Z. Skands<br>');
document.write('Associate Scientist<br>');
document.write('Theoretical Physics<br>');
document.write('Fermilab MS106<br>');
document.write('PO Box 500<br>');
document.write('Batavia IL-60510<br>');
document.write('USA<br><br>');
document.write('Home (USA):<br>');
document.write('29W473 Blackthorn Ln (<a href="http://maps.google.com/maps?q=29W+473+Blackthorn+Lane,+Warrenville,+IL&ie=utf-8&oe=utf-8&rls=org.mozilla:en-GB:official&client=firefox-a&um=1&sa=N&tab=wl">map</a>)<br>');
document.write('Warrenville IL-60555<br>');
document.write('USA<br><br>');
document.write('Home (France):<br>');
document.write('610 Rue des Moraines<br>');
document.write('F-01170 Chevry (Veraz)<br>');
document.write('France<br><br>');
document.write('Tel (FNAL):<br> &nbsp; (+1) 630 840-2270<br>');
document.write('Fax (FNAL):<br> &nbsp; (+1) 630 840-5435<br>');
document.write('Cell (USA):<br> &nbsp; (+1) 630 456-1962<br>');
document.write('</span><br><br>');
}

function menusep(txt)
{
    document.write('<tr bgcolor="#dcdcdc" height="1">');
    document.write('<td width="15"></td><td></td></tr>');
    document.write('<tr height="1">');
    document.write('<td width="15"></td><td></td></tr>');

    document.write('<tr bgcolor="#dcdcdc" height="1">');
    document.write('<td width="15"></td><td></td></tr>');
    document.write('<tr height="1">');
    document.write('<td width="15"></td><td></td></tr>');

    document.write('<tr bgcolor="#dcdcdc" height="1">');
    document.write('<td width="15"></td><td></td></tr>');
    document.write('<tr height="1">');
    document.write('<td width="15"></td><td>');
    document.write('</td></tr>');

    document.write('<tr bgcolor="#dcdcdc" height="1">');
    document.write('<td width="15"></td><td></td></tr>');
    document.write('<tr height="1">');
    document.write('<td width="15"></td><td></td></tr>');
    document.write('<tr bgcolor="#dcdcdc" height="1">');
    document.write('<td width="15"></td><td></td></tr>');
    document.write('<tr height="1" bgcolor="#444444">');
    document.write('<td width="15"></td><td>');
     if (txt != " ") {
      document.write('<span class="boldorange">');
      document.write(txt);
      document.write('</span>');
    }
   document.write('</td></tr>');
    document.write('<tr height="19">');
    document.write('<td width="15"></td><td></td></tr>');
}