﻿function flash(url,width,height,var1) {
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0" width="'+width+'" height="'+height+'">');
    document.write('<param name="movie" value="'+url+'" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="flashVars" value="'+var1+'" />');
    document.write('<param name="wmode" value="transparent" />');
    document.write('<param name="menu" value="false" />');
    document.write('<embed flashvars="'+var1+'" src="'+url+'" wmode="transparent" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed>');
    document.write('</object>');
}
function news1(id){
	if (id==close)
	{
		document.getElementById("show_news1").style.display='none';
	}
	else {
		document.getElementById("show_news1").style.display='';
		document.getElementById("in_iframe1").src='show1.asp?id='+id;
	}
}
function news2(id){
	if (id==close)
	{
		document.getElementById("show_news2").style.display='none';
	}
	else {
		document.getElementById("show_news2").style.display='';
		document.getElementById("in_iframe2").src='show2.asp?id='+id;
	}
}
function news3(id){
	if (id==close)
	{
		document.getElementById("show_news3").style.display='none';
	}
	else {
		document.getElementById("show_news3").style.display='';
		document.getElementById("in_iframe3").src='show3.asp?id='+id;
	}
}
/*Div层隐藏*/
function closewin(ucode){
	if(ucode=="on"){
		document.getElementById("windows").style.display='block';
	}
	else {
		document.getElementById("windows").style.display='none';
	}
}