	function showOportunidades(idArea){
		if(idArea==null){idArea=0;}else{idArea=parseInt(idArea);}
		var nroOfertas = countOfertas(idArea);
		if(nroOfertas==0){return;}
		var html="";var cArea = "*";
		for (var i=0;i<opor.length;i++){
			if(cArea!=opor[i][2]){
				cArea=opor[i][2].toString();
				html+="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"450\" style=\"table-layout:fixed;\">";
				html+="<col width=55><col width=5><col width=265><col width=123>";
				html+="<tr><td align=left valign=top colspan=4 style=\"padding-top:10px;border-bottom:1px solid black;\" bgcolor=\"#F0F0F0\"><b>Área:&nbsp;"+cArea+"</b></td></tr>";
				html+="<tr>";
				html+="<td bgcolor=\"#E5E5E5\" align=\"left\" valign=\"top\"><b>Código</b></td>";
				html+="<td colspan=\"2\" bgcolor=\"#E5E5E5\" align=\"left\" valign=\"top\"><b>Oportunidad Laboral</b></td>";
				html+="<td bgcolor=\"#E5E5E5\" align=\"left\" valign=\"top\"><b>Puedes postular hasta el:</b></td>";
				html+="</tr>";
				html+="<tr><td colspan=4 bgcolor=\"#303030\" height=1></td></tr>"
				html+="</table>"
			}

			html+="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"450\" style=\"table-layout:fixed;\">";
			html+="<col width=55><col width=12><col width=277><col width=104>";
			html+="<tr>";
			if(opor[i][4]!=""){html+="<td align=left valign=top><b>["+opor[i][4]+"]</b></td>";}else{html+="<td>&nbsp;</td>";}
			html+="<td align=left valign=top style=\"padding-top:3px;\"><img style=\"cursor:pointer;\" onclick=\"displayDetail(this,"+i+");\" title=\"pulsa aquí para ver más detalles...\" id=\"opoControl_"+i+"\" border=0 src=\"/images/plus.gif\" width=\"9\" height=\"9\"></td>";
			html+="<td align=left valign=top>";
			html+="<span style=\"cursor:pointer;color:#00000;font-weight:bold;\" onclick=\"displayDetail(null,"+i+");\" ";
			html+="title=\"pulsa aquí para ver más detalles...\" onmouseover=\"this.style.color='#0000FF';\"  onmouseout=\"this.style.color='#000000';\">";
			
			html+=opor[i][5]+"</span>";
			html+="</td>";
			html+="<td align=left valign=top><font color=blue>"+opor[i][9]+"</font></td>";
			html+="</tr>";
			if(opor[i][6]!=""){
				html+="<tr>";
				html+="<td>&nbsp;</td>";
				html+="<td colspan=3>"+opor[i][6].toString().replace(javaBrs,'<br>')+"</td>";
				html+="</tr>";		
			}
			html+="<tr>";
			html+="<td>&nbsp;</td>";
			html+="<td colspan=3><span style=\"font-size:8pt;color:#0000FF;\">Publicado el "+opor[i][8]+"</span></td>";
			html+="</tr>";			
			
			html+="</table>"	
			html+="<div id=\"opoDetail_"+i+"\" style=\"display:none;\">";
			html+="<table border=\"0\" bgcolor=\"#E0E0E0\" cellpadding=\"0\" cellspacing=\"0\" width=\"450\" style=\"table-layout:fixed;\">";
			html+="<col width=60><col width=390>";
			if (opor[i][7]!=""){
				html+="<tr>";
				html+="<td colspan=2><div style=\"padding-left:30px;font-weight:bold;text-align:left\">Requisitos:</div></td>";
				html+="</tr>";
				html+="<tr>";
				html+="<td>&nbsp;</td>";
				html+="<td>"+opor[i][7]+"</td>";
				html+="</tr>";
			}

			html+="<tr>";
			html+="<td>&nbsp;</td>";
			if(opor[i][3]=="A"){
				html+="<td style=\"padding-top:10px;\">";
				html+="<font color=\"#800000\"><b>Si deseas ver más información sobre esta oferta laboral o postular a la misma ";
				html+="debes estar <u>REGISTRADO</u>.</b></font></td>";
			}else if ((opor[i][3]=="P")||(opor[i][3]=="C")){
				if(opor[i][11]!=""){
					html+="<td style=\"padding-top:10px;\">";
					html+="<font color=\"#800000\"><b>"+usuNombre+"</b>, ya aplicaste a esta oferta laboral el <b>"+opor[i][11]+"</b><br>";
					html+="<b>Si deseas ver o modificar tu aplicación por favor pulsa</b></font>";
					html+="<a href=\"/micuenta_oportunidades.asp?pag=postular&id="+opor[i][0]+"\" title=\"pulsa aquí..\">";
					html+="<img border=\"0\" src=\"/images/aqui.gif\" width=\"35\" height=\"14\">";					
					html+="</td>";
				}else{
					if(opor[i][10]=="P"){
						html+="<td style=\"padding-top:10px;\">";
						html+="<font color=\"#800000\"><b>"+usuNombre+"</b>,<br>";
						html+="Si deseas ver más información ó postular a esta oferta laboral por favor pulsa ";
						html+="<a href=\"/micuenta_oportunidades.asp?pag=postular&id="+opor[i][0]+"\" title=\"pulsa aquí..\">";
						html+="<img border=\"0\" src=\"/images/aqui.gif\" width=\"35\" height=\"14\">";					
						html+="</td>";
					}else{
						html+="<td style=\"padding-top:10px;\">";
						html+="<font color=\"#800000\"><b>"+usuNombre+"</b>,<br>";
						html+="Esta oferta laboral no está disponible para tu perfil actual.";
						html+="</td>";
					}				
				}
			}
			html+="</td>";
			html+="</tr>";
			html+="</table>"
			html+="</div>"			
			html+="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"450\" style=\"table-layout:fixed;\">";	
			html+="<tr><td bgcolor=\"#909090\" height=1></td></tr>";
			html+="</table>"
		}
		if(isLogon=="0"){
			html+="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"450\" style=\"table-layout:fixed;\">";	
			html+="<tr><td style=\"padding-bottom: 20px\">";
			html+="<font color=\"#800000\"><b><span style=\"font-size: 8pt\">";
			html+="* Algunas ofertadas laborales solo están disponibles para usuarios registrados.</span></b><br></font><br>";
			html+="  Para que puedas ver mayor detalle de las ofertas listadas, o postular a alguna de ellas debes estar <b>REGISTRADO</b>.";
			html+="</td></tr>";
			html+="</table>"
		}
		document.write(html);
	}
	function displayDetail(obj,index){
		if(!document.getElementById("opoDetail_"+index)){return;}else{var detail = document.getElementById("opoDetail_"+index);}
		if(obj==null){obj=document.getElementById("opoControl_"+index);}
		if(detail.style.display=="block"){
			detail.style.display="none";
			obj.src="/images/plus.gif";obj.title="pulsa aquí para mostrar los detalles de esta oferta laboral...";
		}else{
			detail.style.display="block";
			obj.src="/images/minus.gif";obj.title="pulsa aquí para ocultar los detalles de esta oferta laboral...";
		}
	}
