<!DOCTYPE html>function aboveFrames(){document.getElementById('myTable').frame="above";}function belowFrames(){document.getElementById('myTable').frame="below";}id="myTable"100200300400type="button" onclick="aboveFrames()" value="Show above frames"type="button" onclick="belowFrames()" value="Show below frames"