function flashWrite(url,w,h,id,bg,win,scale,it){
var flashStr=
"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
"<param name='movie' value='"+url+"' />"+
"<param name='quality' value='high'>"+
"<param name='wmode' value='"+win+"'>"+
"<param name='Menu' value='false'>"+
"<param name='bgcolor' value='"+bg+"' />"+
"<param name='allowScriptAccess' value='always'>"+
"<embed src='"+url+"' wmode='"+win+"' width='"+w+"' height='"+h+"' bgcolor='"+bg+"' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>"+
"</object>";
document.write(flashStr);
}

function senfe(a,b,c,d){
	var t=document.getElementsByTagName("tr");
	for(var i=0;i<t.length;i++){
		t[i].style.backgroundColor=(t[i].sectionRowIndex%2==0)?a:b;
		t[i].onclick=function(){
			if(this.x!="1"){
				this.x="0"; //如果希望点击有颜色，这里设为1即可
				this.style.backgroundColor=d;
			}
			else{
				this.x="0";
				this.style.backgroundColor=(this.sectionRowIndex%2==0)?a:b;
			}
		}
		t[i].onmouseover=function(){
			if(this.x!="1")this.style.backgroundColor=c;
		}
		t[i].onmouseout=function(){
			if(this.x!="1")this.style.backgroundColor=(this.sectionRowIndex%2==0)?a:b;
		}
	}
}
