  function dete_reso()
	{
  	//alert("Ejecuta");
  	hz=screen.height ;
  	wz=screen.width ;
  	
  	if (wz > 1280 && hz >  800)
  	{
  		res= 800;
  	}
  	else
  	{
  		res= 800;
  	}
  	var cade;
  	
  	cade = '<link rel="stylesheet" type="text/css" href="css/generales.css">';
  	document.write(cade);
	 /* cade = '<script type="text/javascript" src="scripts/tooltip.js"></script>';*/
	  document.write(cade);
	  

	}

	function inicia_qui()
	{			
			//setTimeout("ajxSiddel('archivos/menu/mNosotros.html','izq')");
			//setTimeout("ajxSiddel('archivos/page/quienes_somos.html','der')",500);
			window.onload = AlCargar(window.onload,ajxSiddel('pages/inicio.html','contenedor'));
	}
	
	
	function ver_desc(id_div,valor){
		var mousex=window.event.x;
		var mousey=window.event.y;
		id_div.style.visibility=valor;
		id_div.style.left=mousex;
		id_div.style.top=mousey+320;
	}
 
 function AlCargar(function1, function2) 
 {
  return function() 
    {
    if (function1)
    function1();
    if (function2)
    function2();
  }
}
 
 function ajxSiddel(UrlStr, ajxDiv) {
        var url = encodeURIComponent(UrlStr);
        var url = UrlStr;
        var params = '';
        //alert(url);
        new Ajax.Request(url, {
        method: 'get', parameters: params,
        onSuccess: function(transport) {
        
        if(transport.responseText.length > 0){
                document.getElementById(ajxDiv).innerHTML=transport.responseText;
        }}});
}

 function ajxExe(UrlStr, ajxDiv) {
        var url = UrlStr
        new Ajax.Updater($(ajxDiv), 
        url, { 
              method: 'get', 
              evalScripts:true           
        }
        ); 
}
