var is_ie    = /MSIE/.test(navigator.userAgent);
var realRowDisplay = is_ie ? "block" : "table-row";

function accordion (parentObject) {
	parentLinks = document.getElementsByTagName('a');
	for ( key in parentLinks ){
		try{
			if (parentLinks[key].id.substr(0, 10) == "menuparent") {
				if (parentLinks[key] == parentObject) {
					if (document.getElementById("menuchild" + parentLinks[key].id.substr(10)).style.display == "none") {
						document.getElementById("menuchild" + parentLinks[key].id.substr(10)).style.display = realRowDisplay;
					}
					else {
						document.getElementById("menuchild" + parentLinks[key].id.substr(10)).style.display = "none";
					}
				}
				else {
					document.getElementById("menuchild" + parentLinks[key].id.substr(10)).style.display = "none";
				}
			}
		}catch(e){}
	}
}

function open_div(id){
	
	document.getElementById(id).className='show';
}
function close_div(id){
	
	document.getElementById(id).className='hide';
}


function navigate(url)
	{window.location=url;}
function miceOver(theName)
	{theName.id='leftActive';}
function miceOut(theName)
	{theName.id='leftPassive';}