// found this script as a tutorial somewhere on the net but I kinda forgot where exactly. If you are the author and like to see credits.. just let me know
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" ie_does_hover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" ie_does_hover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

// ugly workaround for javascript throwing an error on pages where there is no #nav present (basically all non-picasagallery pages)
// (really gotta think of something better)
function handleError() {
	return true;
}
window.onerror = handleError;