var the = event.srcElement ;function getPosition( the )
{
   var x = the.offsetWidth;
   var y = the.offsetTop ;
   var the2 = the ;
   while( the2 && the2.offsetTop && the2.offsetWidth )
   {
       x += the2.offsetWidth ;
       y += the2.offsetTop ;
       the2 = the2.parentNode ;
   }
}