﻿document.write('<script type="text/javascript">\n');
document.write('<!--\n');
document.write('	function ShowFlashImgs(){\n');
document.write('		this.Server = \'\';                  //图片文件夹路径\n');
document.write('		this.Path = \'/myImg/FlashImgShow.swf\';    //Flash文件路径\n');
document.write('		this.TitleTextColor = \'0xFFFFFF\';                       //标题颜色(前面加0x)\n');
document.write('		this.TitleBgColor = \'0xCCCCCC\';                         //标题背景色\n');
document.write('		this.BtnDefaultColor = \'0xCCCCCC\';                      //按钮默认背景色\n');
document.write('		this.BtnOverColor = \'0x000000\';                         //鼠标移上时按钮背景色\n');
document.write('		this.W = 300;                                           //图片宽度\n');
document.write('		this.H = 140;                                           //图片高度\n');
document.write('		this.Vars = function(){\n');
document.write('			var s1 = [], s2 = [], s3 = [];\n');
document.write('			for (var i=0; i<FlashImgs.length; i++) {\n');
document.write('				s1.push(this.Server + FlashImgs[i][0]);\n');
document.write('				s2.push(FlashImgs[i][1]);\n');
document.write('				s3.push(FlashImgs[i][2]);\n');
document.write('			}\n');
document.write('			return \'bcastr_file=\' + s1.join(\'|\') + \'&bcastr_link=\' + s2.join(\'|\') + \'&bcastr_title=\' + s3.join(\'|\') + \'&TitleTextColor=\' + this.TitleTextColor + \'&TitleBgColor=\' + this.TitleBgColor + \'&BtnDefaultColor=\' + this.BtnDefaultColor + \'&BtnOverColor=\' + this.BtnOverColor;\n');
document.write('		};\n');
document.write('		this.Start = function(){\n');
document.write('			var s = [];\n');
document.write('			s.push(\'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="\' + this.W + \'" height="\' + this.H + \'">\');\n');
document.write('			s.push(\'<param name="movie" value="\' + this.Path + \'">\');\n');
document.write('			s.push(\'<param name="quality" value="high">\');\n');
document.write('			s.push(\'<param name="wmode" value="transparent">\');\n');
document.write('			s.push(\'<param name="FlashVars" value="\' + this.Vars() + \'">\');\n');
document.write('			s.push(\'<embed src="\' + this.Path + \'" FlashVars="\' + this.Vars() + \'" width="\' + this.W + \'" height="\' + this.H + \'" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" salign="T" name="scriptmain" menu="false" wmode="transparent"></embed>\');\n');
document.write('			s.push(\'</object>\');\n');
document.write('			document.write(s.join(\'\'));\n');
document.write('		};\n');
document.write('		this.Start();\n');
document.write('	}\n');
document.write('	var FlashImgs = [];\n');
var strCookie = document.cookie;
if (strCookie.indexOf('language=chinese') > -1) //中文
{
    document.write('	FlashImgs[FlashImgs.length] = [\'/MyImg/Flash/cs1_06040210.jpg\', \'sitenews%2F%3Ftype%3Ddetail%26id%3D55%26site%5Flanguage%3Dchinese\', \'\'];\n');
    document.write('	FlashImgs[FlashImgs.length] = [\'/support/ad/common/upload/2010/6/6/221435pk.jpg\', \'sitenews%2F%3Ftype%3Ddetail%26id%3D62%26site%5Flanguage%3Dchinese\', \'\'];\n');
    document.write('	FlashImgs[FlashImgs.length] = [\'/MyImg/Flash/cs2.jpg\', \'event%2F%3Ftype%3Ddetail%3Fid%3D2%3Fsite%5Flanguage%3Dchinese\', \'\'];\n');
    document.write('	FlashImgs[FlashImgs.length] = [\'/MyImg/Flash/cs3.jpg\', \'sitenews%2F%3Ftype%3Ddetail%26id%3D25%26site%5Flanguage%3Dchinese\', \'\'];\n');
}
else //英文
{
    document.write('	FlashImgs[FlashImgs.length] = [\'/MyImg/Flash/cs1_06040210.jpg\', \'sitenews%2F%3Ftype%3Ddetail%26id%3D57%26site%5Flanguage%3Denglish\', \'\'];\n');
    document.write('	FlashImgs[FlashImgs.length] = [\'/support/ad/common/upload/2010/6/6/221435pk.jpg\', \'sitenews%2F%3Ftype%3Ddetail%26id%3D62%26site%5Flanguage%3Denglish\', \'\'];\n');
    document.write('	FlashImgs[FlashImgs.length] = [\'/MyImg/Flash/es2.jpg\', \'event%2F%3Ftype%3Ddetail%3Fid%3D2%3Fsite%5Flanguage%3Denglish\', \'\'];\n');
    document.write('	FlashImgs[FlashImgs.length] = [\'/MyImg/Flash/es3.jpg\', \'sitenews%2F%3Ftype%3Ddetail%26id%3D27%26site%5Flanguage%3Denglish\', \'\'];\n');
    
}
document.write('	new ShowFlashImgs();\n');
document.write('//-->\n');
document.write('</script>\n');