<!--
var curPop=null;
var CellsObj=null;

function clearCurrent(src) {
 var el=event.srcElement;
 if (src.id.substr(0,7)=="SubMenu") {
 n=src.id.substr(7,1);
 document.all.item('Menu'+n).className='BlueTitleMenuCell';
 }
 return;
 if (!src.contains(event.toElement))
    {

 if (null!=curPop)
  curPop.style.display="none";
 curPop= null;
 if (src.id.substr(0,7)=="SubMenu") {
 n=src.id.substr(7,1);
 document.all.item('Menu'+n).className='BlueTitleMenuCell';
 }
}
}
function popup(el) {
 var sSubMenuName = 'Sub' + el.id;
 if (document.all.item(sSubMenuName)) {
 var oSubMenu = document.all.item(sSubMenuName);
 if (curPop != null && curPop != oSubMenu) {
  curPop.style.display = 'none';
  n=curPop.id.substr(7,1);
  document.all.item('Menu'+n).className='BlueTitleMenuCell';
 }
  oSubMenu.style.display = 'inline';
			
  curPop=oSubMenu;
 }
}

function highlight(src) {
var el=event.srcElement;
 if (!src.contains(event.fromElement))
  if (el.id == src.id) {
    el.className="BlueTitleMenuCellSelected";
    popup(el);
  }
}

function lowlight(src) {
if (event.toElement==null) {
    src.className="BlueTitleMenuCell";
    if (null!=curPop) 
     curPop.style.display='none'; 
    curPop= null;
  return;
}
var el=event.srcElement; 
 if (event.toElement.id.substr(0,3)!="Sub")
 if (!src.contains(event.toElement))
  if (el.id == src.id && ((curPop == null) || (curPop.id=="Sub"+el.id)))
   {
    src.className="BlueTitleMenuCell";
    if (null!=curPop) 
     curPop.style.display='none'; 
    curPop= null;
   }
}

function clearfromBody(src) {
var el=event.srcElement;
if ( el.tagName=="BODY") { 
if (el.id == src.id) {
 if (null!=curPop) {
  n=curPop.id.substr(7,1);
 document.all.item('Menu'+n).className='BlueTitleMenuCell';
 }
  if (null!=curPop) 
   curPop.style.display='none'; 
  curPop= null;
 }
}
}


function clearfromSub() {
var el=event.srcElement;
//if (!src.contains(event.toElement) || el.tagName=="BODY")
//if (el.id == src.id) {
 if (null!=curPop) {
  n=curPop.id.substr(7,1);
 document.all.item('Menu'+n).className='BlueTitleMenuCell';
 }
  if (null!=curPop) 
   curPop.style.display='none'; 
  curPop= null;
// }
}
// -->

