// JavaScript Document
// ************************************************************
// Script written by Martin Walper , martin(at)klickhere.com
// Publisher KlickHere.com
// ************************************************************

	//Function Transparency of OBJECTS/BUTTONS
	// ONLY WORKS WITH OBJECTs WHICH HAVE NO CSS CLASS

	// onmouseover
	function menuOn(theobject)
	{
		if (null != theobject.firstChild.data && '' != theobject.firstChild.data)
		{
			self.status = theobject.firstChild.data;
		}
		theobject.className='menu_boxIn_dv c_white_txt c3_bg';
	}
	// onmouseout
	function menuOut(theobject)
	{
		self.status = '';
		theobject.className='menu_boxIn_dv c_white_txt c4_bg';
	}

// highlight menu
	function menuFX(activ)
	{

		// find menu
		var menu = document.getElementById('menu');
		if (null == menu)
		{
			return;
		}
		// activ menu
		var menu_activ = document.getElementById(activ);
		if (null != menu_activ)
		{
			menuOn(menu_activ);
			menu_activ.style.cursor = 'inherit';
		}
		// get all div elements in menu
		var menu_list = menu.getElementsByTagName('div');
		// onmouseover, onmouseout, onclick
		for (var i=0; i<menu_list.length; i+=1)
		{
			if ('' == menu_list[i].id || menu_activ == menu_list[i])
			{
				continue;
			}
			menuOut(menu_list[i]);
			menu_list[i].onmouseover = function (){menuOn(this);};
			menu_list[i].onmouseout = function (){menuOut(this);};
			menu_list[i].onclick = function (){getLoc(this.id);};
		}
	}
