//Extra code to find position:
function findPos_right(num){
  if(bw.ns4)
  {   //Netscape 4
    x = document.layers["layerMenu"+num].pageX;
    y = document.layers["layerMenu"+num].pageY;
  }
  else
  { //other browsers
    x=0; y=0; 
    var el,temp;
    el = bw.ie4 ? document.all["divMenu"+num] : document.getElementById("divMenu"+num);
    if(el.offsetParent)
    {
      temp = el;
      while(temp.offsetParent)
      { //Looping parent elements to get the offset of them as well
        temp=temp.offsetParent; 
        x+=temp.offsetLeft
        y+=temp.offsetTop;
      }
    }
    x+=el.offsetLeft;
    y+=el.offsetTop;
  }
  //Returning the x and y as an array
  x+=0;
  y+=0;
  return [x,y];
}

function placeElements_right(tot_num)
{
  
  for (i=0;i<tot_num;i++)
  {
   pos = findPos_right((i+6));
  oCMenu_right.m['s'+(i+6)].b.moveIt(pos[0],pos[1]);
  }
  //Changing the position of ALL top items:
  
 
  oCMenu_right.fromTop = pos[0];
}
