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"; 
	var a1 = document.getElementById("a1");
	if(showContent=="tagContent0") a1.href="http://djc.xinhuaonline.com/login?url=/webprogram/list.jsp?cid=23";
	else if(showContent=="tagContent1") a1.href="http://djc.xinhuaonline.com/login?url=/webprogram/list.jsp?cid=18";
	else if(showContent=="tagContent2") a1.href="http://djc.xinhuaonline.com/login?url=/webprogram/list.jsp?cid=28";
	else if(showContent=="tagContent3") a1.href="http://djc.xinhuaonline.com/login?url=/webprogram/list.jsp?cid=24";
} 
function setTransition(){
   if (document.all){
      bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);
      bannerADrotator.filters.revealTrans.apply();
   }
}
function playTransition(){if (document.all) bannerADrotator.filters.revealTrans.play()}
function nextAd(){
   if(adNum<bannerAD.length-1)adNum++ ;
   else adNum=0;
   setTransition();
   document.images.bannerADrotator.src=bannerAD[adNum];
   playTransition();
   theTimer=setTimeout("nextAd()", 5000);
}
function jump2url(){
   jumpUrl=bannerADlink[adNum];
   jumpTarget='';
   if (jumpUrl != ''){
      if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
      else location.href=jumpUrl;
   }
}
function displayStatusMsg() {
   status=bannerADlink[adNum];
   document.returnValue = true;
}


