function openICABPopup(oW,oTitle,oIdImagen,oImagen,oAlt,oPie) {
	var x = window.open('','windowName','width='+oW+',height=300,resizable=0,status=0,toolbar=0,scrollbars=no');
	if( !x ) { return true; }
	x.document.open();

	x.document.write('<script> function getRefToDivMod( divID, oDoc ) {  if( !oDoc ) { oDoc = document; } if( document.layers ) { if( oDoc.layers[divID] ) { return oDoc.layers[divID]; } else { for( var x = 0, y; !y && x < oDoc.layers.length; x++ ) { y = getRefToDivNest(divID,oDoc.layers[x].document); } return y; } } if( document.getElementById ) { return oDoc.getElementById(divID); } if( document.all ) { return oDoc.all[divID]; } 	return document[divID];}<\/script>'); 
	x.document.write('<script> function setSize(){ var oW = '+oW+'; var oH = getRefToDivMod( "myID", document ); oH = oH.clip ? oH.clip.height : oH.offsetHeight; parent.window.resizeTo( oW + 200, oH + 200 );var myW = 0, myH = 0, d = parent.window.document.documentElement, b = parent.window.document.body; if( parent.window.innerWidth ) { myW = parent.window.innerWidth; myH = parent.window.innerHeight; } else if( d && d.clientWidth ) { myW = d.clientWidth; myH = d.clientHeight; } else if( b && b.clientWidth ) { myW = b.clientWidth; myH = b.clientHeight; } if( window.opera && !document.childNodes ) { myW += 16; } if(navigator.userAgent.indexOf(\'Firefox/1.0\')!=-1) { if(oH>172) myH += 0; if(oH>=150 && oH<=172) myH += 0; if(oH<150) myH += 22;} var auxW, auxH; auxW=oW + ( ( oW + 200 ) - myW); auxH=oH + ( (oH + 200 ) - myH); parent.window.resizeTo( oW + ( ( oW + 200 ) - myW ), oH + ( (oH + 200 ) - myH ) ); self.focus();} onload=setSize; <\/script>');	
	x.document.write('<script> function Wrap(text) { var temp; var count = 0; var output_text = \'\'; var text_length = text.length; for( loop = 0; text_length > loop; loop++ ) { temp = text.substring( loop, loop+1 ); if( temp == \' \' ) { count = 0; } else { count++; } if( count > 30 ) { output_text=output_text.concat(\' \'); count = 0; } output_text=output_text.concat(temp); } return document.write(output_text); } </script>');

	x.document.write('<html><head><title>'+oTitle+'<\/title><\/head><body bgcolor=#731C31>'+
	  (document.layers?('<layer left="0" top="0" width="'+oW+'" id="myID">')
	    :('<div style="position:absolute;left:0px;top:0px;width:'+oW+'px;background:#731C31;" id="myID">')));
	    x.document.write('<table border=0 cellpadding=0 cellspacing=0 width='+oW+'px><tr><td colspan=3><img src="\/archivos\/87-'+oIdImagen+'-IMAGEN\/'+oImagen+'" alt="'+oAlt+'" id="img_1" border=0 hspace=0 vspace=0></td></tr>');
	    if(oPie!='')
	    x.document.write('<tr height="5px"><td colspan=3></td></tr>'+'<tr><td width=%></td><td align="center" width='+oW+'px><font color="white" face="verdana" size="1"><script>Wrap(\''+oPie+'\');</script></font></td><td width=%></td></tr>'+'<tr height="7px"><td colspan=3></td></tr>');
	    x.document.write('</table>'+(document.layers?'<\/layer>':'<\/div>')+'<\/body><\/html>');
		//x.document.write('<script>alert(oW);</script>');

	
	x.document.close();

	//if( x.focus ) { x.focus(); }
	return false;
}