function showHeadInfo(){
	
	//div = window.document.getElementById('event_nfo');
	div = window.document.createElement('div');
	div.setAttribute('id','head_nfo');
	window.document.body.appendChild(div);
	if(div != null) {
		div.innerHTML = buildHeadInfo();
		/*var script = document.createElement('script');
		script.type = 'text/javascript';
		script.src = 'http://eu.ntrsupport.com/inquiero/web/an/ann4.asp?login=I23EAF50AC6BF1A99700943&lang=ge&button=Kontakt&cat=Portal'; 
		div.appendChild(script);*/
		div.style.position = 'absolute';
		div.style.padding = '5px';
		div.style.left = '590px';
		div.style.top = '40px';
		div.style.visibility = 'visible';
		div.style.width= '200px';
		div.style.zIndex= '250'; 
		div.style.border= '2px solid #FFEAC9';
		div.style.backgroundColor = '#FFFFFF';		
	}
}

function hideHeadInfo(){
	//div = window.document.getElementById('event_nfo');
	div = window.document.getElementById('head_nfo');
	if(div != null) {
		div.style.visibility = 'hidden';
		window.document.body.removeChild(div);
		div = null;
	}
}

function buildHeadInfo() {
	var template = "<table class='bg_dunkel' cellspacing='1' cellpadding='4' width='100%' border='0'>";
	template += "<tr>\n";
	template += "<td class='weiss_m' align='left'>Titel</td>\n";
	template += "</td></tr>\n";
	template += "<tr>\n";
	var beschr = "";/*"<script id=\"ntrScript\" language=\"JavaScript\" src=\"http://eu.ntrsupport.com/inquiero/web/an/ann4.asp?login=I23EAF50AC6BF1A99700943&lang=ge&button=Kontakt&cat=Portal\"></script><a href=\"http://eu.ntrsupport.com\"><img src=\"http://eu.ntrsupport.com/inquiero/images/monitor.gif\" border=\"0\"></a>";*/
  	template += "<td class='weiss_m' align='left' valign='top'>&nbsp;"+beschr+"</td></tr>\n";
	template += "</table>";
	
	return template;	
}

function execJS(node) {
 /* Element auf Javascript überprüfen, und falls nötig ausführen */
	 var bSaf = (navigator.userAgent.indexOf('Safari') != -1);
	 var bOpera = (navigator.userAgent.indexOf('Opera') != -1);
	 var bMoz = (navigator.appName == 'Netscape');
	 var st = node.getElementsByTagName('script'); 
	 var strExec;
	   
	 for(var i=0;i<st.length; i++) { 
	 	if (bSaf) { 
	 		strExec = st[i].innerHTML; 
	 	} 
	 	else if (bOpera) { 
	 		strExec = st[i].text; 
	 	}
	   	else if (bMoz) { 
	   		strExec = st[i].textContent; 
	   	} 
	   	else { 
	   		strExec = st[i].text; 
	   	} 
	   	
	   	try { 
	   		eval(strExec); 
	   	} catch(e) { 
	   		alert(e);
	   	}
	}
 }
 
 function refreshNtrScript()
{
	//document.getElementById("ntrScript").src="http://eu.ntrsupport.com/inquiero/web/an/ann4.asp?login=I23EAF50AC6BF1A99700943&lang=ge&button=Kontakt&cat=Portal&Flag="+(new Date()).getMilliseconds();
} 