// V0.00.01 2008/07/29 Commented the article_break things
// V0.00.02 2008/07/29 new functions - show_all and hide_all - call with article_id whcih equals how many articles there are on the page - enables them to be looped through to set the display element.
//
function toggle_article_on_show(article_id) {
	if (document.getElementById('article_main' + article_id).style.display == "none") {
		document.getElementById('article_main' + article_id).style.display = "inline" ;
		document.getElementById('article_break' + article_id).style.display = "none" ;
	} else {
		document.getElementById('article_main' + article_id).style.display = "none" ;
		document.getElementById('article_break' + article_id).style.display = "inline" ;
	}
}

function show_all_details(article_id) {
	var num_articles = 1 ;
	num_articles = article_id ;
	for (i=1 ; i<=num_articles ; i++) {
		document.getElementById('article_main' + i).style.display = "inline" ;
		//document.getElementById('article_break' + i).style.display = "inline" ;
	}
}

function hide_all_details(article_id) {
	var num_articles = 1 ;
	num_articles = article_id ;
	for (i=1 ; i<=num_articles ; i++) {
		document.getElementById('article_main' + i).style.display = "none" ;
		//document.getElementById('article_break' + i).style.display = "inline" ;
	}
}
