function getBounds(element)
{
  var left = element.offsetLeft;
  var top = element.offsetTop;
  for (var parent = element.offsetParent; parent; parent = parent.offsetParent)
  {
    left += parent.offsetLeft - parent.scrollLeft;
    top += parent.offsetTop - parent.scrollTop
  }
  return {left: left, top: top, width: element.offsetWidth, height:element.offsetHeight};
}
function pos1(id)
{
var ct = document.getElementById(id);
var bounds = getBounds(document.getElementById('avia'));
var a=bounds.left+bounds.width-1;
        styles = 'position:absolute; left:'+a+'px; top:239px; visibility:hidden; border:0px';
    if (ct.getAttribute('style'))
        ct.style.cssText = styles;
    else
        ct.setAttribute('style', styles);
}
function pos2(id)
{
var ct = document.getElementById(id);
var bounds = getBounds(document.getElementById('train'));
var a=bounds.left+bounds.width-1;
        styles = 'position:absolute; left:'+a+'px; top:269px; visibility:hidden; border:0px';
    if (ct.getAttribute('style'))
        ct.style.cssText = styles;
    else
        ct.setAttribute('style', styles);
}
function pos3(id)
{
var ct = document.getElementById(id);
var bounds = getBounds(document.getElementById('tour'));
var a=bounds.left+bounds.width-1;
        styles = 'position:absolute; left:'+a+'px; top:299px; visibility:hidden; border:0px';
    if (ct.getAttribute('style'))
        ct.style.cssText = styles;
    else
        ct.setAttribute('style', styles);
}
function pos4(id)
{
var ct = document.getElementById(id);
var bounds = getBounds(document.getElementById('hotel'));
var a=bounds.left+bounds.width-1;
        styles = 'position:absolute; left:'+a+'px; top:329px; visibility:hidden; border:0px';
    if (ct.getAttribute('style'))
        ct.style.cssText = styles;
    else
        ct.setAttribute('style', styles);
}
function pos5(id)
{
var ct = document.getElementById(id);
var bounds = getBounds(document.getElementById('charter'));
var a=bounds.left+bounds.width-1;
        styles = 'position:absolute; left:'+a+'px; top:359px; visibility:hidden; border:0px';
    if (ct.getAttribute('style'))
        ct.style.cssText = styles;
    else
        ct.setAttribute('style', styles);
}
function pos6(id)
{
var ct = document.getElementById(id);
var bounds = getBounds(document.getElementById('visa'));
var a=bounds.left+bounds.width-1;
        styles = 'position:absolute; left:'+a+'px; top:419px; visibility:hidden; border:0px';
    if (ct.getAttribute('style'))
        ct.style.cssText = styles;
    else
        ct.setAttribute('style', styles);
}