// JavaScript Document
function goto_reg(regid) {
	goto_top();
	document.getElementById(regid).style.background="#cedaff";
}
function goto_top() {
	divs = document.getElementById("Content").getElementsByTagName("div");
	for (i=0;i<divs.length;i++)
	{ 
		atr = divs[i].attributes;
		for (k=0;k<atr.length;k++){
			if(atr[k].nodeName=="class"){
		  		if(atr[k].nodeValue=="res_reg")
					divs[i].style.background="transparent";
				else if (atr[k].nodeValue=="res_reg_title")
					divs[i].style.background="#cccccc";
			}
		}		
  	}
}
