<!--
//News story Javascript
//This sets a value for the num variable.  By default it's 0 which means... 
var num = 1;

//...that the below function runs, but as soon as a user clicks a link at the bottom, it becomes '1' which means...
function HideBlock()
{
	if ( num <= 1 ) 
	{
	setTimeout("HideStory2()",10000);
	}
	if ( num <= 1 ) 
	{
	setTimeout("HideStory3()",20000);
	}
	if ( num <= 1 ) 
	{
	setTimeout("HideStory1()",30000);
	}
	if ( num <= 1 ) 
	{
	setTimeout("HideBlock()",40000);
	}
//...this function runs which breaks the loop.  Cool, huh?
	else
	{
	setTimeout("HideBlock()",20000);
	}
}
//these are the functions that show/hide the various stories
function HideStory1()
{
elem1 = document.getElementById("Super1");
elem1.style.display = 'block';
elem2 = document.getElementById("Super2"); 
elem2.style.display = 'none';
elem3 = document.getElementById("Super3"); 
elem3.style.display = 'none';
}
function HideStory2()
{
elem1 = document.getElementById("Super1");
elem1.style.display = 'none';
elem2 = document.getElementById("Super2"); 
elem2.style.display = 'block';
elem3 = document.getElementById("Super3"); 
elem3.style.display = 'none';
}
function HideStory3()
{
elem1 = document.getElementById("Super1");
elem1.style.display = 'none';
elem2 = document.getElementById("Super2"); 
elem2.style.display = 'none';
elem3 = document.getElementById("Super3"); 
elem3.style.display = 'block';
}


function DIE1()
{
HideStory1();
          num ++; 
}

function DIE2()
{
HideStory2();
          num ++; 
}

function DIE3()
{
HideStory3();
          num ++; 
}

function Uber()
{
	num ++; 
}


//-->