// Eurodigital Multimedia Ed. S.L. 21-12-2005. www.eurodigitalmultimedia.com
function expandir_ventana ()
		{
			window.resizaTo(screen.availHeight,screen.availWidth);
		}
function ins_etiqueta () {	
		var url_str = window.location.search;
		var urlVariable_str = url_str.substr(1).toString();
		var ventana_ancho = document.body.clientWidth;
		var ventana_alto = document.body.clientHeight;
		var ancho = 750;
		var alto = 600;
		// alert('Ancho:'+ventana_ancho+'  Alto: '+ventana_alto);
		var coeficiente = 1;
		if (ventana_alto > 640) { 
		coeficiente = (ventana_alto / 600);
		ancho = Math.round(750 * coeficiente) - 50;
		alto = ventana_alto - 40;}		
		
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" height="' + alto + '" width="' + ancho + '" id="CARGADOR" ALIGN="">');
		document.write('<PARAM NAME=movie VALUE="carga_paz_6.swf"><PARAM NAME=FlashVars VALUE="' + urlVariable_str + '"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF>');
		document.write('<EMBED src="carga_paz_6.swf" quality=high bgcolor="#FFFFFF" align="" height="' + alto + 'px" width="' + ancho + 'px" FlashVars="' + urlVariable_str + '" NAME="CARGA_INTERNAUTASPORLAPAZ" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
		document.write('</OBJECT>');
}
function openLinkWindow(link) {
	window.open(link, 'enlaceBoletin', 'width=500,height=400,screenX=300,screenY=200,left=300,top=200,location=1,menubar=1,scrollbars=1,resizable=1,toolbar=1');
}
function conseguir_flash () {
		document.write('<table width="100%"  border="0" cellspacing="0" cellpadding="0">');				
		document.write('<tr><th scope="col"><img src="/img/logo_flash.gif" width="62" height="80" /></th> </tr>');				
		document.write('<tr><th scope="row">Para poder visualizar el bolet&iacute;n necesita instalar Macromedia Flash.</th></tr>');				
		document.write('<tr><th scope="row"><a href="http://www.macromedia.com/go/getflash/" target="_self">Conseguir Macromedia Flash Player</a></th></tr></table>');				
}
function etiqueta_explorer_antiguo() {
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
		document.write('on error resume next \n');
		document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
		document.write('</SCR' + 'IPT\> \n');
}
function calcular_dimensiones(x,y) {
	
}