var ShockMode = 0;

if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
	if (navigator.plugins && navigator.plugins["Shockwave Flash"])
		ShockMode = 1;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.userAgent.indexOf("Windows 9")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('ShockMode = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash")))\n');
	document.write('</SCRIPT\> \n');
}

if ( ShockMode ) {
	document.write('<table border=0 width="80%" height="80%" align="center" valign="middle" bgcolor="#A06800"><tr><td>');
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=3,0,0,0"');
	document.write(' ID=liveflash WIDTH="100%" HEIGHT="100%" standby="Loading Flash Movie..." align="center">');
	document.write('  <PARAM NAME=movie VALUE="Spanish.swf"> ');
	document.write('  <PARAM NAME=quality VALUE=high> ');
	document.write('  <PARAM NAME=loop VALUE=false> ');	
	document.write('<center><EMBED SRC="Spanish.swf"');
	document.write(' swLiveConnect=FALSE WIDTH="612" HEIGHT="460"');
	document.write(' QUALITY=high LOOP=true');
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" align="center">');
	document.write('</EMBED></center>');
	document.write('</OBJECT>');
	document.write('</td></td></table>');
	} 
