function switchArticle(id)
{
	var divs       = document.getElementsByTagName("div");
	var shortStyle = document.getElementById("short"+id).style.display;
	
	for ( var i = 0; i < divs.length; ++i )
	{
		if ( !divs[i].attributes || !divs[i].attributes["id"] )
			continue;
		
		var divId = divs[i].attributes["id"].value;
		
		if ( divId.substr(0,5) == "short" )
			divs[i].setAttribute("style","display:block");
		else if ( divId.substr(0,4) == "full" )
			divs[i].setAttribute("style","display:none");
	}
	
	if ( shortStyle == "none" )
	{
		document.getElementById("short"+id).style.display = "block";
		document.getElementById("full"+id).style.display = "none";
	}
	else
	{
		document.getElementById("short"+id).style.display = "none";
		document.getElementById("full"+id).style.display = "block";
	}
}
