//var linkys = document.getElementsByTagName("a");
//var linkys = document.getElementById("navigation");

//for (linky in linkys) {
//  var str = "" + linky.href;
//  if (str.indexOf("resources.html") != -1) {
//      linky.href = null;
//      alert('yay');
//  }
//}


var linkys = $$("a");
for (var li = 0; li < linkys.length; li++) {
  if (linkys[li].text == "RESOURCES") {
     linkys[li].removeAttribute('href');
     linkys[li].setAttribute('onclick', 'return false;');
  }
}  

if (document.URL == "http://www.ivstanford.org/our-2011-2012-vision.html") {
   document.getElementById("content").style.backgroundImage        = "url(http://www.ivstanford.org/files/theme/VisionBackground.gif)";
}
