function init()
{
	if (document.layers)
	{
		document.layers['downmenu'].document.layers['wallpaper'].bgColor = "#ecf5ed";
		document.layers['downmenu'].document.layers['scrnsaver'].bgColor = "#ecf5ed";

		document.layers['downmenu'].document.layers['patch'].onmouseover = function(){show('downmenu');};
		document.layers['downmenu'].document.layers['wallpaper'].onmouseover = function(){show('downmenu');chngcolor('wallpaper');};
		document.layers['downmenu'].document.layers['scrnsaver'].onmouseover = function(){show('downmenu');chngcolor('scrnsaver');};

		document.layers['downmenu'].document.layers['patch'].onmouseout = function(){hide('downmenu');};
		document.layers['downmenu'].document.layers['wallpaper'].onmouseout = function(){hide('downmenu');unchngcolor('wallpaper');};
		document.layers['downmenu'].document.layers['scrnsaver'].onmouseout = function(){hide('downmenu');unchngcolor('scrnsaver');};
	}
	else if (document.all)
	{
		document.all['wallpaper'].style.backgroundColor = "#ecf5ed";
		document.all['scrnsaver'].style.backgroundColor = "#ecf5ed";

		document.all['patch'].onmouseover = function(){show('downmenu');};
		document.all['wallpaper'].onmouseover = function(){show('downmenu');chngcolor('wallpaper');};
		document.all['scrnsaver'].onmouseover = function(){show('downmenu');chngcolor('scrnsaver');};

		document.all['patch'].onmouseout = function(){hide('downmenu');};
		document.all['wallpaper'].onmouseout = function(){hide('downmenu');unchngcolor('wallpaper');};
		document.all['scrnsaver'].onmouseout = function(){hide('downmenu');unchngcolor('scrnsaver');};
	}
}

function show(obj)
{
	if (document.layers) document.layers[obj].visibility = "show";
	else if (document.all) document.all[obj].style.visibility = "visible";
}

function hide(obj)
{
	if (document.layers) document.layers[obj].visibility = "hide";
	else if (document.all) document.all[obj].style.visibility = "hidden";
}

function chngcolor(obj)
{
	if (document.layers) document.layers['downmenu'].document.layers[obj].bgColor = "#c7e1e1";
	else document.all[obj].style.backgroundColor = "#c7e1e1";
}

function unchngcolor(obj)
{
	if (document.layers) document.layers['downmenu'].document.layers[obj].bgColor = "#ecf5ed";
	else document.all[obj].style.backgroundColor = "#ecf5ed";
}
