function rowMsgOn(oTd,iBx)
{
  if (!oTd.contains(event.fromElement)&&document.tMsgContent.tMsgCurrent.value!=iBx) {oTd.bgColor="#FFFCE3";}
}
function rowMsgOff(oTd,iBx) {
  if (!oTd.contains(event.toElement)) {oTd.bgColor="";}
}
function rowMsgDown(oTd) {
  if (!oTd.contains(event.toElement)) {oTd.bgColor="";}
}
function tMsg(iBx) {
  var oBx = document.getElementById("tMsgCnt"+iBx);
  var oBy = document.getElementById("tMsgBltIcon"+iBx);
  var oBz = document.getElementById("tMsgBox"+iBx);
  var iCn = 1;
  var iTC = 200;
  var s0 = "none";
  var s1 = "block";
  var sI0 = "cgDBBltClose.gif";
  var sI1 = "cgDBBltOpen.gif";
  var sC0 = "tMsgItemBoxOff";
  var sC1 = "tMsgItemBoxOn";  
  if(document.tMsgContent.tMsgState.value==0||document.tMsgContent.tMsgCurrent.value!=iBx){
    oBy!=null?oBy.src=oBy.src.replace(sI0,sI1):iBx;
    while (iCn <= iTC) {
      document.getElementById("tMsgCnt"+iCn)!=null?document.getElementById("tMsgCnt"+iCn).style.display=s0:iCn;
      document.getElementById("tMsgBltIcon"+iCn)!=null?document.getElementById("tMsgBltIcon"+iCn).src=document.getElementById("tMsgBltIcon"+iCn).src.replace(sI1,sI0):iCn;
      iCn++
    }
    oBy!=null?oBy.src=oBy.src.replace(sI0,sI1):iBx;
    oBx!=null?oBx.style.display=s1:oBx;  
    oBz!=null?oBz.className=sC1:sC0;
    document.tMsgContent.tMsgState.value=1;
  } else {
    oBy!=null?oBy.src=oBy.src.replace(sI1,sI0):iBx;
    oBx!=null?oBx.style.display=s0:oBx;  
    oBz!=null?oBz.className=sC0:sC1;
    document.tMsgContent.tMsgState.value=0;
    iBx=0;
  }
  document.tMsgContent.tMsgCurrent.value=iBx; 
}
function openMsg(iMsgCn) {
  var iStp=iMsgCn*1; //THIS IS WHERE SWF CAN TELL THE SPECIFIC MESSAGE TO OPEN
  if(iStp>0){
    tMsg(iStp);
  } else {
    tMsg(0);
  }  
}