﻿var naviTimer;

function openPopup(e) {
	$("#knowledgePopup").css("left", e.offsetLeft);
	$("#knowledgePopup").show();
	clearTimeout(naviTimer);
}

function closePopup() {
	naviTimer = setTimeout("hidePopup()", 50);
}

function cancelClose() {
	clearTimeout(naviTimer);
}

function hidePopup() {
	$("#knowledgePopup").hide();
}
