// JavaScript Document
function criaObject(w, h, bg, urlSWF,wmode){
	if(wmode != "transparent"){wmode="opaque"}
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+w+'" height="'+h+'">');
	document.write('<param name="movie" value="'+urlSWF+'">');
	document.write('<param name=quality value=high>');
	//document.write('<param name=bgcolor value='+bg+'>');
	document.write('<param name="wmode" value="'+wmode+'">');
	//document.write('<embed src="'+urlSWF+'" quality=high bgcolor='+bg+' pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'" wmode="'+wmode+'"></embed> ');
	document.write('<embed src="'+urlSWF+'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'" wmode="'+wmode+'"></embed> ');
	document.write('</object>');
}

function FechaLayer() { //v9.0
  var i,p,v,obj,args=FechaLayer.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}