<!--
//// MENU ---------------------------------
var cur_rasd = false;
var cur_time = false;
//-------------------------------------------------------------------------------------------------
function clear_time() {
	if (cur_time) {
		clearTimeout(cur_time);
		cur_time = false;
	}
}
//-------------------------------------------------------------------------------------------------
function hide_menue() {
	if (cur_rasd) {
		if (document.layers) {
			document.layers[cur_rasd].visibility="hidden";
		}
		else if (
			document.all) {document.all[cur_rasd].style.visibility="hidden"
		}
		else {
			document.getElementById(cur_rasd).style.visibility="hidden"
		};
		cur_rasd = false;
		MM_swapImgRestore();
	}
}
//-------------------------------------------------------------------------------------------------
function show_menue(lft,tp) {
	if (cur_rasd) {
		if (document.layers) {
			if (lft>0) {document.layers[cur_rasd].left=lft+'px';}
			if (tp>0) {document.layers[cur_rasd].top=tp+'px';}
			document.layers[cur_rasd].visibility="visible";
		}
		else if (document.all) {
			if (lft>0) {document.all[cur_rasd].style.left=lft+'px';}
			if (tp>0) {document.all[cur_rasd].style.top=tp+'px';}
			document.all[cur_rasd].style.visibility="visible"
		}
		else {
			obj = document.getElementById(cur_rasd);
			if (lft>0) {
				obj.style.left=lft+'px';
			}
			if (tp>0) {
				obj.style.top=tp+'px';
			}
			obj.style.visibility=""
		}
	}
}
//-------------------------------------------------------------------------------------------------
function show_rasd(name,ob,obh,bid,bpic) {
	if (cur_rasd != name) {
		hide_menue();
	}
	//------
	if (ob != -1) {
		ptop = get_off_top(ob,0) + ob.offsetHeight;
		pleft = get_off_left(ob,0);
	}
	else {
		if (obh) {
		    obh.className = 'm_cell_hover';
		}
		ptop = 0;
		pleft = 0;
	}
	if(bid && bpic)
	{
		MM_swapImgRestore();		
		MM_swapImage(bid,'',bpic,1);
	}
	//------
	clear_time();
	cur_rasd = name;
//	cur_time = setTimeout("hide_menue()",1500);
	show_menue(pleft,ptop);
}
//-------------------------------------------------------------------------------------------------
function hide_rasd(name,obh) {
	cur_time = setTimeout("hide_menue()",800);
		if (obh) {
		    obh.className = 'm_cell';
		}
}
//-------------------------------------------------------------------------------------------------
function get_off_top(ob,vt) {
	vt = vt + ob.offsetTop;
	if (ob.offsetParent.offsetTop > 0) {
		return get_off_top(ob.offsetParent,vt);
	}
	else {return vt;}
}
//-------------------------------------------------------------------------------------------------
function get_off_left(ob,vl) {
	vl = vl + ob.offsetLeft;
	if (ob.offsetParent.offsetLeft > 0) {
		return get_off_left(ob.offsetParent,vl);
	}
	else {
		//v1 = Math.abs(vl);
		//alert('left - '+Math.abs(vl));
		return vl;
	}
}
//-->