<?php session_start(); ?>
<?php include('_cfg/config0.php');?>
<?php $last_updjs='2018-06-20';?>
<?php //include('php_gene1.php');?>
<?php 
{
  
// 127 ⌂
// 30 ▲
// 24 ↑
// 16 ►
// 27 ←
}
?>
<?php if(date('Y-m-d')<=$last_updjs){$updjs=1;}else{$updjs=0;} ?>  
<?php $jsver=''; ?>  
<?php $xrand=rand(); ?>  
<?php if($updjs==1){$jsver='?version='.$xrand;}?>  

<!-- <!DOCTYPE html> -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=0.1, user-scalable=yes"> -->
<meta id="viewport" name="viewport" content="user-scalable=no">
<!-- <meta name="viewport" content="initial-scale=1; maximum-scale=0.8"> -->
<link href="main03.css" rel="stylesheet" type="text/css">
	
<!-- <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script> -->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>  
<!-- <script src='https://www.google.com/recaptcha/api.js'></script> -->
<script type="text/javascript" src="http://vcrxol.com/_js/jquery-1.11.1.js"></script>
<script type="text/javascript" src="http://vcrxol.com/_js/js_gene1.js<?php echo $jsver?>"></script>
<script type="text/javascript" src="http://vcrxol.com/_js/js_ajax1.js<?php echo $jsver?>"></script>
<script type="text/javascript" src="http://vcrxol.com/_js/js_options.js<?php echo $jsver?>"></script>
	
<?php if ($cfg_empr=='jwib'){?>
<script type="text/javascript" src="http://vcrxol.com/_js/js_jwib1.js<?php echo $jsver?>" ></script>
<?php } ?>

<?php if (mb_stristr('cont.cele.pyme',$cfg_tipo)){?>
<script type="text/javascript" src="http://vcrxol.com/_js/js_cont1.js<?php echo $jsver?>" ></script>
<script type="text/javascript" src="http://vcrxol.com/_js/js_pyme1.js<?php echo $jsver?>" ></script>
<?php } ?>


  
<script type="text/javascript">
// function fonload()
// {
// //   maxWindow();
//   xajax='';
//   _urlinker='../_lib/_linker.php';
//   _mobile=_mobile();
//   _touchs=_touchs();
//   _desktop=!_mobile;

//   get_para();

//   if(_mobile && getini!=''){set_noback();}

//     set_main(); 
//     set_top();
  
//   if(!_mobile && getini=='empr'){getini='';set_empr();}
//   if(!_mobile && getini=='data'){getini='';set_data();}

//    set_option();
 
// }
  
  
// function doLoad() {
// //   alert(1);
//   fonload();
//   }
//   if ( window.addEventListener ) { 
//      window.addEventListener( "load", doLoad, false );
//   }
//   else 
//      if ( window.attachEvent ) { 
//         window.attachEvent( "onload", doLoad );
//   } else 
//         if ( window.onLoad ) {
//            window.onload = doLoad;
//   }  
  
  
  
window.onload = function ()
{
//   maxWindow();
//   alert(1);

// Detect whether device supports orientationchange event, otherwise fall back to
// the resize event.
var supportsOrientationChange = "onorientationchange" in window,
    orientationEvent = supportsOrientationChange ? "orientationchange" : "resize";

	
window.addEventListener(orientationEvent, function()
{
//     alert('HOLY ROTATING SCREENS BATMAN:' + window.orientation + " " + screen.width);
set_divs();
// set_fonts();
// menu_main();
}, false);  
  
  
  
  xajax='';
  _urlinker='../_lib/_linker.php';
  _mobile=_mobile();
  _touchs=_touchs();
  _desktop=!_mobile;

	
// 	console.log('123');
// 	php_func('set_ini1()');	
// 	php_func('set_ini2()');	  
	
  get_para();

// 	viewport.setAttribute('content', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes');
	
	if($get.prnt!=='' && $get.prnt!==undefined)
	{if($get.idnum!=='' && $get.idnum!==undefined){print_docu($get.docu,$get.idnum,$get.formato,'',$get.exte);}}

  if($get.clave!=='' && $get.clave!==undefined){print_docu('',$get.clave,'','',$get.exte);}
	
//   if(_mobile && getini!=''){set_noback();}
  if(_mobile){set_noback();}

    set_main(); 
    set_top();
//   set_divs();
  

	if(getempr=='jwib' && getini!==undefined){login_cong(getini);}
	
  if(getini=='empr'){getini='';set_empr();}
  if(getini=='data'){getini='';set_data(9);}
  if(getini=='logout'){getini='';logout();}

  
  if(getini.toLowerCase().indexOf('.xspf')>0){show_xspf(getini);getini='';}
  set_option();

	if($get.cong!=='' && $get.cong!==undefined){}
	if($get.menu!=='' && $get.menu!==undefined){menu_main($get.menu);}
	if($get.ctlg!=='' && $get.ctlg!==undefined){ctlg_item($get.ctlg);}
	if($get.edit!=='' && $get.edit!==undefined){edit_docu($get.docu,$get.idnum);}
//  	if($get.runs!=='' && $get.runs!==undefined){run_script();}
  
	if($get.regis=='registra'){regi_user('registra');}
	if($get.regis=='confirma'){regi_user('confirma');}
	if($get.regis=='restaura'){regi_user('restaura');}

  
  
	document.getElementById('main1').scrollIntoView();
// 	window.scrollTo(0,0);
}

// window.onbeforeunload = function confirmExit()
// {return "Desea Cerrar la Ventana ?";}

</script>

</head>
<body>

</body>
</html>