function LangOver() {
document.getElementById('LangBox').style.visibility='visible';
document.getElementById('LangBox').style.display='inline';
}

function LangOut() {
document.getElementById('LangBox').style.visibility='hidden';
document.getElementById('LangBox').style.display='none';
}
function CountryOver() {
document.getElementById('CountryBox').style.visibility='visible';
document.getElementById('CountryBox').style.display='inline';
}
function CountryOut() {
document.getElementById('CountryBox').style.visibility='hidden';
document.getElementById('CountryBox').style.display='none';
} 

function go(n,sprache){
    switch (n){
    case 1:
        document.location.href= "/" + sprache + "/info/what-we-stand-for.html";
        break;
    case 2:
        document.location.href= "/" + sprache + "/info/where-you-can-find-us.html";
        break;
    case 3:
        document.location.href= "/" + sprache + "/info/new-at-unicredit-group.html";
        break;    
    default:
        document.location.href= "/" + sprache + "/info/what-we-stand-for.html";
        break;
    }
}
 
/*
* yP: die H�he des Headerbereichs
* xP: die errechnete Breite
*/
/*
if (typeof(document.getElementById('hint-box'))=="undefined"){
   alert("Variable existiert nicht");
}
*/
//document.getElementById('hint-box').style.visibility="hidden";
function showHint( hintPos, text){
  var hintCoords = hintPos.split(",");
  var xP = 182; var yP = -20;
  
  xP = xP + parseInt(hintCoords[0]);
  yP = yP + parseInt(hintCoords[1]);
  
  document.getElementById('hint-text').innerHTML=text;
  document.getElementById('hint-box').style.left = xP+"px";
  document.getElementById('hint-box').style.top  = yP+"px";
  document.getElementById('hint-box').style.visibility="visible";
}

function hideHint(){         
        document.getElementById('hint-box').style.visibility="hidden";
}


window.addEvent('domready', function() {
	$(document.getElementsByTagName('body')[0]).addClass('javascript-allowed') ;
});

