function el(elementId, value) {
	document.getElementById(elementId).style.display=value;
}

function deactiveMenu (nr) 
{
	document.getElementById("menu"+nr).src = "img/menu_"+nr+"_gray.png";
	document.getElementById("menu"+nr).style.cursor = "default";
	document.getElementById("menu"+nr).onclick = "";
	document.getElementById("menu"+nr).onmouseover = "";
	document.getElementById("menu"+nr).onmouseout = "";
}

/*
function openXMLDoc (file) {
	if (window.XMLHttpRequest)
	  {
	  xhttp=new XMLHttpRequest();
	  }
	else // Internet Explorer 5/6
	  {
	  xhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  }
	xhttp.open("GET",file,false);
	xhttp.send("");
	xmlDoc = xhttp.responseXML;
	return xmlDoc;
}*/

function AC_FL_RunContent__for_ProgressBar() {
	AC_FL_RunContent(
		'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
		'width', '266',
		'height', '63',
		'src', 'progressbar',
		'quality', 'high',
		'pluginspage', 'http://www.adobe.com/go/getflashplayer',
		'align', 'middle',
		'play', 'true',
		'loop', 'true',
		'scale', 'showall',
		'wmode', 'transparent',
		'devicefont', 'false',
		'id', 'progressbar',
		'bgcolor', '#ffffff',
		'name', 'progressbar',
		'menu', 'false',
		'allowFullScreen', 'false',
		'allowScriptAccess','sameDomain',
		'movie', 'img/progressbar',
		'salign', ''
		); //end AC code
	}
	
function codeOnLoad ()
{	
	function traverse(tree)
	{	
		if(tree.childNodes)
		{
			var nodes = tree.childNodes.length;
			for(var i=0; i<tree.childNodes.length; i++)
			{	//alert (tree.childNodes[i].innerHTML);
				if (tree.childNodes[i].onclick)
				{
					//alert("QQQQQQQQQQQQQQQQQQQ");
					tree.childNodes[i].style.cursor = "pointer";
				}
				traverse(tree.childNodes[i]);
			}
		}
		else
			if (tree.onclick)
			{
				//alert("QQQQQQQQQQQQQQQQQQQ");
				tree.style.cursor = "pointer";
			}
	}
	//traverse(document.getElementsByTagName('body')[0]);
}