// JavaScript Document
var _work,_code,_topic={};
function SetDefault(codename)
{
	SetContext(document.getElementById("w_"+codename), codename);
}
function SetContext(obj, codename)
{
	if(!_topic[codename])_topic[codename]=document.getElementById("t_"+codename);
	if(_code&&_code!=codename)
	{
		_work.style.color = "#000000";
		_work.style.backgroundColor = "#ffffff";
		if(_topic[_code])_topic[_code].style.display="none";
	}
	_work=obj;
	_code=codename;
	_work.style.color = "#ffffff";
	_work.style.backgroundColor = "#999999";
	if(_topic[_code])_topic[_code].style.display="inline";
}
