function pintaEstilos(rutaIMG) {
	if (rutaIMG==undefined || rutaIMG=='')
		rutaIMG='Images/';
	with(document) {
		write('<style>');
		write('div.Tabla_01 {');
		write('	position:absolute;');
		write('	left:-296px;');
		write('	top:0px;');
		write('	width:1261px;');
		write('	height:836px;');	
		/*write('	position:absolute;');
		write('	left:50%;');
		write('	top:0px;');
		write('	width:800px;');
		write('	margin-left: -923px');*/
		write('}');
		
		write('div.WEBASE-01_ {');
		write(' position:absolute;');
		write('	left:0px;');
		write('	top:0px;');
		write('	width:1562px;');
		write('	height:12px;');
		write('}');
		
		write('div.WEBASE-02_ {');
		write('	position:absolute;');
		write('	left:0px;');
		write('	top:12px;');
		write('	width:398px;');
		write('	height:854px;');
		write('}');
		
		write('div.WEBASE-03_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:12px;');
		write('	width:198px;');
		write('	height:123px;');
		write('}');
		
		write('div.WEBASE-04_ {');
		write('	position:absolute;');
		write('	left:596px;');
		write('	top:12px;');
		write('	width:8px;');
		write('	height:110px;');
		write('}');
		
		write('div.WEBASE-05_ {');
		write('	position:absolute;');
		write('	left:604px;');
		write('	top:12px;');
		write('	width:556px;');
		write('	height:110px;');
		write('	background-image: url('+rutaIMG+'WEBASE_05.jpg);');
		write('}');
		
		write('div.WEBASE-06_ {');
		write('	position:absolute;');
		write('	left:1160px;');
		write('	top:12px;');
		write('	width:10px;');
		write('	height:808px;');
		write('	background-image: url('+rutaIMG+'WEBASE_06.jpg);');
		write('}');
		
		write('div.WEBASE-07_ {');
		write('	position:absolute;');
		write('	left:1170px;');
		write('	top:12px;');
		write('	width:392px;');
		write('	height:854px;');
		write('}');
		
		write('div.WEBASE-08_ {');
		write('	position:absolute;');
		write('	left:596px;');
		write('	top:122px;');
		write('	width:564px;');
		write('	height:14px;');
		write('	background-image: url('+rutaIMG+'WEBASE_08.jpg);');
		write('}');
		
		write('div.WEBASE-09_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:135px;');
		write('	width:198px;');
		write('	height:6px;');
		write('}');
	
	/* Fondo tabla de contenidos */
		
		write('div.WEBASE-10_ {');
		write('	position:absolute;');
		write('	left:596px;');
		write('	top:136px;');
		write('	width:564px;');
		write('	height:864px;');
		write('	background-image: url('+rutaIMG+'WEBASE_10.jpg);');
		write('}');
	
		write('div.WEBASE-11_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:141px;');
		write('	width:51px;');
		write('	height:404px;');
		write('}');
		
		write('div.portada {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:139px;');
		write('	width:147px;');
		write('	height:30px;');
		write('}');
		
		write('div.quienesSomos {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:172px;');
		write('	width:147px;');
		write('	height:33px;');
		write('}');
		
		write('div.dondeEstamos {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:205px;');
		write('	width:147px;');
		write('	height:34px;');
		write('}');
		
		write('div.educacionParaElDesarrollo {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:238px;');
		write('	width:147px;');
		write('	height:33px;');
		write('}');
		
		write('div.cooperacionInternacional {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:271px;');
		write('	width:147px;');
		write('	height:33px;');
		write('}');
		
		write('div.voluntariado {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:304px;');
		write('	width:147px;');
		write('	height:33px;');
		write('}');

		write('div.comoColaborar {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:337px;');
		write('	width:147px;');
		write('	height:34px;');
		write('}');
	
		write('div.publicaciones {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:370px;');
		write('	width:147px;');
		write('	height:33px;');
		write('}');
		
		write('div.actualidad {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:403px;');
		write('	width:147px;');
		write('	height:33px;');
		write('}');
		
		write('div.agenda {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:436px;');
		write('	width:147px;');
		write('	height:34px;');
		write('}');
		
		write('div.links {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:469px;');
		write('	width:147px;');
		write('	height:33px;');
		write('}');
		
		write('div.WEBASE-24_ {');
		write('	position:absolute;');
		write('	left:449px;');
		write('	top:537px;');
		write('	width:138px;');
		write('	height:8px;');
		write('}');
		
		write('div.WEBASE-25_ {');
		write('	position:absolute;');
		write('	left:587px;');
		write('	top:504px;');
		write('	width:9px;');
		write('	height:113px;');
		write('	background-image: url('+rutaIMG+'WEBASE_25.jpg);');
		write('}');
		
		write('div.WEBASE-26_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:512px;');
		write('	width:189px;');
		write('	height:29px;');
		write('	background-image: url('+rutaIMG+'WEBASE_26.jpg);');
		write('}');
		
		write('div.WEBASE-27_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:538px;');
		write('	width:189px;');
		write('	height:13px;');
		write('	background-image: url('+rutaIMG+'WEBASE_27.jpg);');
		write('}');
		
		write('div.WEBASE-28_ {');
		write('	position:absolute;');
		write(' left:398px;');
		write('	top:550px;');
		write('	width:189px;');
		write('	height:21px;');
		write('	background-image: url('+rutaIMG+'WEBASE_28.jpg);');
		write('	text-align:left;');
		write('}');
		
		write('div.WEBASE-29_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:571px;');
		write('	width:189px;');
		write('	height:17px;');
		write('	background-image: url('+rutaIMG+'WEBASE_29.jpg);');
		write('}');
		
		write('div.WEBASE-30_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:590px;');
		write('	width:189px;');
		write('	height:21px;');
		write('	background-image: url('+rutaIMG+'WEBASE_30.jpg);');
		write('	text-align:left;');
		write('}');
		
		write('div.WEBASE-31_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:611px;');
		write('	width:89px;');
		write('	height:27px;');
		write('	background-image: url('+rutaIMG+'WEBASE_31.jpg);');
		write('}');
		
		write('div.WEBASE-32_ {');
		write('	position:absolute;');
		write('	left:487px;');
		write('	top:611px;');
		write('	width:100px;');
		write('	height:27px;');
		write('}');
		
		write('div.WEBASE-33_ {');
		write('	position:absolute;');
		write('	left:587px;');
		write('	top:614px;');
		write('	width:9px;');
		write('	height:39px;');
		write('	background-image: url('+rutaIMG+'WEBASE_33.jpg);');
		write('}');

/*		
		write('div.WEBASE-34_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:605px;');
		write('	width:189px;');
		write('	height:9px;');
		write('	background-image: url('+rutaIMG+'WEBASE_34.jpg);');
		write('}');
*/
		
		write('div.WEBASE-35_ {');
		write('	position:absolute;');
		write('	left:398px;');
		write('	top:652px;');
		write('	width:189px;');
		write('	height:184px;');
		write('}');
		
/*Sombra de la izquierda sobre fondo verde. Debajo de los menus*/

		write('div.WEBASE-36_ {');
		write('	position:absolute;');
		write('	left:587px;');
		write('	top:653px;');
		write('	width:9px;');
		write('	height:340px;');
		write('	background-image: url('+rutaIMG+'WEBASE_36.jpg);');
		write('}');

/*Pie de la tabla.*/
		
		write('div.WEBASE-37_ {');
		write('	position:absolute;');
		write('	left:587px;');
		write('	top:991px;');
		write('	width:583px;');
		write('	height:17px;');
	//	write('	background-image: url('+rutaIMG+'WEBASE_37.jpg);');
		write('	background-color: #3C8A1C;');
		write('}');
		
		write('div.WEBASE-38_ {');
		write('	position:absolute;');
		write('	left:587px;');
		write('	top:838px;');
		write('	width:583px;');
		write('	height:28px;');
		write('}');
	
		write('div.WEBASE-39_ {');
		write('	position:absolute;');
		write(' left:398px;');
		write('	top:541px;');
		write('	width:189px;');
		write('	height:99px;');
		write('	background-image: url('+rutaIMG+'WEBASE_28.jpg);');
		write('	text-align:left;');
		write('}');
		
/*Sombra derecha inferior sobre fondo verde*/
	
		write('div.WEBASE-63_ {');
		write('	position:absolute;');
		write('	left:1160px;');
		write('	top:820px;');
		write('	width:10px;');
		write('	height:180px;');
		write('	background-image: url('+rutaIMG+'WEBASE_63.jpg);');
		write('}');
	
		write('body {');
		write('	background-image: url('+rutaIMG+'background.jpg);');
		write('	background-repeat: repeat-y;');
		write('}');
		write('.Estilo1 {font-family: Verdana, Arial, Helvetica, sans-serif;');
		write('	font-weight: bold;');
		write('	color: #057006;');
		write('}');
		write('.Estilo3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #057006; font-size: 11px; }');
		write('.Estilo4 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #057006; font-size: 10px; }');
		write('.Estilo5 {color: #000000; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;}');
		write('.Estilo6 {color: #000000; font-size: 9px; font-family: Verdana, Arial, Helvetica, sans-serif;}');
		write('.Estilo7 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #254a28; font-size: 11px; }');
		write('.Estilo8 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #057006; font-size: 14px; }');
		write('.formulario {font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;border:solid 1px #057006; background-color:#D2E5CF}');
		write('.formularioBoton {font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;border:outset 2px #057006; background-color:#D2E5CF}');
		write('A:link {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; text-decoration:none; color: #057006; font-size: 11px; }');
		write('A:visited {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; text-decoration:none; color: #057006; font-size: 11px; }');
		write('A:hover {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; text-decoration:none; color:#057006; font-size: 11px; }');
		write('A:active {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; text-decoration:none; color:#057006; font-size: 11px; }');
		write('#Layer1 {');
		write('	position:absolute;');
		write('	width:295px;');
		write('	height:38px;');
		write('	z-index:1;');
		write('	left: 285px;');
		write('	top: 125px;');
		write('}');
		write('#Layer2 {');
		write('	position:absolute;');
		write('	width:35px;');
		write('	height:27px;');
		write('	z-index:10;');
		write('	left: 1120px;');
		write('	top: 30px;');
		write('}');
		write('#Layer3 {');
		write('	position:absolute;');
		write('	width:189;');
		write('	height:9;');
		write('	z-index:1;');
		write('	left: 398px;');
		write('	top: 637px;');
		write('}');
		write('</style>');
	}
}