function ShowFlash(url, width, height){
        document.write('<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="' + width + '" height="' + height + '" VIEWASTEXT>');
        document.write('<param name="movie" value="' + url + '">');
        document.write('<param name="quality" value="high">');
        document.write('<param name="wmode" value="transparent">');
        document.write('<embed src="' + url + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
        document.write('</object>');
}


/* 
这是把事件动作绑定到菜单上的函数
*/
function attachXMenu(objid){
	var tds=objid.getElementsByTagName('td');
	for(var i=0;i<tds.length;i++){
		with(tds[i]){
			onmouseover=function(){
				with(this){
					filters[0].apply();
					style.background='#454545'; //这是鼠标移上去时的背景颜色
					style.border='1px solid #454545'; //边框
					style.color='#FFF'; //文字颜色
					filters[0].play();
				}
			}
			onmouseout=function(){
				with(this){
					filters[0].apply();
					style.background='#e6ebf1'; //这是鼠标离开时的背景颜色
					style.border='1px solid #e6ebf1'; //边框
					style.color='#454545'; //文字颜色
					filters[0].play();
				}
			}
		}
	}
}

/* 
产品图片
*/

var elady_tp=new Array();
var elady_tplink1=new Array();
var elady_tptext=new Array();
var adNumvii=0;

elady_tp[0]="cp/1.jpg"
elady_tp[1]="cp/2.jpg"
elady_tp[2]="cp/3.jpg"
elady_tp[3]="cp/5.jpg"

var elady_cimage=new Array();   
for (i=1;i<=4;i++) {
	elady_cimage[i]=new Image();
	elady_cimage[i].src=elady_tp[i];
}

function set_coelady1() {
	if (document.all){
		banner.filters.revealTrans.Transition=Math.floor(Math.random()*23);
		banner.filters.revealTrans.apply();
	}
}

function play_coelady1() {
	if (document.all) banner.filters.revealTrans.play()
}

function next_elady1() {
	if(adNumvii<elady_tp.length-1) adNumvii++ ;
	else adNumvii=0;
	set_coelady1();
	document.images.banner.src=elady_tp[adNumvii];
	play_coelady1();
	theTimer=setTimeout("next_elady1()", 5000);
}

function linkurl1() {
	jumpUrl1=elady_tplink1[adNumvii];
	jumpTarget1="_blank";
	if (jumpUrl1 != ""){
		if (jumpTarget1 != "") window.open(jumpUrl1,jumpTarget1);
		else location.href=jumpUrl1;
	}
}
function listMsg1() {
	status=elady_tplink1[adNumvii];
	document.returnValue = true;
}