function _gel(idname){
	if(typeof document.getElementById != 'undefined'){ return document.getElementById(idname) }
	else if(document.all){ return document.all[idname] }
	else if(document.layers){ return document.layers[idname] }
return null }

function _gettag(parentobj, tag){
	if(typeof parentobj.getElementsByTagName != 'undefined'){ return parentobj.getElementsByTagName(tag); }
	else if(parentobj.all && parentobj.all.tags){ return parentobj.all.tags(tag); }
return null }

function fetch(obj)
{
	var sub = _gel('s'+obj.id);
	sub.style.display = 'block';

	obj.style.color = 'white';
	obj.style.backgroundColor = '#632307';
	obj.style.backgroundImage = 'none';
	obj.style.textDecoration = 'none';

	var div = _gettag(document, 'div');
	if(div.length > 0)
	{
		for(var i=0;i<div.length;i++)
		{
			if(div[i].id.match('snavi') && sub.id != div[i].id)
			{
				div[i].style.display = 'none';
			}
		}
	}
	var a = _gettag(document, 'a');
	if(a.length > 0)
	{
		for(var i=0;i<a.length;i++)
		{
			if(a[i].id.match('navi') && obj.id != a[i].id)
			{
				a[i].style.backgroundImage = '';
				a[i].style.color = '';
				a[i].style.textDecoration = 'none';
				a[i].style.backgroundColor = '';		//#F4D595
			}
		}
	}
	return false;
}

