		
			
			
/*var numNews=4;
var newsH=15;
var newsWait=100;
var newsWaitC=0;
var currentPos=0;
var currentBlock=1;
var totalH=numNews*newsH;*/

var scrollings = new Array();
scrollings[0]=1;
scrollings[1]=new Array();
//languages
scrollings[1]['numNews']=6;
scrollings[1]['newsH']=15;
scrollings[1]['newsWait']=150;
scrollings[1]['newsWaitC']=0;
scrollings[1]['currentPos']=0;
scrollings[1]['currentBlock']=1;
scrollings[1]['totalH']=scrollings[1]['numNews']*scrollings[1]['newsH'];
scrollings[1]['div']='selLang';		


function scrolling_news() {
for (w=1; w<=scrollings[0];w++) {
	if (((scrollings[w]['currentPos']/scrollings[w]['newsH'])==(Math.round(scrollings[w]['currentPos']/scrollings[w]['newsH'])))&&(scrollings[w]['newsWaitC']<scrollings[w]['newsWait'])) {
		scrollings[w]['newsWaitC']++;
		if (scrollings[w]['newsWaitC']==scrollings[w]['newsWait']) { scrollings[w]['currentPos']++; scrollings[w]['newsWaitC']=0; }
	} else { scrollings[w]['currentPos']++; }
	if (scrollings[w]['currentPos']>scrollings[w]['totalH']) { scrollings[w]['currentPos']=1; }	
	document.getElementById(scrollings[w]['div']).style.top=-scrollings[w]['currentPos']; }
}
window.setInterval('scrolling_news()',1);


langChoiceURL=new Array('EN','DE','NL','FR','ES','IT','RU','TR');
langChoiceText=new Array('Select language','Sprache ausw&auml;hlen','Kies uw taal','Votre langue','Seleccionar idioma','Seleziona la lingua','Select language','Select language');
defaultLang='EN';
if (document.location.href.indexOf('lang=')>-1) { defaultLang=document.location.href.substring(document.location.href.indexOf('lang=')+5,document.location.href.indexOf('lang=')+7); }
for (x=0; x<langChoiceURL.length;x++) { if (langChoiceURL[x]==defaultLang) { startAt=x; break; } }
rollingText='';
for (x=0; x<=langChoiceURL.length;x++) {
	rollingText+='<div style="width:500px;height:15px" class="tt_w">'+langChoiceText[startAt]+'</div>';
	startAt++;
	if (startAt>=langChoiceURL.length) { startAt=0; }
}
document.write('<div style="width:151px;height:15px;overflow:hidden;"><div id="selLang" style="position:relative; top:0px; left:0px">'+rollingText+'</div></div>');