function InitPage() {
Spry.$$('#nav li').forEach(function(node){
    var  a=node.getElementsByTagName("a")[0]; // finds all a elements inside the li, but we only want the first  so [0]
    if(a.href == window.location){
         Spry.Utils.addClassName(a,"activeMenuItem");
    }
});
}
Spry.Utils.addLoadListener(InitPage);
