// JavaScript Document
imgUrl1="images/ad/ad_01.jpg";
imgtext1=""
imgLink1=escape("power_eip01.asp");
imgUrl2="images/ad/ad_02.jpg";
imgtext2=""
imgLink2=escape("news20090715.asp");
imgUrl3="images/ad/ad_03.jpg";
imgtext3=""
imgLink3=escape("power_flow01.asp");

var focus_width=642
var focus_height=172
var text_height=0
var swf_height = focus_height+text_height

var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3
var links=imgLink1+"|"+imgLink2+"|"+imgLink3
var texts=imgtext1+"|"+imgtext2+"|"+imgtext3

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="images/ad/focus1.swf">');
document.write('<param name="quality" value="high"><param name="wmode" value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="images/ad/focus1.swf" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="642" height="172" />');/*加上這段ff才能顯示*/
document.write('</object>');
