var swfobject_params = { wmode: "transparent" };

/* parse callback from iframe.php
*/
function feedtop(s) {
  eval("(function() {" + s + "})();");
}



function menuFix() {
  var sfEls = document.getElementById("menu_ul").getElementsByTagName("li");
  for(var i=0;i<sfEls.length;i++) {
		var ulss=sfEls[i].getElementsByTagName("ul");
	}
  for (var i=0; i<sfEls.length; i++) {
    sfEls[i].onmouseover=function() {
      this.className+=(this.className.length>0? " ": "") + "show";
    }
    sfEls[i].onmouseout=function() {
      this.className=this.className.replace(new RegExp("( ?|^)show\\b"), "");
    }
  }
}
//window.onload=menuFix;

/*download*/
function MenuToggle(e){
   aTags = new Array('ul','div');/*可添加任何块元素*/
   oTargetArray = new Array();
   oParent = e.parentNode ;
     for(i = 0 ; i < aTags.length; i++) 
	 {
	    oTargetArray.push(oParent.getElementsByTagName(aTags[i]));
	}
   
   for (i = 0 ; i < oTargetArray.length;i++)
   {
     oTarget = oTargetArray[i];
     // alert(oTarget[0].tagName);
    if(typeof oTarget[0] != 'undefined')
   {
   
  if(oTarget[0].style.display != 'block'  ){
   oTarget[0].style.display = 'block';
   oTarget[0].parentNode.className = "list";}
   else{
   oTarget[0].style.display = 'none';
   oTarget[0].parentNode.className = "";
   return false;}
   }
 
}  
return true;
}



function ShowDiv(ObjID) {
	for(var i=1;i<4;i++) {
		if(document.getElementById("icon_"+i)) {
			document.getElementById("icon_"+i).className=(ObjID==i)?"cur5":"";
			document.getElementById("newsul_"+i).className=(ObjID==i)?"cur5":"";
		} else return;
	}
}




