function C_Flashs(url,width,height,transparent){
//js嵌入flash，取消active虚线
	var param_t='';
	if (transparent!=0) {
		param_t='wmode="transparent"';
	}
	document.write('<embed src="'+url+'" width="'+width+'" height="'+height+'" quality="high" menu="false" '+param_t+' pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>');
}

function ChangeTabs(thisObj,Num){ //推荐文章滑动门效果
if(thisObj.className == "active") return;
var tabObj = thisObj.parentNode.id;
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
	for(i=0; i <tabList.length; i++) {
		if (i == Num) {
			thisObj.className = "active";
			document.getElementById(tabObj+"_content"+i).style.display = "block";
			document.getElementById("tuijianMore").href = "xhlwlist.asp";
		} else {
			tabList[i].className = "normal";
			document.getElementById(tabObj+"_content"+i).style.display = "none";
			document.getElementById("tuijianMore").href = "xhkwlist.asp";
		}
	} 
}

//缩放内容中超宽图片
function ReImgSize(){
	for (i=0;i<document.images.length;i++){
		if (document.all){//for Internet Explorer
			if (document.images[i].width>500){
				document.images[i].width="500";
				try{
					document.images[i].outerHTML='<a href="'+document.images[i].src+'" target="_blank" title="查看清晰大图">'+document.images[i].outerHTML+'</a>';
					document.images[i].style.cursor="pointer";
				}catch(e){}
			}
		}else{//for Firefox
			if (document.images[i].width>500){
				document.images[i].width="500";
				document.images[i].title="查看清晰大图";
				document.images[i].style.cursor="pointer";
				document.images[i].onclick=function(e){window.open(this.src)}
			}
		}
	}
}