function showTooltip(id) {
	var tooltip = document.getElementById(id);
	if (tooltip != null)
		tooltip.style.display = "block";
}

function myUpdateTooltip(id){
	var tooltip = document.getElementById(id);
	if (tooltip != null){
		tooltip.style.left = (window.event.x + 15) + "px";
		tooltip.style.top = (window.event.y + 20) + "px" ;
	}
}

function updateTooltip(e) {
	
	
	if (tooltip != null) {
		x = (document.all) ? window.event.x + tooltip.offsetParent.scrollLeft
				: e.pageX;
		y = (document.all) ? window.event.y + tooltip.offsetParent.scrollTop
				: e.pageY;
		tooltip.style.left = (x + 20) + "px";
		tooltip.style.top = (y + 20) + "px";
	}
}

function hideTooltip(id) {
	var tooltip = document.getElementById(id);
	if (tooltip != null)
		tooltip.style.display = "none";
}

function showDropDown(id) {
	var dropdown = document.getElementById(id);
	if (dropdown != null) {
		dropdown.style.display = "block";
		setTimeout("hideDropDown()", 1000);
	}
}

function hideDropDown() {
	if (dropdown != null)
		dropdown.style.display = "none";
}

