
/* javascript, 2004 orange8 interactive ag */

var hTimOut;
var iimgs = new Array();
var vimgs = new Array();

function showDiv(name)
{
	hideAllDivs();
	window.clearTimeout(hTimOut);
	hTimOut = window.setTimeout('hideAllDivs()', 3000);

	var divToShow = document.getElementById(name);
	if(divToShow)
		divToShow.style.visibility = 'visible';
}

function hideAllDivs()
{
	if(document.getElementById('nav_de'))
		document.getElementById('nav_de').style.visibility = 'hidden';
	if(document.getElementById('nav_fr'))
		document.getElementById('nav_fr').style.visibility = 'hidden';
}

function openwnd(fil, width, height)
{
	openWnd(fil, width, height);
}

function openWnd(fil, width, height)
{
	window.open(fil,'cliorspopup','left='+((screen.availWidth-width)/2)+',top='+((screen.availHeight-height)/2)+',width='+width+',height='+height+',directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=yes').focus();
}

function openAcrobat()
{
	openWnd('http://www.adobe.com/products/acrobat/readstep2.html', 800, 600);
}

function showTab0()
{
	if(document.getElementById('tab_0'))
		document.getElementById('tab_0').style.visibility = 'visible';
	if(document.getElementById('tab_1'))
		document.getElementById('tab_1').style.visibility = 'hidden';
}

function showTab1()
{
	if(document.getElementById('tab_1'))
		document.getElementById('tab_1').style.visibility = 'visible';
	if(document.getElementById('tab_0'))
		document.getElementById('tab_0').style.visibility = 'hidden';
}

