// Filename: pintaflash.js
// Description: This script writes xhtml that will embed a basic flash file.  With the release of IE7, users must click to activate ActiveX 
//  controls that are coded in xhtml.  Since this is an external script, the user won't need to click the flash file in order to
//  activate it's interface.
/*var objetoFlash="<OBJECT width='"+ancho+"' height='"+alto+"' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0'><PARAM name='movie' value='"+ swfRuta + swfNom +"'><PARAM name='menu' value='false'><PARAM name='quality' value='high'><EMBED src='"+swfRuta+swfNom+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='" + ancho + "' height='"+alto+"'></EMBED></OBJECT></div>";
document.write(objetoFlash);
*/
document.write("<OBJECT width='"+ancho+"' height='"+alto+"' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0'><PARAM name='movie' value='"+ swfRuta + swfNom +"'><PARAM name='menu' value='false'><PARAM name='wmode' value='transparent'><PARAM name='quality' value='high'><PARAM name='flashvars' value='"+flashVar+"'><EMBED src='"+swfRuta+swfNom+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' wmode='transparent' flashvars='"+flashVar+"' width='"+ancho+"' height='"+alto+"'></EMBED></OBJECT>");