
var active='';

function processList(id) {
      if (document.all&&document.getElementById) {
            navRoot = document.getElementById(id);
            if (navRoot) {
            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 loadImgs(){
	if (document.images){
		pic1 = new Image(15,15);
		pic1.src = "/public/images/point_index.gif";
		pic1_dis = new Image(15,15);
		pic1_dis.src = "/public/images/point_index1.gif";	
		pic1_hi = new Image(15,15);		
		pic1_hi.src = "/public/images/point_index_.gif";
	}
}

function lightup(imgName)
{
        	
	if (document.images)
	{
		imgOn=eval("pic1_hi.src");
		document[imgName].src= imgOn;
	}
}

function turnoff(imgName)
{ 
	if (document.images && active!=imgName)
	{
		imgOff=eval("pic1.src");
		document[imgName].src= imgOff;
	}
}

function delete_question2(a){ return alert(a); }
function delete_question(a){ return confirm(a); }
