// JavaScript Document
// Link to StyleSheet
document.write('<link href="http://triathlon.stanford.edu/stanford_style.css" rel="stylesheet" type="text/css">');

// Function for PopUp Window
<!--
function winPop(url, name, rs, w, h, status) {
 var resize = "";
 if (rs) {
 resize = "0,"; 
 }
 popupWin = window.open(url, name, 'scrollbars,' +
 'width=' + w + ',height=' + h + ',status=no');
 window.name = 'opener';
 }
function WinPopAll2(url, name, resize, w, h, status, toolbar, menubar, scroll) {
  var rs = "";
  var st = "";
  var tb = "";
  var mb = "";
  if (resize) { rs = "yes"; } else { rs = "no"; }
  if (status) { st = "yes"; } else { st = "no"; }
  if (toolbar) { tb = "yes"; } else { tb = "no"; }
  if (menubar) { mb = "yes"; } else { mb = "no"; }
  if (scroll) { sb = "yes"; } else { sb = "no"; }

  var opts = 'height=' + h +
             ', width=' + w +
             ', status=' + st +
             ', toolbar=' + tb +
             ', menubar=' + mb +
             ', scrollbars=' + sb +
             ', resizable=' + rs;
  window.open(url, name, opts);
}
function showAllResults(url) {
  WinPopAll2(url, 'main2', true, 640, 480, true, true, true, true)   
}
/* function winpop() { 
window.open("yourpage.htm","","height=610,width=500,status=no,toolbar=no,directories=no,
menubar=no,location=no,resizable=yes,scrollbars=no, left=150,top=25");
}
*/

// -->
