ciao a tutto il forum io ho un problema in quanto non riesco a caricare dei file js nelle mie pagine html cioe

codice js nome file saluti.js

<script language="Javascript" type="text/javascript">
<!--
oracorrente = new Date
if (oracorrente.getHours() < 5) {
document.write("Buona notte!!")
}
else if (oracorrente.getHours() < 12) {
document.write("Buon giorno!!")
}
else if (oracorrente.getHours() < 17) {
document.write("Buon pomeriggio!!")
}
else {
document.write("Buona sera!!")
}

-->
</script>
nella paginea html metto


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>hosting WEB SOLUTION PORTAL</title>
<link href="../stile.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="divcentrato">
<div class="divtitolo">[img]../immagini/titolo.png[/img]</div>
<div class="divsaluti"><script src="saluti.js"></script></div>
</div>
</div>
</body>
</html>
mi sapreste dare una risposta...ah il file js e html risiede nella stessa directoy