function select(articleNum)
{
	clearTimeout(2)
	clearTimeout(3)
	clearTimeout(4)
	clearTimeout(5)
	if (articleNum == 1) {
    	var selection = document.getElementById('article_one').style;
    } else if (articleNum == 2) {
    	var selection = document.getElementById('article_two').style;
    } else if (articleNum == 3) {
    	var selection = document.getElementById('article_three').style;
    } else if (articleNum == 4) {
    	var selection = document.getElementById('article_four').style;
    }
    var one = document.getElementById('article_one').style;
    var two = document.getElementById('article_two').style;
    var three = document.getElementById('article_three').style;
    var four = document.getElementById('article_four').style;
    
    one.visibility = 'hidden'; 
    two.visibility = 'hidden'; 
    three.visibility = 'hidden'; 
    four.visibility = 'hidden'; 
    selection.visibility = 'visible';
}

function rotate(articleNum)
{
	if (articleNum == 1) {
    	var selection = document.getElementById('article_one').style;
    } else if (articleNum == 2) {
    	var selection = document.getElementById('article_two').style;
    } else if (articleNum == 3) {
    	var selection = document.getElementById('article_three').style;
    } else if (articleNum == 4) {
    	var selection = document.getElementById('article_four').style;
    }
    var one = document.getElementById('article_one').style;
    var two = document.getElementById('article_two').style;
    var three = document.getElementById('article_three').style;
    var four = document.getElementById('article_four').style;
    
    one.visibility = 'hidden'; 
    two.visibility = 'hidden'; 
    three.visibility = 'hidden'; 
    four.visibility = 'hidden'; 
    selection.visibility = 'visible';
    
    setInterval(rotate(articleNum), 2400);
}
