function switchPicSwf(width, height, textH, pics, texts, linkes)
{
	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="'+ width +'" height="'+ height +'">');
	document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/image/picSwitch.swf"><param name="quality" value="high"> <param name="bgcolor" value="#ffffff">');
	document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
	document.write('<param name="FlashVars" value="pics=' + pics + '&links=' + linkes + '&texts=' + texts + '&borderwidth=' + width + '&borderheight=' + (height - textH) + '&textheight=' + textH + '">');
	document.write('<embed wmode="opaque" FlashVars="pics=' + pics + '&links=' + linkes + '&texts=' + texts + '&borderwidth=' + width + '&borderheight= ' + (height - textH) + '&textheight=' + textH + '" menu="false" bgcolor="#ffffff" quality="high" width ="' + width + '" height="' + (height - textH) + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}
