function findIt(cSearchValue){
	Fenster1 = window.open("http://www.google.de/search?q="+cSearchValue+" site:transocean-shipping.com");
	Fenster1.scrollBy(0,+50);
	}
	
function hide(cElement,lHide){
	if(lHide){
		document.getElementById(cElement).style.visibility="hidden"
	}else{
		document.getElementById(cElement).style.visibility="visible"
	}
}

function hidetrigger(cElement){
	if(document.getElementById(cElement).style.visibility=="hidden"){
		hide(cElement,false)
	}else{
		hide(cElement,true)
	}
}

function setText(cElement,cText){
	document.getElementById(cElement).innerHTML = cText;
}

function setPosition(cElement,nX,nY){
	document.getElementById(cElement).style.left = nX;
	document.getElementById(cElement).style.top = nY;
}

function tipInfo(lShow){
	setPosition("tooltipinfo",x+10,y-30)
	if(lShow){hide("tooltipinfo",false)}else{hide("tooltipinfo",true)}
}

document.onmousemove = updateMousePos;
function updateMousePos(Ereignis) {
	if (!Ereignis)
	    Ereignis = window.event;
  x = Ereignis.clientX;
  y = Ereignis.clientY;
}
var x;
var y;
		
