function obtenDatos (num) {
	switch (num) { 
		case 1: 
			var altura= 220;
			var anchura= 680;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;WIN WIN WIN";
			var tipo= 2;
			var texto= '<br /><ul><li><strong>The user WINS</strong> by getting discounts for telephone ';
			texto= texto+'services and/or free mobile content.</li><br /><li><strong>The advertiser and ';
			texto= texto+'media companies WIN</strong> by using a global system with more than ';
			texto= texto+'95% penetration of the population that delivers total traceability and effectiveness ';
			texto= texto+'measurement at a low price.</li><br /><li><strong>The network operators WIN</strong> ';
			texto= texto+'by increasing ARPU and becoming a new advertising medium with a potential and growth ';
			texto= texto+'that is difficult to imagine today.</li></ul><br />';
			//var imagen='../imagenes/mobile1.jpg';
			//anchoImg= 231;
			var imagen= '';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 2: 
			var altura= 400;
			var anchura= 542;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;Usuarios mundiales: 2.000 millones de usuarios de telefon&iacute;a m&oacute;vil";
			var tipo= 2;
			texto= '<img name="imagenVentana" src="../imagenes/pastilla2.png" width=542 height=327 />';
			var imagen='../imagenes/pastilla2.png';
			// El tama&ntilde;o del cuadro de la imagen debe tener en cuenta de que existen padding de 10 por
			// la derecha y por la izquierda.
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 3: 
			var altura= 300;
			var anchura= 695;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;KEYS TO THE SUCCESS OF PUBLICITY ON MOBILES";
			var tipo= 1;
			var texto= '<br /><p>It reduces the cost of advertising. Conventional media have no ';
			texto= texto+'traceability and offer uncertain effectiveness and high Cost Per Thousand. They are now ';
			texto= texto+'faced with a competitor that provides traceability and measurable effectiveness.</p>';
			texto= texto+'<p>Introducing a medium we ALL use, the mobile, into the world of advertising.</p>';
			texto= texto+'<p>The main players in the sector wish to participate in this new market and work together.';
			texto= texto+'A revenue-sharing model has been created with mobile operators, increasing ';
			texto= texto+'advertising sales in the market.</p>';
			texto= texto+'<p>A very high percentage of users (93%) are willing to accept advertising ';
			texto= texto+'via their mobile in exchange for free services (SMS, downloads, etc.). ';
			texto= texto+'Massive social acceptance and proliferation of LOW-COST services.</p><br />';
			var imagen='';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 4: 
			var altura= 350;
			var anchura= 545;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;SMS / MMS PENETRATION";
			var tipo= 2;
			texto= '<img name="imagenVentana" src="../imagenes/pastilla4.png" width=541 height=289 margin-left=5/>';
			var imagen='../imagenes/pastilla4.png';
			// El tama&ntilde;o del cuadro de la imagen debe tener en cuenta de que existen padding de 10 por
			// la derecha y por la izquierda.
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 5: 
			var altura= 410;
			var anchura= 655;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;USO INTERNET MOVIL";
			var tipo= 2;
			texto= '<img name="imagenVentana" src="../imagenes/pastilla5.png" width=646 height=360 margin-left=5/>';
			var imagen='../imagenes/pastilla5.png';
			// El tama&ntilde;o del cuadro de la imagen debe tener en cuenta de que existen padding de 10 por
			// la derecha y por la izquierda.
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 6: 
			var altura= 220;
			var anchura= 680;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;PROFILE OF MOBILE TELEPHONY USERS";
			var tipo= 2;	
			var texto= '<br /><ul><li>78.5% of men and 73.2% of women are mobile telephone users.</li><br /> ';
			texto= texto+'<li>Mobile telephone users change terminals more and more frequently: 44.5% of ';
			texto= texto+'mobiles were changed last year.</li><br /><li>Most calls made by users are ';
			texto= texto+'personal (83%) or for professional or educational purpose (17%). ';
			texto= texto+'Those who use it for professional purposes do so more intensively, ';
			texto= texto+'with a mean of 5.2 calls per day, as opposed to 3.4 calls per day by those who use it ';
			texto= texto+'for personal purposes.</li></ul><br />';
			var imagen= '';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 7: 
			var altura= 300;
			var anchura= 400;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;WHAT USERS SAY";
			var tipo= 1;
			var texto= '<br /><p>Users accept advertising if:';
			texto= texto+'</p><p>';
			texto= texto+'<span class="alinIzq"><strong>Cost reduction</strong></span>';
			texto= texto+'<br />';
			texto= texto+'<span class="alinDer">93,7%</span><span class="alinIzq">I have discounts on my bill.</span><br />';
			texto= texto+'<span class="alinDer">90,6%</span><span class="alinIzq">I receive loyalty points from my operator.</span><br />';
			texto= texto+'<span class="alinDer">82,0%</span><span class="alinIzq">If it includes contents or services I am  ';
			texto= texto+"interested in and I don't have to pay for them.</span><br /><br />";
			texto= texto+'</p><p>';
			texto= texto+'<span class="alinIzq"><strong>Contents</strong></span>';
			texto= texto+'<br />';
			texto= texto+'<span class="alinDer">81,0%</span><span class="alinIzq">If I was interested in the products or services.</span><br />';
			texto= texto+'<span class="alinDer">70,7%</span><span class="alinIzq">If they were funny, creative or entertaining.</span><br />';
			texto= texto+'<span class="alinDer">79,5%</span><span class="alinIzq">If they send information on subjects I am interested in.</span><br />';
			texto= texto+'</p><br /><p>';
			texto= texto+'<span class="alinIzq">Source: Mobile Study & Advertising 2007. Zed Digital</span>';
			texto= texto+'</p>';
			var imagen='';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 8: 
			var altura= 450;
			var anchura= 695;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;LOPD";
			var tipo= 1;
			var texto= '<br /><p>La Ley Org&aacute;nica 15/91999 de Protecci&oacute;n de Datos de Car&aacute;cter ';
			texto= texto+'Personal tiene por objeto garantizar y proteger, en lo que concierne al ';
			texto= texto+'tratamiento de datos personales, las libertades p&uacute;blicas y los derechos ';
			texto= texto+'fundamentales de las personas f&iacute;sicas, y especialmente de su honor e ';
			texto= texto+'intimidad personal y familiar.</p>';
			texto= texto+'<p>Concernientes a la actividad de ADSMEDIA, son especialmente relevantes los ';
			texto= texto+'art&iacute;culos referidos a:<br />';
			texto= texto+'<ul><li>Calidad de los datos, asegurando que sea adecuados, exactos, ';
			texto= texto+'actualizados, pertinentes y no excesivos en relaci&oacute;n al &aacute;mbito y ';
			texto= texto+'finalidades determinadas.</li>';
			texto= texto+'<li>Derecho a la informaci&oacute;n en la recogida de los datos sobre la ';
			texto= texto+'existencia del fichero de datos, de los derechos de las personas con ';
			texto= texto+'relaci&oacute;n a estos datos, de la identidad de los responsables del tratamiento ';
			texto= texto+'de los datos y del uso al que est&aacute;n destinados.</li>';
			texto= texto+'<li>El consentimiento inequ&iacute;voco del interesado, as&iacute; como su derecho ';
			texto= texto+'a rectificaci&oacute;n y cancelaci&oacute;n. Asimismo, se contempla el derecho a la ';
			texto= texto+'consulta al registro general de protecci&oacute;n de datos.</li>';
			texto= texto+'<li>El compromiso a no solicitar datos especialmente protegidos en el ';
			texto= texto+'&aacute;mbito de las creencias, salud, vida sexual, filiaciones, etc. de las ';
			texto= texto+'personas.</li>';
			texto= texto+'<li>El deber de secreto y de seguridad de los datos, adoptando las medidas ';
			texto= texto+'necesarias para prevenir su alteraci&oacute;n, p&eacute;rdida o acceso no autorizado.</li>';
			texto= texto+'<li>Comunicaci&oacute;n y cesi&oacute;n de datos a terceros cuando sea estrictamente ';
			texto= texto+'necesario para el desarrollo de las funciones de la empresa y siempre ';
			texto= texto+'bajo el amparo de la regulaci&oacute;n existente.</li>';
			texto= texto+'</ul></p>';
			texto= texto+'<p>ADSMEDIA asume su responsabilidad en el tratamiento de los ';
			texto= texto+'datos y teniendo debidamente registrados y supervisados por la ';
			texto= texto+'Agencia de Protecci&oacute;n de Datos todos los ficheros de datos disponibles.</p><br />';
			var imagen='';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 9: 
			var altura= 330;
			var anchura= 695;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;MOBILES IN SPAIN";
			var tipo= 1;
			var texto= '<br /><p>Worldwide, Spain is clearly placed among leading countries in mobile telephone use. ';
			texto= texto+'Spain is even ahead of other technologically advanced countries with a higher income ';
			texto= texto+'per capita, such as France, Germany or Japan. Western Europe is leader in the world ';
			texto= texto+'ranking of mobile telephone penetration. Among countries with the highest penetration ';
			texto= texto+'are Sweden, Italy, Czech Republic, Norway, United Kingdom and Portugal. If we ';
			texto= texto+'consider the total number of mobile telephone subscribers, the situation changes, since ';
			texto= texto+'Spain is in tenth place worldwide.</p><p>Fixed telephones are being replaced ';
			texto= texto+'with mobiles, mainly by young users.</p><p>Young people setting up new homes ';
			texto= texto+'are replacing the costs of fixed telephony with the costs of mobile use. ';
			texto= texto+'In these homes, the mean expenditure (124€ every three months) is higher than the mean ';
			texto= texto+'cost of mobile telephone use (84.9€) in Spain but lower than the mean expenditure ';
			texto= texto+'on fixed and mobile telephones in homes that have both services (167€).</p>';
			texto= texto+'<p>The typical Spanish home that only has mobile technology is characteristic of ';
			texto= texto+'small towns and young middle-class people, normally with children.</p><br />';
			var imagen='';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 10: 
			var altura= 350;
			var anchura= 600;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;FORMATOS PUBLICITARIOS";
			var tipo= 2;
			var texto= '<br /><ul><li>M&aacute;s de nueve de cada diez usuarios de telefon&iacute;a m&oacute;vil ';
			texto= texto+'dar&iacute;an su permiso para recibir publicidad en su m&oacute;vil si obtuviesen descuentos ';
			texto= texto+'en la factura telef&oacute;nica (93,7%) o puntos de fidelizaci&oacute;n de su ';
			texto= texto+'operador (90,6).</li><br />';
			texto= texto+'<li>Un 85% de los j&oacute;venes la aceptar&iacute;a si la publicidad fuera divertida, ';
			texto= texto+'entretenida o creativa.</li><br />';
			texto= texto+'<li>Cuanto mayor es la antigüedad en el uso de la telefon&iacute;a m&oacute;vil o ';
			texto= texto+'mayor es el consumo mayor es tambi&eacute;n la predisposici&oacute;n para aceptar ';
			texto= texto+'los env&iacute;os publicitarios. </li><br />';
			texto= texto+'<li>El formato m&aacute;s valorado es el MMS de v&iacute;deo, con un 7,27%.. Mensajes ';
			texto= texto+'patrocinados (6,58%), el MMS de imagen (6,50%), el MMS de audio (6,43%), ';
			texto= texto+'el SMS (5,48%) y las alertas de m&oacute;viles (5,42%).</li><br />';
			texto= texto+'<li>El m&aacute;s conveniente para enviar publicidad seg&uacute;n los usuarios es el ';
			texto= texto+'MMS de video con un 32,5%, despu&eacute;s el MMS de imagen en un 25,8% de los casos.</li><br />';
			texto= texto+'<li>El formato que m&aacute;s les gustar&iacute;a recibir es el MMS de v&iacute;deo ';
			texto= texto+'(40,8%) seguido de los videos patrocinados (22,0%).</ul><br />';
			//var imagen='../imagenes/mobile1.jpg';
			//anchoImg= 231;
			var imagen= '';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 11: 
			var altura= 220;
			var anchura= 680;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;LA TECNOLOGIA";
			var tipo= 2;
			var texto= '<br /><p>ADSMODE-ICMP es la plataforma tecnol&oacute;gica integrable con los ';
			texto= texto+'servicios del operador que permite dise&ntilde;ar y desarrollar campa&ntilde;as ';
			texto= texto+'publicitarias sacando el m&aacute;ximo partido de los servicios y recursos ';
			texto= texto+'del operador:<br /><br />';
			texto= texto+'<ul><li>Definici&oacute;n, implementaci&oacute;n y seguimiento de las campa&ntilde;as.</li><br />';
			texto= texto+'<li>Integraci&oacute;n con plataformas SMS/MMS, WAP/portals y servicios ';
			texto= texto+'a clientes.</li><br />';
			texto= texto+'<li>Amplias posibilidades de an&aacute;lisis de resultados y prospecci&oacute;n ';
			texto= texto+'de oportunidades.</li></ul></p>';
			//var imagen='../imagenes/mobile1.jpg';
			//anchoImg= 231;
			var imagen= '';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 12: 
			var altura= 350;
			var anchura= 550;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;PUBLICIDAD WAP / PORTALS";
			var tipo= 2;
			
			var texto= '<br /><ul><li>Banners simples, con o sin texto.</li><br />';
			texto= texto+'<li>Banners con enlaces click-through a otras p&aacute;ginas donde ';
			texto= texto+'obtener mayor informaci&oacute;n, como por ejemplo un video.</li><br />';
			texto= texto+'<li>Banners con enlaces a una site del anunciante con un ';
			texto= texto+'formulario, mayor informaci&oacute;n o mapas de localizaci&oacute;n de los puntos de venta ';
			texto= texto+'m&aacute;s cercanos.</li><br />';
			texto= texto+'<li>Banner configurados con acciones click-to-call para realizar ';
			texto= texto+'inmediatamente una llmada a un n&uacute;mero habilitado por el anunciante.</li><br />';
			texto= texto+'<li>Banners ligados a acciones clic-to-SMS para optar a recibir ';
			texto= texto+'m&aacute;s informaci&oacute;n, participar en un sorteo o incluso enviar mensajes virales a ';
			texto= texto+'los amigos invitandolos a participar en la promoci&oacute;n.</li><br />';
			texto= texto+'<li>Anuncios contextualizados en p&aacute;ginas de resultados ';
			texto= texto+'identificando palabras clave.</li><br />';
			texto= texto+'<li>Intersticiales entre p&aacute;ginas.';
			texto= texto+'</li></ul><br />';
			//var imagen='../imagenes/mobile1.jpg';
			//anchoImg= 231;
			var imagen= '';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 13: 
			var altura= 430;
			var anchura= 520;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;EL ACCESO A INTERNET CON EL MOVIL EN ALZA";
			var tipo= 2;
			
			var texto= '<p>Seg&uacute;n el informe "M&oacute;viles y Publicidad. Percepci&oacute;n, ';
			texto= texto+'usos y Tendencias" Zed Digital, se identifica un notable ';
			texto= texto+'crecimiento en el uso de los servicios de acceso a Internet ';
			texto= texto+'mediante el m&oacute;vil:</p>';
			texto= texto+'<img name="imagenVentana" src="../imagenes/pastilla13.png" width=509 height=317 margin-left=5/>';
			var imagen= '../imagenes/pastilla13.png';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 14: 
			var altura= 460;
			var anchura= 530;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;ARPU MOVIL";
			var tipo= 2;
			texto= '<img name="imagenVentana" src="../imagenes/pastilla14.png" width=500 height=381 margin-left=5/>';
			var imagen='../imagenes/pastilla14.png';
			// El tama&ntilde;o del cuadro de la imagen debe tener en cuenta de que existen padding de 10 por
			// la derecha y por la izquierda.
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 15: 
			var altura= 290;
			var anchura= 695;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;CAPTURE & DELIVERY";
			var tipo= 1;
			var texto= '<br /><p>El <strong>Messaging Gateway</strong> implementa las funciones necesarias para ';
			texto= texto+'el desarrollo de campa&ntilde;as basadas en la recepci&oacute;n y env&iacute;o de ';
			texto= texto+'mensajes SMS/MMS. Realiza la recepci&oacute;n, construcci&oacute;n y env&iacute;o ';
			texto= texto+'de los mensajes insertando en cada caso los contenidos m&aacute;s ';
			texto= texto+'adecuados en funci&oacute;n de los par&aacute;metros disponibles.</p><p>';
			texto= texto+'El <strong>WAP Gateway</strong> permite la ejecuci&oacute;n de campa&ntilde;as para interactuar ';
			texto= texto+'con los usuarios a trav&eacute;s de inserciones en p&aacute;ginas WAP. ';
			texto= texto+'Mediante la implantaci&oacute;n de Ad Tags espec&iacute;ficos en el c&oacute;digo ';
			texto= texto+'de generaci&oacute;n de las p&aacute;ginas se habilita la posibilidad de ';
			texto= texto+'proporcionar desde simples banners publicitarios a acciones ';
			texto= texto+'directas orientadas a facilitar la compra por impulso.</p><p>';
			texto= texto+'El <strong>MAP Gateway</strong> es la plataforma para integrar la publicidad con ';
			texto= texto+'las aplicaciones para el m&oacute;vil, juegos y en general cualquier ';
			texto= texto+'tipo de aplicaci&oacute;n que se pueda instalar en el dispositivo.';
			texto= texto+'</p><br />';
			var imagen='';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		case 16: 
			var altura= 350;
			var anchura= 695;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;MMA - MOBILE ADVERTISING GUIDELINES";
			var tipo= 1;
			
			var texto= '<p><br /><img name="imagenVentana" src="../imagenes/logoMobileMarketingAssoc.png" width=256 height=75/><br /></p>';
			texto= texto+'<p>La Mobile Marketing Association (MMA) ha estado proponiendo l&iacute;neas ';
			texto= texto+'maestras y recomendaciones de buenas pr&aacute;cticas desde su fundaci&oacute;n en 2003.</p><p> ';
			texto= texto+'La &uacute;ltima entrega de las "Mobile Advertising Guidelines" es la tercera de una ';
			texto= texto+'serie iniciada hace m&aacute;s de un a&ntilde;o, adaptada a los continuos cambios ';
			texto= texto+'en los anchos de banda de la red, las capacidades de los terminales ';
			texto= texto+'y las especificaciones de los operadores.</p><p>';
			texto= texto+'Los formatos y recomendaciones de la MMA han sido creados en colaboraci&oacute;n ';
			texto= texto+'con todas las partes del ecosistema del marketing en el m&oacute;vil, incluyendo ';
			texto= texto+'operadores, proveedores de contenidos, agencias y anunciantes, y lideres ';
			texto= texto+'tecnol&oacute;gicos.</p><p>El documento proporciona formatos, recomendaciones y ';
			texto= texto+'especificaciones, as&iacute; como un completo sumario de las tendencias en ';
			texto= texto+'publicidad sobre portales y p&aacute;ginas WAP. Asimismo, se ofrece una ';
			texto= texto+'visi&oacute;n de c&oacute;mo aplicar los diferentes tipos de campa&ntilde;as, lo que ';
			texto= texto+'se puede obtener y los modelos de medici&oacute;n y retribuci&oacute;n aplicables.<br />';
			texto= texto+'</p><br />';
			var imagen='../imagenes/logoMobileMarketingAssoc.png';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ; 
		case 17: 
			var altura= 220;
			var anchura= 680;		//anchura de la ventana flotante
			var titulo= "&nbsp;&nbsp;&nbsp;&nbsp;PREMIO AL MEJOR PLAN DE EMPRESA";
			var tipo= 2;
			var texto= '<p><br /><strong><span class="ads">adsmedia&#153;</span></strong> ha sido finalista ';
			texto= texto+'al Premio al mejor Plan de Empresa, ';
			texto= texto+'premio otorgado a aquellos emprendedores y emprendedoras que presenten un ';
			texto= texto+'plan de empresa para desarrollar una actividad innovadora en la ciudad de ';
			texto= texto+'Barcelona. En dicho premio se evaluar&aacute; la idea de negocio, la coherencia del ';
			texto= texto+'plan de empresa, la viabilidad t&eacute;cnica, econ&oacute;mica y financiera del proyecto, ';
			texto= texto+'el equipo promotor y las previsiones de crecimiento de la empresa tanto en ';
			texto= texto+'facturaci&oacute;n como en creaci&oacute;n de puestos de trabajo.</p>';
			texto= texto+'<p>El D&iacute;a del Emprendedor de Barcelona est&aacute; promovido conjuntamente por ';
			texto= texto+'el Ayuntamiento (Barcelona Activa), la Generalitat de Catalunya (Cidem), ';
			texto= texto+'el Ministerio de Industria y Comercio (DGPYME), y la C&aacute;mara de Comercio de ';
			texto= texto+'Barcelona. </p><br />';
			var imagen= '';
			var anchoImg= "0";
			return {'alt': altura, 'anc': anchura, 'tit': titulo, 'tipo': tipo, 'texto': texto, 'imagen': imagen, 'anchoImg': anchoImg };
			break ;
		default: 
			var txt= "Sentencias a ejecutar si el valor no es ninguno de los anteriores" ;
	}	 
}

