reqVersion=5;swfFile="flash/ys.swf";gifFile="flash/ys.gif";swfId="lead";swfWidth="565";swfHeight="235";swfBgcolor="#ffffff";swfQuality="high";swfLiveConnect="false";swfMenu="false"function validFlash(){if(navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){var plugin = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;if (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))>=reqVersion)return true;}else if(navigator.appName && navigator.appName.indexOf("Microsoft")!=-1 && navigator.userAgent.indexOf("Windows")!=-1 && navigator.userAgent.indexOf("Windows 3.1")==-1){return true;}else{return false;}}function writeFlash(){if(!validFlash()){document.write('<img src="flash/ys.jpg" width="565" height="235" alt="">');}else {document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"');document.write(' id="' + swfId + '" width="' + swfWidth + '" height="' + swfHeight + '">');document.write('<param name="movie" value="' + swfFile + '">');document.write('<param name="quality" value="' + swfQuality + '">');document.write('<param name="bgcolor" value="' + swfBgcolor + '">');document.write('<param name="menu" value="' + swfMenu + '">');document.write('<embed src="' + swfFile + '" width="' + swfWidth + '" height="' + swfHeight + '" menu="' + swfMenu + '" quality="' + swfQuality + '" swLiveConnect="' + swfLiveConnect + '" bgcolor="' + swfBgcolor + '" name="' + swfId + '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>');document.write('</object>');}}