I have JavaScript code and below line has problem.
if ((hr==20)) document.write(\"Good Night\"); document.getElementById(\'Night).style.display=\'\' <
if ((hr==20)) document.write(\"Good Night\"); document.getElementById(\'Night).style.display=\'\'
simply I think you are missing a single quote in your code
if ((hr==20)) document.write("Good Night"); document.getElementById('Night"here").style.display=''
it should be like this
if ((hr==20)) document.write("Good Night"); document.getElementById('Night').style.display=''