// JavaScript Document// to determinate the real y position of the element where the menu has to be attachedfunction getAbsoluteTop(el) {  yPos = el.offsetTop;  tempEl = el.offsetParent;  while (tempEl != null) {    yPos += tempEl.offsetTop;    tempEl = tempEl.offsetParent;  }  return yPos;}function getAbsoluteLeftWin(el) {  if (isExplorer)    xPos =window.screenLeft+getAbsoluteLeft(el);  else    xPos =window.screenX+getAbsoluteLeft(el);  return xPos;}function getAbsoluteTopWin(el) {  if (isExplorer)   yPos =window.screenTop+getAbsoluteTop(el);  else    yPos =window.screenY+getAbsoluteTop(el);  return yPos;}//windowDimentionDetectionfunction getWindowDimensionH(){   if (isNetscape) {    winHeight = window.innerHeight;   }   if (isExplorer) {    winHeight = document.body.offsetHeight;   }   return winHeight;}function getWindowDimensionW(){   if (isNetscape) {    winWidth = window.innerWidth;   }   if (isExplorer) {    winWidth = document.body.offsetWidth;   }   return winWidth;}