
function over()
{
   document.getElementById('languages').style.display = 'block';
}

function out()
{

		if(document.getElementById('languages')) document.getElementById('languages').style.display = 'none';

/*	folgender Block wurde durch obige Zeile ersetzt
		if(document.getElementById('sidebar')){
		if(document.getElementById('languages')) document.getElementById('languages').style.display = 'none';
		if(document.getElementById('abdafuer')) document.getElementById('abdafuer').style.display = 'block';
		if(document.getElementById('nlSecond')) document.getElementById('nlSecond').style.display = 'none';
	}
*/
}

function nlChange()
{
   document.getElementById('nlFirst').style.display = 'none';
   document.getElementById('nlSecond').style.display = 'block';
   document.getElementById('nlThird').style.display = 'none';
}
function nlChange2()
{
   document.getElementById('nlFirst').style.display = 'none';
   document.getElementById('nlSecond').style.display = 'none';
   document.getElementById('nlThird').style.display = 'block';
}

function flash_getpage(whichOne)
{
	switch(whichOne)
	{
		case "palajet": location.href = "/de/products/fertigstellung/palajetpalajetduoflask_1/palajetpalajetduoflask.html"; break;
		case "palamat_elite": location.href = "/de/products/fertigstellung/plamatelite/palamatelite.html"; break;
		case "pala_creactive": location.href = "/de/products/individualisierungfinishing/palacreactive/palacreactive.html"; break;
		case "premium": location.href = "/de/products/prothesis_tooth_1/default_prothesistooth.html"; break;
		case "contact": location.href = "/de/products/aufstellung/artikulator/Artikulator.html"; break;
		case "filou": location.href = "/de/products/aufstellung/filou28/Filou28.html"; break;
		case "palaxpress": location.href = "/de/products/prosthesis_synthetics/prothesenkunststoffe.html"; break;
		case "paladon": location.href = "/de/products/prosthesis_synthetics/paladon65/paladon65.html"; break;
	}
}
/* Home News */
var newsCount;
var controller;
function news(){
	var newsContainer = $('main');
	newsCount = newsContainer.getElementsByClassName('contentWrapper_voll').length;
	if(newsCount > 1){
		controller = 0;
		showNews();
		window.setInterval("showNews()", 4600);
	}
	else{
		$$('.contentWrapper_voll').each(function(elem){
			elem.style.display = "block";
		});
	}
}
function showNews(){
	$$('.contentWrapper_voll').each(function(elem, index){
		elem.style.display = 'none';
		if(controller >= newsCount){
			controller = 0;
		}
		if (index == controller && index < newsCount){
			elem.style.display = 'block';
		}
	});
	controller ++;
}
/* Home News Ende */