﻿
	var UC_STATIC_VISION_index = 0;
	var UC_STATIC_VISION_enableTimer = true;
	var UC_STATIC_VISION_arrTitle = new Array();
	var UC_STATIC_VISION_arrComment = new Array();
	var UC_STATIC_VISION_arrPicture = new Array();
	
	function UC_STATIC_VISION_showContent(iItem)
	{
		UC_STATIC_VISION_index = iItem;
		var pic = document.getElementById("UC_STATIC_VISION_ctrlPicture");
		pic.style.background = UC_STATIC_VISION_arrPicture[iItem];
		var ctrlTitle = document.getElementById("UC_STATIC_VISION_ctrlTitle");
		ctrlTitle.innerHTML	= UC_STATIC_VISION_arrTitle[iItem];
		var ctrlComment = document.getElementById("UC_STATIC_VISION_ctrlComment");
		ctrlComment.innerHTML = UC_STATIC_VISION_arrComment[iItem];	 
	}
	function UC_STATIC_VISION_viewItem()
	{
		if (UC_STATIC_VISION_enableTimer)
		{
			UC_STATIC_VISION_index = UC_STATIC_VISION_index + 1;
			if (UC_STATIC_VISION_index > (UC_STATIC_VISION_arrTitle.length - 1))
				UC_STATIC_VISION_index = 0;
			
			UC_STATIC_VISION_showContent(UC_STATIC_VISION_index);
			setTimeout("UC_STATIC_VISION_viewItem()", 15 * 500);
		}
		
	}
	
