Si lo immaginavo...ma date le mie esigenze direi che cosi la cosa potrebbe andare...no?
Altrimenti potrei lasciare la funzione che ho in tutte le pagine cosi:

codice:
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function() {
this.className=this.className.replace(" over", "");
}
}
}
}
}
window.onload=startList;
utilizzare lo script per la fotogallery cosi:

codice:
// window.onload=function(){
function fotogalleria(){
if(!document.getElementById || !document.getElementsByTagName) return;
links=document.getElementById("galleria").getElementsByTagName("a");
for(i=0;i<links.length;i++)
    links[i].onclick=function(){Show(this);return(false)}
}

function Show(obj){
bigimg=document.getElementById("bigimage");
bigimg.src=obj.getAttribute("href");
smallimg=obj.getElementsByTagName("img")[0];
t=document.getElementById("titolo");
t.removeChild(t.lastChild);
t.appendChild(document.createTextNode(smallimg.title));
}
window.onload=function() {fotogalleria();}
ed infine linkare gli script in questa maniera:

<script type="text/javascript" src="iemenu.js"></script>
<script type="text/javascript" src="gallery.js"></script>
<script type="text/javascript">window.onload=function() {startList();fotogalleria();}</script>

Chiaramente soltanto nelle pagine ove uso entrambi gli script, mentre le altre resterebbero pulite.
Dici che può andar bene?