<!--
function agregarFavoritos(){
   if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) {
      var url="http://www.fundacionjalisco.com/";
      var titulo="Fundación Jalisco Innovación y Desarrollo, A.C.";
      window.external.AddFavorite(url,titulo);
   }
   else {
      if(navigator.appName == "Netscape")
         alert ("Presione Crtl+D para agregar este sitio en sus Bookmarks");
   }
}
function openWindow(vinculo,w,h,b){
	window.open(vinculo,"popFundacion","menubar=0,resizable=0,width="+w+",height="+h+",scrollbars="+b+",location=0,toolbar=0,status=0,directories=0");
}

function openContact(){
	window.open("fundacion_contacto.php","mywindow","menubar=1,resizable=1,width=610,height=800,scrollbars=yes,location=0,");
}

function openEnForma(){
	window.open("docs/enforma/registro.php","mywindow","menubar=1,resizable=1,width=610,height=800,scrollbars=yes");
}
function openEnFormaCal(){
	window.open("docs/enforma/calendario.php","mywindow","menubar=1,resizable=1,width=820,height=600,scrollbars=yes");
}
function openBerries(){
	window.open("docs/berries/registro.php","mywindow","menubar=1,resizable=1,width=610,height=800,scrollbars=yes");
}
function openBerriesReq(){
	window.open("docs/berries/requisitos.php","mywindow","menubar=1,resizable=1,width=610,height=600,scrollbars=yes");
}


function muestra_imagen(archivo,ancho,alto){
	//xInnerHtml('c1','')
	xWidth ('ampliacion',ancho + 6)
	xHeight ('ampliacion',alto + 6 + 20 + 18)
	xWidth ('c1',ancho)
	xHeight ('c1',alto)
	xWidth ('cerrarampliacion',ancho)
	
	
	xInnerHtml('c1','<iframe src="' + archivo + '" width="' + ancho + '" height="' + alto + '" border="0"></iframe>')	
		
	pos_left = parseInt((xClientWidth()-ancho+3)/2)
	pos_top = xScrollTop() + parseInt((xClientHeight()-alto-300)/2)
	//if (pos_top>150) pos_top = 150
	if (pos_top<10) pos_top=10
	xMoveTo('ampliacion',pos_left,pos_top)
	
	
	setTimeout("xShow('ampliacion')",50)
}
 
function cerrar_ampliacion(){
	xHide('ampliacion');
	
}

//-->