function getPosition() {
    e = e || window.event;
    var cursor = {x:0, y:0};
    if (e.pageX || e.pageY) {
        cursor.x = e.pageX;
        cursor.y = e.pageY;
    } 
    else {
        var de = document.documentElement;
        var b = document.body;
        cursor.x = e.clientX + 
            (de.scrollLeft || b.scrollLeft) - (de.clientLeft || 0);
        cursor.y = e.clientY + 
            (de.scrollTop || b.scrollTop) - (de.clientTop || 0);
    }
    return cursor;
}
/*
function getWindowSize() {
	var win_w, win_h;
	if (self.innerHeight) {
		win_w = self.innerWidth;
		win_h = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) {
				win_w = document.documentElement.clientWidth;
				win_h = document.documentElement.clientHeight;
			} else if (document.body) {
						win_w = document.body.clientWidth;
						win_h = document.body.clientHeight;
					}
	return {'w': win_w, 'h': win_h};
}
*/
function getWindowSize() {
	var win_w, win_h, distancia_h;
	if (self.innerHeight) {
		win_w = self.innerWidth;
		win_h = self.innerHeight;
	} else if (document.documentElement && document.documentElement.scrollTop) {
				win_w = document.documentElement.clientWidth;
				win_h = document.documentElement.clientHeight;
				distancia_h = document.documentElement.scrollTop;	// creo que da el tamaño total de la página web
			} else if (document.body) {
						win_w = document.body.clientWidth;
						win_h = document.body.clientHeight;
						distancia_h = document.body.scrollTop;	// creo que da el tamaño total de la página web
					}
	return {'w': win_w, 'h': win_h, 'd': distancia_h};
}

