function mOver(currId,msize,mweight,mcolor,mbgcolor,currE)
{
  var eid = document.getElementById(currId).style;
  var peid = '';
  if ((currE != '') && (currE != null)) {
    peid = document.getElementById(currE).style;
  }
  mosize = eid.fontSize;
  moweight = eid.fontWeight;
  mocolor = eid.color;
  
  if (peid != '')
    mobgcolor = peid.backgroundColor;
  else
    mobgcolor = eid.backgroundColor;
  
   if ((msize != '') && (msize != null)) {
     eid.fontSize = msize;
   }
   
   if ((mweight != '') && (mweight != null)) {
     eid.fontWeight = mweight;
   }
   
   if ((mcolor != '') && (mcolor != null)) {
     eid.color = mcolor;
   }
   
   if ((mbgcolor != '') && (mbgcolor != null)) {
     if(peid != '') 
       peid.backgroundColor = mbgcolor;
	 else
	   eid.backgroundColor = mbgcolor;
   }
}

function mOut(currId,currE)
{
  var eid = document.getElementById(currId).style;
  var peid = '';
  if ((currE != '') && (currE != null)) {
    peid = document.getElementById(currE).style;
  }
  eid.fontSize = mosize;
  eid.fontWeight = moweight;
  eid.color = mocolor;
  
   if(peid != '') 
     peid.backgroundColor = mobgcolor;
	 else
	  eid.backgroundColor = mobgcolor;
}




