/* 09/07/2010 10:49:03 AM */ function GaleriaFotos(){ var features = 'toolbar=no,status=no,resizable=no,location=no,menubar=no,personalbar=no,scrollbars=no,titlebar=no,directories=no'; window.open( CurrentDB + 'vGaleriaFotosWeb?Openview', 'galeriafotos','width=488,height=382,'+ features); } function SeleccionaMes(){ obj = SeleccionaMes.arguments[0]; window.document.location.href = obj.value; } function MsgBox(){ switch ( MsgBox.arguments[0] ) { case "0" : alert('Esta opción está deshabilitada debido a que Usted\nno ha ingreso aún al sistema.\nPara hacerlo, digite su usuario y contraseña\nen los recuadros ubicados en la sección de\nACCESO A LOS SISTEMAS DE INFORMACIÓN.'); break; } } function MuestraCalendario(){ var firstDoc = '0'; var vista = 'CalendarioTuristico'; if ( firstDoc != "0" ) { window.document.location.href = CurrentDB + vista + '/' + firstDoc + '?OpenDocument'; } } function SeleccionaMes(){ var obj = SeleccionaMes.arguments[0]; var idx = obj.selectedIndex; var valmes = obj.options[idx].value; if ( eval( valmes ) > 0 ) { window.document.location.href= CurrentDB + SeleccionaMes.arguments[1] + '/' + valmes + '?OpenDocument'; } } function setValue(){ var optsel = setValue.arguments[0]; // valor seleccionado var obj = setValue.arguments[1]; // formulario var objSelect = setValue.arguments[2]; // objeto combo mes var setval = false; var i = 0; while ( !setval && objSelect.length >= i ) { if ( objSelect.options[i].value == optsel ) { setval = true; } i = i +1; } objSelect.selectedIndex = i-1; } function CustomLogin(){ var usr = CustomLogin.arguments[0]; var pwd = CustomLogin.arguments[1]; var obj = CustomLogin.arguments[2]; if ( usr == null || usr == "" || pwd == null || pwd == "" ) { alert('Usted debe ingresar su usuario y contraseña'); } else { obj.submit(); } } function SeleccionaPais(){ var obj = SeleccionaPais.arguments[0]; var idx = obj.selectedIndex; var valmes = obj.options[idx].value; window.document.location.href= CurrentDB + SeleccionaPais.arguments[1] + '?OpenView&RestrictToCategory=' + valmes; }