﻿<!--
	var focus_width = 600                        //图象部分宽度
	var focus_height = 190                       //图象部分高度
	var text_height = 0                         //文字部分高度
	var swf_height = focus_height + text_height  //SWF文件总高度
	var swf_bgcolor = "#F0F0F0"                  //SWF背景颜色
	var Flash_imgDir = "/Js/Flash/"          //图片路径

	var pics = Flash_imgDir+"AdImg/01.jpg|"
                  +Flash_imgDir+"AdImg/02.jpg|"
                  +Flash_imgDir+"AdImg/03.jpg"

       var links = "|"
                  +"|"
                  +""


       var texts = "|"
                  +"|"
                  +""
				 
				 
				 
var MM_contentVersion = 6; //FLASH版本
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if ( plugin ) {
	    var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write("<SCR" + "IPT LANGUAGE=\"VBScript\"> \n");  //FS hide this from IE4.5 Mac by splitting the tag
	document.write("on error resume next \n");
	document.write("MM_FlashCanPlay = ( IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.\" & MM_contentVersion)))\n");
	document.write("</SCR" + "IPT> \n");
}


if ( MM_FlashCanPlay ){ //如果支持FLASH，那么直接显示广告
	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=\"allowScriptAccess\" value=\"sameDomain\">");
	document.write("<param name=\"movie\" value=\""+Flash_imgDir+"img/pixviewer.swf\">");
	document.write("<param name=\"quality\" value=\"high\">");
	document.write("<param name=\"bgcolor\" value=\""+swf_bgcolor+"\">");
	document.write("<param name=\"menu\" value=\"false\">");
	document.write("<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=\""+Flash_imgDir+"img/pixviewer.swf\" wmode=\"opaque\" FlashVars=\"pics="+pics+"&links="+links+"&texts="+texts+"&borderwidth="+focus_width+"&borderheight="+focus_height+"&textheight="+text_height+"\" menu=\"false\" bgcolor=\""+swf_bgcolor+"\" quality=\"high\" width=\""+focus_width+"\" height=\""+swf_height+"\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />");
	document.write("</object>");
}else{ //如果不支持FLASH
	document.write("<div style=\"background: #FFFFFF\">");
	document.write("<table width=\""+focus_width+"\" height=\""+swf_height+"\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">");
	document.write("<tr>");
	document.write("<td>");
	document.write("<div align=\"center\"><a href=\"http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.html\" target=\"_blank\">");
	document.write("<img src=\""+Flash_imgDir+"img/flash_btn.gif\" width=\"195\" height=\"60\" alt=\"立即下载！\" border=\"0\" />");
	document.write("</a></div>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</div>");
}
//-->