/* author: www.medialinja.com */
/* Generated by Medialinja Oy */
/* Creation date: 8.6.2004 */
function swap(n,s)
	{
	document.images[n].src = s;
	};

var selected;
function act(n)
	{
	if (selected == n)
		{
		if (document.getElementById(n).className.indexOf("sub") == 0)
			{
			document.getElementById(n).className = "submenulink_selected_over";
			}
			else
			{
			document.getElementById(n).className = "menulink_selected_over";
			};
		}
		else
		{
		if (document.getElementById(n).className.indexOf("sub") == 0)
			{
			document.getElementById(n).className = "submenulink_over";
			}
			else
			{
			document.getElementById(n).className = "menulink_over";
			};
		};
	};
function pass(n)
	{
	if (selected == n)
		{
		if (document.all)
			document.getElementById(n).filters[0].apply();
		if (document.getElementById(n).className.indexOf("sub") == 0)
			{
			document.getElementById(n).className = "submenulink_selected";
			}
			else
			{
			document.getElementById(n).className = "menulink_selected";
			};
		if (document.all)
			document.getElementById(n).filters[0].play();
		}
		else
		{
		if (document.all)
			document.getElementById(n).filters[0].apply();
		if (document.getElementById(n).className.indexOf("sub") == 0)
			{
			document.getElementById(n).className = "submenulink";
			}
			else
			{
			document.getElementById(n).className = "menulink";
			};
		if (document.all)
			document.getElementById(n).filters[0].play();
		};
	};

function select(n)
	{
	if (selected)
		{
		if (document.all)
			document.getElementById(selected).filters[0].apply();
		if (document.getElementById(selected).className.indexOf("sub") == 0)
			{
			document.getElementById(selected).className = "submenulink";
			}
			else
			{
			document.getElementById(selected).className = "menulink";
			};
		if (document.all)
			document.getElementById(selected).filters[0].play();
		};
	selected = n;
	if (document.getElementById(selected).className.indexOf("sub") == 0)
		{
		if (document.all)
			{
			document.getElementById(selected).className = "submenulink_selected_flash";
			document.getElementById(selected).filters[0].apply();
			};
		document.getElementById(selected).className = "submenulink_selected";
		if (document.all)
			document.getElementById(selected).filters[0].play();
		}
		else
		{
		if (document.all)
			{
			document.getElementById(selected).className = "menulink_selected_flash";
			document.getElementById(selected).filters[0].apply();
			};
		document.getElementById(selected).className = "menulink_selected";
		if (document.all)
			document.getElementById(selected).filters[0].play();
		};
	};