function checkKeyPress(x)
{

    if      ( x.keyCode == 27 || x.which == 27 ) { document.getElementById("displayPage").className = "hideDiv"; }
//    else if ( x.keyCode == 32 || x.which == 32 ) { window.location='index.cgi?option=viewer&sessionID=Tt7C0goAAAoAADqZCtcAAAAF&cat=164657c647d2334303&pos=1'; }
// else if ( x.keyCode == 37 || x.which == 37 ) { window.location=''; }
// else if ( x.keyCode == 39 || x.which == 39 ) { window.location='index.cgi?option=viewer&sessionID=Tt7C0goAAAoAADqZCtcAAAAF&cat=164657c647d2334303&pos=1'; }
//    else if ( x.keyCode == 8 || x.which == 8 ) { window.location=''; }
    else { }

}

