
	function showDetail(vURL)
	{
		window.location.href = vURL;
	}
	
	function changeTab(tabNum)
	{
		clearTimeout(t);
		currentTab = tabNum;
		rotateTabs();
	}
	
	function showRotatorTab(tabNum)
	{
		for(j=1; j <= RotPromoNr; j++)
		{
			document.getElementById("rotTab" + j).style.display="none";
		}
		
		document.getElementById("rotTab"+tabNum).style.display="block";
	}

	function rotateTabs()
	{
		//showRotatorTab(currentTab);
		for(j=1; j <= RotPromoNr; j++)
		{
			document.getElementById("rotTab" + j).style.display="none";
		}
		
		document.getElementById("rotTab"+currentTab).style.display="block";
		
		
		t = setTimeout("rotateTabs()", 5000);
		currentTab++;
		if(currentTab>RotPromoNr)currentTab=1;
	}
