/***********************************************************************************
* JavaScript which extracts screen resolution (height) and adjusts the height of
* the table providing the black borders accordingly via DOM update
************************************************************************************/

<!--  Determine appropriate height for border table    -->

newheight = (screen.height) + "px";

<!--  Grab attributes of border table                  -->

maintable = document.getElementById('bordertable');

<!--  Set height of border table to screen resolution  -->

maintable.style.height = newheight; 
