// CommonHeading.js

function getSelect(s) { return s.options[s.selectedIndex].value }

function newPad() {
  my_pad=window.open('http://www.nova.edu/optometry/memo_pop.htm',
         'memo1','left=0,top=0,width=350px,height=243px');
  my_pad.focus();
}

function newCal() {
  my_cal=window.open('http://www.nova.edu/~rumsey/JS/cal/cal.htm',
         'cal1','left=0,top=0,resizable=yes,width=200px,height=250px');
}

var str = '';
    str += '<div align=center>';
    str += ' <table border="0" cellspacing=20>';
    str += ' <tbody>';
    str += ' <tr>';
    str += ' <th valign=center>';
    str += ' <a href=http://www.nova.edu>';
    str += ' <img src="http://www.nova.edu/optometry/nsuo_faculty/Posters/NOVA-OPT-Blue.gif"';
    str += ' height="125px" width="250px" border="0" />';
    str += ' </a>';
    str += ' </th>';

    str += ' <th>';
    str += ' <h1><a href=http://optometry.nova.edu>College of Optometry</a></h1>';
    str += ' <button onClick="javascript:newPad()">Memo Pad</button>';
    str += ' &nbsp;&nbsp;';
    str += ' <button onClick="javascript:newCal()">Calendar</button>';
    str += ' </th>';

    str += ' <th valign=center>';
    str += ' <a href=http://www.nova.edu/hpd>';
    str += ' <img src="http://www.nova.edu/common-lib/images/nsu_b_57.jpg" height="100" width="139" border="0" />';
    str += ' </a>';
    str += ' </th>';
    str += ' </tr>';
    str += ' </tbody>';
    str += ' </table>';
    str += '</div>';
document.write(str);

