function showArticle( targetId ){
articles = new Array("article-1","article-2","article-3","article-4") 
tabs = new Array("tab-1","tab-2","tab-3","tab-4")
  if (document.getElementById){
		targetArticle = "article-" + targetId;
		targetTab = "tab-" + targetId;
			// loop through the array and if an item is not our target, hide it...
			for (i=0;i<articles.length;i++) {
				//alert (articles[i]);
				//alert (targetArticle);
				if (articles[i] == targetArticle) {
					target = document.getElementById( targetArticle );
					target.style.display = "";
					tabTarget = document.getElementById( targetTab );
					tabTarget.className = "selected";
				}
				if (articles[i] != targetArticle) {
					target2 = document.getElementById( articles[i] );
					target2.style.display = "none";
					tabTarget2 = document.getElementById( tabs[i] );
					tabTarget2.className = "";
				}
			} 			
  	}
}