Illustrate how a URL can be referenced
<html> <body> <basefont size=4> <img src="internal-gopher-menu"> Click <script language="JavaScript"> <!-- var dateToday = new Date(); var day = dateToday.getDay(); var linkText = "here"; var aUrl= ""; if (day == 0) { aUrl="http://www.java2s.com/wrongfolder/sunday.htm"; } if (day == 1) { aUrl="http://www.java2s.com/wrongfolder/monday.htm"; } if (day == 2) { aUrl="http://www.java2s.com/wrongfolder/tuesday.htm"; } if (day == 3) { aUrl="http://www.java2s.com/wrongfolder/wednesday.htm"; } if (day == 4) { aUrl="http://www.java2s.com/wrongfolder/thursday.htm"; } if (day == 5) { aUrl="http://www.java2s.com/wrongfolder/friday.htm"; } if (day == 6) { aUrl="http://www.java2s.com/wrongfolder/saturday.htm"; } document.write(linkText.link(aUrl)); //--> </script> for today's news.<p> </body> </html>