﻿

function dispflash(flashadiv,pics,texts,links,borderheight,borderwidth,textheight,bgcolor)
{
 var so = new SWFObject("images/pic.swf", "mymovie", borderwidth, borderheight, "7", bgcolor);
   so.addParam("quality", "high");
   so.addParam("wmode", "opaque");
   so.addParam("movie", "images/pic.swf");
  //so.addParam("FlashVars", "borderwidth=200&borderheight=300&");

   so.addParam("allowScriptAccess", "sameDomain");
so.addVariable("pics", pics);
so.addVariable("texts", texts);
so.addVariable("links", links);
so.addVariable("borderheight", borderheight);
so.addVariable("borderwidth", borderwidth);
so.addVariable("textheight", textheight);
 //  so.write(flashadiv);
}
function dispflashnews(width,height,bgcolor,flashdiv)
{
var fo = new SWFObject("images/news.swf", "mym", width, height, "7", bgcolor);
fo.addParam("quality", "best");
fo.addParam("salign", "t");
fo.addParam("scale", "noscale");
fo.addParam("menu", "false");
fo.addParam("loop", "true");
//fo.write(flashdiv);
}

