var imgUrl0="http://pics.91118.com/img/index/swap-active/20100303001.jpg|http://www.91118.com/images/online/winter_2009.jpg|";
var imgUrl1="http://pics.91118.com/img/index/swap-active/20100309001.jpg|";
var imgUrl2="http://pics.91118.com/img/index/happy-farm_512x194.jpg";
var imgUrl3="";//"http://www.91118.com/images/online/endstudy.jpg";

var imgLink0=escape("|http://www.91118.com/online/winter/2009|");
var imgLink1=escape("http://www.91118.com/News/NewsShow.aspx?id=715|");
var imgLink2=escape("http://www.91118.com/klxt/happyfarm/|");
var imgLink3=""//escape("http://www.91118.com/online/endstudy");

var imgtext0= "||";
var imgtext1 = "|";
var imgtext2 = "|";
var imgtext3 = "";

var focus_width=512;
var focus_height=194;
var text_height=0;
var swf_height = focus_height+text_height;

var pics= imgUrl0+imgUrl1+imgUrl2+imgUrl3 ;
var links= imgLink0+imgLink1+imgLink2+imgLink3;
var texts= imgtext0+imgtext1+imgtext2+imgtext3;


var flashCode = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/hotdeploy/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">';
    flashCode = flashCode + '<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://pics.91118.com/flash/index/scroll-focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">';
    flashCode = flashCode + '<param name="menu" value="false"><param name="wmode" value="transparent">';
    flashCode = flashCode + '<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">';
    flashCode = flashCode + '<embed src="http://pics.91118.com/flash/index/scroll-focus.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ focus_width +'" height="'+ swf_height +'" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'"></embed>';
    flashCode = flashCode + '</object>';
document.write(flashCode)
