// In this section we set up the content to be placed dynamically on the page.
// Customize movie tags and alternate html content below.
if (!useRedirect) {    // if dynamic embedding is turned on
  if(hasRightVersion) {  // if we've detected an acceptable version
        document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
	document.write(' ID="patatajs" WIDTH="109" HEIGHT="131" ALIGN="">');
	document.write(' <PARAM NAME=movie VALUE="patata.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME="wmode" VALUE="transparent"> <PARAM NAME=bgcolor VALUE=#FFFFFF>  '); 
	document.write(' <EMBED src="patata.swf" quality=high bgcolor=#FFFFFF  ');
	document.write(' swLiveConnect=FALSE WIDTH="109" HEIGHT="131" NAME="patatajs" ALIGN=""');
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
	document.write(' </EMBED>');
	document.write(' </OBJECT>'); 	
  } else { 
  	 // flash is too old or we can't detect the plugin
     document.write('<IMG SRC="imagenes/patatajs.gif" WIDTH="109" HEIGHT="131">'); 
  }
}
