	//*************************************************************************
	//cambio de colores de las celdas del menu
         function uno(src,color_entrada) {
                src.bgColor=color_entrada;src.style.cursor="hand";
        }
        function dos(src,color_default) {
                src.bgColor=color_default;src.style.cursor="default";
        }
        
	//*************************************************************************
	
	// área de Impresión de noticias
        
	function Imprimir()
		{
		var dc = document.getElementById;
		var contenido =  dc('noticiacompleta').innerHTML;
		var impDoc1 =window.open('','imprime',areaimpre(650,435));
		var imp1 = '<html><head>';
			imp1 = imp1 + '<title>Articulación entre Sociedad Civil - Estado en el proceso de Descentralización en Piura | &Aacute;rea de Impresi&oacute;n de noticias</title><meta HTTP-EQUIV="Expires" CONTENT="0"><meta HTTP-EQUIV="Pragma" CONTENT="no-cache"><meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">';
			imp1 = imp1	+ '<link href="http://www.piuraonline.org/sociedadcivil/stilo.css" type="text/css" rel="stylesheet" title="estilos"></head>';
			imp1 = imp1	+ '<body>';
			imp1 = imp1	+ '<table width="100%" border="0" style="padding: 0px" cellspacing="0" cellpadding="10" bgcolor="#ffffff">';
			imp1 = imp1	+ '<tr><td align="right" valign="center" bgcolor="#ffffff"><table border="0" cellspacing="0" style="padding: 0px" cellpadding="0" bgcolor="#ffffff" align="right" align="top"><tr><td align="center"><a href="javascript:window.print();"><img border="0" width="70" height="20" alt="Imprimir." src="http://www.piuraonline.org/sociedadcivil/images/boton_imprimir.gif" hspace="0" vspace="0"></a></td><td align="center"><a href="javascript:self.close();"><img border="0" width="53" height="20" alt="Cerrar." src="http://www.piuraonline.org/sociedadcivil/images/boton_cerrar.gif" hspace="0" vspace="0"></a></td></tr></table></td></tr>';
			imp1 = imp1	+ '<tr><td bgcolor="#F6FEE2" style="padding: 0px"><img src="http://www.piuraonline.org/sociedadcivil/images/topimp.gif"></td></tr>';
			imp1 = imp1	+ '<tr><td>' + contenido + '</td></tr>';
			imp1 = imp1	+ '<tr><td id="pieimpresion"><hr color="#6CB72A"> \n &nbsp;<b>&copy; CEDIR - CIPCA</b> - Arte, Dise&ntilde;o y Programaci&oacute;n - todos los derechos reservados 2006.</td></tr></table>\n';
			imp1 = imp1	+ '</body>\n</html>';
		impDoc1.document.write(imp1);
		impDoc1.document.close();
		}

	function areaimpre(ancho,alto)
		{
		var objWin = new Object();
		objWin.width = ancho;
		objWin.height = alto;
		if (navigator.appName == "Netscape")
		{
			objWin.left = window.screenX + ((window.outerWidth - objWin.width) / 2);
			objWin.top = window.screenY + ((window.outerHeight - objWin.height) / 2);
			var atributo = 'screenX=' + objWin.left + ',screenY=' + objWin.top + ',resizable=no,width=' + objWin.width + ',height=' + objWin.height + ',scrollbars=yes,menubar=no,location=no,toolbar=no,status=no,directories=no';
		}
		else if (document.all)
		{
			objWin.left = ((screen.width-objWin.width) / 2);
			objWin.top = ((screen.height-objWin.height) / 2);
			var atributo = 'left=' + objWin.left + ',top=' + objWin.top + ',resizable=no,width=' + objWin.width + ',height=' + objWin.height + ',scrollbars=yes,menubar=no,location=no,toolbar=no,status=no,directories=no';
		}
		return atributo;
		}
	//*************************************************************************
	
//Empieza texto ampliar y reducir - FONT SIZE MANAGEMENT 
function FindObj(n, d) { //v4.01
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=FindObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function ChangeProp(objName,x,theProp,theValue) { //v6.0
var obj = FindObj(objName);
if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
if (theValue == true || theValue == false)
eval("obj."+theProp+"="+theValue);
else eval("obj."+theProp+"='"+theValue+"'");
}
}

function LoadActualFontSize() {
tempArray = document.cookie.split(";");
for (tA = 0; tA < tempArray.length; tA++){
if (tempArray[tA].indexOf('fontSize') > -1){
fontSizeValue = tempArray[tA].split("=")
ACTUAL_FONTSIZE = parseInt(fontSizeValue[1]);
}
}
}

function SaveActualFontSize() {
var expire = new Date ();
expire.setTime (expire.getTime() + (6000 * 24 * 3600000));
expire = expire.toGMTString();
document.cookie="fontSize="+ACTUAL_FONTSIZE+"; path=/; expires="+expire;
}

function Ampliar() {
ACTUAL_FONTSIZE = ACTUAL_FONTSIZE+1;
if (ACTUAL_FONTSIZE > LARGEST_FONTSIZE) { ACTUAL_FONTSIZE = LARGEST_FONTSIZE }
ChangeProp('texto','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');
SaveActualFontSize();
}

function Reducir() {
ACTUAL_FONTSIZE = ACTUAL_FONTSIZE-1
if (ACTUAL_FONTSIZE < SMALLEST_FONTSIZE) { ACTUAL_FONTSIZE = SMALLEST_FONTSIZE }
ChangeProp('texto','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');
SaveActualFontSize();
}

ACTUAL_FONTSIZE = 12;
SMALLEST_FONTSIZE = 12;
LARGEST_FONTSIZE = 22;
//Termina texto ampliar y reducir

<!--
      function openWin(url, name) {
             popupWin = null;
             popupWin=window.open(url,name,'resizable=no,scrollbars=no,width=350,height=310 screenX=20,left=210,screenY=20,top=40');
             // focus window (solo para Navigator 3.0)
             if ( (navigator.appName != "Microsoft Internet Explorer") && (navigator.appVersion.substring(0,1) == "3") )
             popupWin.focus();
     }

// -->
<!--
      function recomendar2() {
             popupWin = null;
             popupWin=window.open("http://www.piurarural.com/recomendar/recomendar.asp",name,'resizable=no,scrollbars=no,width=350,height=310 screenX=20,left=210,screenY=20,top=40');
             // focus window (solo para Navigator 3.0)
             if ( (navigator.appName != "Microsoft Internet Explorer") && (navigator.appVersion.substring(0,1) == "3") )
             popupWin.focus();
     }

// -->
