// JavaScript Document

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav2");
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", "");
   }
   }
  }
 }
}


function init(){
        if(document.getElementById){
        obj = document.getElementById("subject");
        obj.style.left = 522;
        }
}

function slideRight(){
        if(document.getElementById){
                if(parseInt(obj.style.left) < 522){
                        obj.style.left = parseInt(obj.style.left) + 10 + "px";
                        setTimeout("slideRight()",50);
                }
        }
}

function slideLeft(){
        if(document.getElementById){
                if(parseInt(obj.style.left) > 180){
                        obj.style.left = parseInt(obj.style.left) - 10 + "px";
                        setTimeout("slideLeft()",50);
                }
        }
}