function aaw_showHelp(elem,moveHelp) {
	if(moveHelp == null) helpFlag=0;
	else helpFlag=1;
	helpDiv = document.getElementById(aaw_searchIds(elem, "help"));
	if(is.ns){ document.captureEvents(Event.MOUSEMOVE); }
	document.onmousemove = get_mouse;
	var origNode=document.getElementById(aaw_searchIds(elem, "help")).getAttributeNode("class");
    origNode.nodeValue = origNode.nodeValue.replace("inactive", "active");
}
function aaw_hideHelp(elem) {
	helpFlag=0;
	var origNode=document.getElementById(aaw_searchIds(elem, "help")).getAttributeNode("class");
    origNode.nodeValue = origNode.nodeValue.replace("active", "inactive");
}


function aaw_showInfo(elem,moveInfo) {
	if(moveInfo == null) infoFlag=0;
	else infoFlag=1;
	infoDiv = document.getElementById(aaw_searchIds(elem, "info"));
	if(is.ns){ document.captureEvents(Event.MOUSEMOVE); }
	document.onmousemove = get_mouse;
	var origNode=document.getElementById(aaw_searchIds(elem, "info")).getAttributeNode("class");
    origNode.nodeValue = origNode.nodeValue.replace("inactive", "active");
}
function aaw_hideInfo(elem) {
	infoFlag=0;
	var origNode=document.getElementById(aaw_searchIds(elem, "info")).getAttributeNode("class");
    origNode.nodeValue = origNode.nodeValue.replace("active", "inactive");
}
function aaw_searchIds(elem, idTail) {
  var lastIndexDot=elem.id.lastIndexOf(".");
  var DivId=elem.id.substr(0, lastIndexDot);
  if (idTail.length>0)
	DivId=DivId + "." + idTail;
  return DivId;
}
function get_mouse(e){
	if(typeof infoFlag !="undefined" && infoFlag==1){
		x = (is.ns) ? e.pageX : event.x + document.body.scrollLeft; 
		y = (is.ns) ? e.pageY : event.y + document.body.scrollTop; 
		infoDiv.style.left = x + 15;
		infoDiv.style.top = y + 15;
	}
}
