    var pos = 0;
    $(function(){
        $("#simg td").mouseover(function(){
            $(this).attr("class", "s").siblings().attr("class", "");
            pos = $(this).prevAll().length;
            $("#au div:nth-child("+(pos+1)+")").show().siblings().hide();
        })
        setInterval("animate_show()", 4000);
    })
//    window.onload = function(){
//    }
    function animate_show() {
        if (pos > 3) pos = 0;
        pos++;
        $("#simg td:nth-child("+pos+")").attr("class", "s").siblings().attr("class", "");
        $("#au div:nth-child("+pos+")").fadeIn(1500).siblings().hide();
    }

    function selectTag(showContent,selfObj){
	// 操作标签
	var tag = document.getElementById("tags").getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag";
	// 操作内容
	for(i=0; j=document.getElementById("tagContent"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";


}

