/*function emerge(pagina,nombreventana) {
	var myWin;
	myWin=window.open(pagina,nombreventana,'width=560,left=120,height=350,top=80,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
	myWin.focus();
}*/
var popup;
function abrecontactos(lapagina,altura) {
	var parametros = "width=520, height="+altura+", status=1, top=100, left=100";
	myWin=open(lapagina, "elpopup", parametros);
	//alert("Pop Up Abierto");
	myWin.focus();
	//myWin.close();
//	, toolbar=0, location=0, directories=0, menubar=0, scrollbars=0, resizable=1, titlebar=1') "
/*	if (_popup && !_popup.closed){
		alert(“ Pop Up Abierto”);
		//opener.focus();
	}*/

}

function abrecontactos2() {
	var parametros = "width=520, height=160, status=1, top=100, left=100";
	myWin=open("", "_popup", parametros);
	myWin.focus();
//	, toolbar=0, location=0, directories=0, menubar=0, scrollbars=0, resizable=1, titlebar=1') "

}

function imp(nombre)
{
  var ficha = document.getElementById(nombre);
  var ventimp = window.open(' ', 'popimpr');
  var cabecera = '<html><head><title>'+nombre+' - www.cgpcorrientes.gov.ar</title><link rel="stylesheet" href="estilos.css" type="text/css"><style type="text/css"> .grisitodos {color: #eeeeee; font-size: 1px; display: none;} H1.SaltoDePagina { PAGE-BREAK-AFTER: always; } </style></head><body><table align="center" width="633" border="0" cellpadding="0" cellspacing="0"><tr><td width="633" height="100%" valign="top"><br><div class=titulomayor>MISIONES Y FUNCIONES DE LA CONTADURIA GENERAL DE LA PROVINCIA DE CORRIENTES</div><br>';
  var elpie = '</td></tr></table></body></html>';  
  ventimp.document.write( cabecera+ficha.innerHTML+elpie );
  ventimp.document.close();
  ventimp.print( );
  ventimp.close();
} 

// EVITAR SPAM - OCULTAR CORREO
function escribecorreo(clase,usuario,dominio){ 
   document.write("<a class='"+clase+"' href='mailto:"+usuario+"@"+dominio+"'>"+usuario+"@"+dominio+"</a>");
} 

// Funcion para Agregar a Favoritos
function agregaFav(){
if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) {
var url="http://www.cgpcorrientes.gov.ar/index.php";
var titulo="Contaduria General de la Provincia de Corrientes";
window.external.AddFavorite(url,titulo);
}
else {
if(navigator.appName == "Netscape")
alert ("Presione Crtl+D para agregar este sitio en sus Bookmarks");
}
}
<!-- Colocar dentro del tag BODY --> onClick="javascript:agregaFav();">