// La ventana aparece centrada siempre en el navegador.
function presVentana(idVentana) {
	var registro= { alt: 0, anc: 0, tit: '', tipo: '', texto: '', imagen: '', anchoImg: '' };
	registro= obtenDatos(idVentana);
	var altura= registro.alt;
	var anchura= registro.anc;
	var imagenPast= registro.imagen;
	
	//alert (document.documentElement.scrollTop);
	//alert (document.body.scrollTop);
	//alert (document.documentElement.clientHeight);
	//alert (document.body.clientHeight);
	
	// cogemos el tama&ntilde;o de la ventana
	// en page_size.w tenemos la anchura.
	// en page_size.h tenemos la altura.
	var page_size = getWindowSize();
	
	//var y= (page_size.h-registro.alt)/2;
	var y= (page_size.h/2)-(registro.alt/2)-50;
	var dist= page_size.d;
	
	var vent=document.getElementById('ventana'); 
	vent.style.top= eval(dist+y)+'px';
	
	// Precargamos la imagen porque sino en IE6
	// no aparece la imagen de entrada. Si le damos a "mostrar imagen" sí que aparece.
	if (imagenPast != '') {
		imgPast = new Image(); 
		imgPast.src = imagenPast;
	}
	//alert('page_size.h= '+page_size.h);
	//alert ('y= '+y);
	//alert ('dist= '+dist);
	//alert ('total='+vent.style.top);
	
	$('box1').style.height= altura+'px';
	$('box1').style.width= anchura+'px';
	$('box2').style.height= (altura+2)+'px';
	$('box2').style.width= (anchura+2)+'px';
	$('box3').style.height= (altura-6)+'px';
	$('box3').style.width= (anchura-6)+'px';
	$('box4').style.height= altura+'px';	
	$('box4').style.width= anchura+'px';
	
	$('titulVent').innerHTML= registro.tit;
	$('textCuerpoPan').innerHTML= registro.texto;
	$('textCuerpoPan').style.width= anchura+'px';
	//
	
	//if (registro.anchoImg != '') {
	//	$('textCuerpoPan').style.width= (registro.anc - registro.anchoImg-30)+'px';
	//	$('imagenCuerpoPan').style.width= registro.anchoImg+'px';
	//}
	if (imagenPast != '') {
		//$('imagenVentana').src= imagenPast;
		var elemImg=document.getElementById('imagenVentana');
		elemImg= imgPast;
		MM_swapImage('imagenVentana','',imagenPast)
		MM_swapImage('imagenVentana','',imagenPast)
	}
	
	MM_showHideLayers('oscurece','','show','ventana','','show','box1','','show','box2','','show','box3','','show','box4','','show','box5','','show');
}