<!--//
	var iPos = 1;
	
	function rotateArticle(){
		iPos++;		
		loadArticle();
	}
	
	function showArticle(id){
		itemID = id;
		
		for(i = 1; i <= 4 ; i++) {
			if(document.getElementById('leading' + i).getAttribute('title') == itemID) {
				iPos = i;
			}
		}
		
		loadArticle();
	}
	
	function loadArticle(){		
		if (!iPos || iPos > 4) {
			iPos = 1;
		}
		
		for(i = 1; i <= 4 ; i++) {
			leading = document.getElementById('leading' + i)
			
			if(iPos == i){
				leading.style.zIndex = 10;
				//IE
				//leading.firstChild.firstChild.nextSibling.style.backgroundImage = 'url(templates/gufchome/images/leading_btn_over.gif)';
				//Firefox
				//leading.firstChild.nextSibling.style.backgroundImage = 'url(templates/gufchome/images/leading_btn_over.gif)';
			}
			else {
				leading.style.zIndex = 1;
				//IE
				//leading.firstChild.firstChild.nextSibling.style.backgroundImage = 'url(templates/gufchome/images/leading_btn.gif)';
				//Firefox
				//leading.firstChild.nextSibling.style.backgroundImage = 'url(templates/gufchome/images/leading_btn.gif)';
			}
		}
	}

	window.setInterval("rotateArticle()", 4000);
//-->