function showLD1(el)
{
ld1 = document.getElementById('LDlinks1');
ld1.style.left = getPos(el).x - 30 + 'px';
ld1.style.top = getPos(el).y - 100 + 'px';
ld1.style.display = '';
}
function showLD8(el)
{
ld8 = document.getElementById('LDlinks8');
ld8.style.left = getPos(el).x - 40 + 'px';
ld8.style.top = getPos(el).y - 150 + 'px';
ld8.style.display = '';
}
function showLD9(el)
{
ld9 = document.getElementById('LDlinks9');
ld9.style.left = getPos(el).x - 140 + 'px';
ld9.style.top = getPos(el).y - 260 + 'px';
ld9.style.display = '';
}
function showLD15(el)
{
ld15 = document.getElementById('LDlinks15');
ld15.style.left = getPos(el).x - 100 + 'px';
ld15.style.top = getPos(el).y - 90 + 'px';
ld15.style.display = '';
}
function showLD16(el)
{
ld16 = document.getElementById('LDlinks16');
ld16.style.left = getPos(el).x - 70 + 'px';
ld16.style.top = getPos(el).y - 155 + 'px';
ld16.style.display = '';
}
function showLD17(el)
{
ld17 = document.getElementById('LDlinks17');
ld17.style.left = getPos(el).x - 100 + 'px';
ld17.style.top = getPos(el).y - 90 + 'px';
ld17.style.display = '';
}
function showLD18(el)
{
ld18 = document.getElementById('LDlinks18');
ld18.style.left = getPos(el).x - 70 + 'px';
ld18.style.top = getPos(el).y - 85 + 'px';
ld18.style.display = '';
}
function showLD19(el)
{
ld19 = document.getElementById('LDlinks19');
ld19.style.left = getPos(el).x - 60 + 'px';
ld19.style.top = getPos(el).y - 150 + 'px';
ld19.style.display = '';
}
function showLD20(el)
{
ld20 = document.getElementById('LDlinks20');
ld20.style.left = getPos(el).x - 60 + 'px';
ld20.style.top = getPos(el).y - 150 + 'px';
ld20.style.display = '';
}
function hideLD1(el) { ld1.style.display = 'none'; }
function hideLD8(el) { ld8.style.display = 'none'; }
function hideLD9(el) { ld9.style.display = 'none'; }
function hideLD15(el) { ld15.style.display = 'none'; }
function hideLD16(el) { ld16.style.display = 'none'; }
function hideLD17(el) { ld17.style.display = 'none'; }
function hideLD18(el) { ld18.style.display = 'none'; }
function hideLD19(el) { ld19.style.display = 'none'; }
function hideLD20(el) { ld20.style.display = 'none'; }
function width_window()
{
if(window.innerWidth)
return window.innerWidth;
if(document.body.clientWidth)
return document.body.clientWidth;
return (null);
}
function getPos(inputElement) {
var coords =  new Object();
coords.x = 0;
coords.y = 0;
try {
targetElement = inputElement;
if(targetElement.x && targetElement.y) {
coords.x = targetElement.x;
coords.y = targetElement.y;
} else {
if(targetElement.offsetParent) {
coords.x += targetElement.offsetLeft;
coords.y += targetElement.offsetTop;
while(targetElement = targetElement.offsetParent) {
coords.x += targetElement.offsetLeft;
coords.y += targetElement.offsetTop;
}
} else {
//alert("Could not find any reference for coordinate positioning.");
}
}
return coords;
} catch(error) {
//alert(error.msg);
return coords;
}
}

