var i=0,j=0,k=0,tiempo,tiempo2;var img_menu,antemenu="Opc";var dms=1;var wwwroot="http://www.uv.mx/";var img_menu=wwwroot+"images/interiorUV/";var MP;var cm=new Object(3);cm.m=0;cm.s2=0;var submenuactual="";function AgregaMenu(f,g,a,b,e,d){var c=new String(document.location);if(f=="menu"){if(cm.m==0){MP=new Array()}MP[cm.m]=new Object(7);MP[cm.m].submenu=new Array();MP[cm.m].nombre=g;MP[cm.m].texto=a;if(b.substring(0,7)=="http://"){MP[cm.m].liga=b}else{if(b=="#"){MP[cm.m].liga=c+"#"}else{MP[cm.m].liga=wwwroot+b}}MP[cm.m].destino=e;if(d>0){MP[cm.m].px=d}cm.m++;cm.s2=0}if(f=="sub2"){if(cm.s2==0){MP[cm.m-1].submenu=new Array();MP[cm.m-1].tsubm=1}MP[cm.m-1].submenu[cm.s2]=new Object(7);MP[cm.m-1].submenu[cm.s2].nombre=g;MP[cm.m-1].submenu[cm.s2].texto=a;if(b.substring(0,7)=="http://"){MP[cm.m-1].submenu[cm.s2].liga=b}else{if(b=="#"){MP[cm.m-1].submenu[cm.s2].liga=c+"#"}else{MP[cm.m-1].submenu[cm.s2].liga=wwwroot+b}}MP[cm.m-1].submenu[cm.s2].destino=e;if(d>0){MP[cm.m-1].submenu[cm.s2].px=d}cm.s2++}}AgregaMenu("menu","menuuniversidad","Universidad","universidad/info/menuindex.html","",0);AgregaMenu("sub2","subuvacerca","Acerca de la UV","universidad/info/menuindex.html","");AgregaMenu("sub2","subuvdependencias","Entidades y dependencias","universidad/dependencias/","");AgregaMenu("sub2","subuvautoridades","&Oacute;rganos colegiados","universidad/autoridades/menuindex.html","",230);AgregaMenu("sub2","subuvmensaje","Mensaje del Rector","universidad/mensaje/index.html","");AgregaMenu("sub2","subuvdocumentos","Documentos","universidad/doctosofi/menuindex.html","",245);AgregaMenu("sub2","subuvdirectorio","Directorio","universidad/directorio/","");AgregaMenu("menu","menuoferta","Docencia","entidades/menuindex.html","",4);AgregaMenu("sub2","subofacultades","Entidades acad&eacute;micas","entidades/menuindex.html","");AgregaMenu("sub2","suboprogramas","Oferta educativa","oferta/programas/licenciaturas/menuindex.htm","");AgregaMenu("sub2","suboposgrado","Posgrado","posgrado/index.html","");AgregaMenu("sub2","subocalendario","Calendario","escolar/calendarios/oferta_escolarizado.php","");AgregaMenu("menu","menuinvestigacion","Investigaci&oacute;n","invest/index.html","",154);AgregaMenu("sub2","subinuevopapel","Papel de la investigaci&oacute;n","invest/","");AgregaMenu("sub2","subiinstitutos","Institutos y centros","invest/institutos.html","");AgregaMenu("sub2","subiboletin","Bolet&iacute;n","invest/boletin/","");AgregaMenu("menu","menudifusion","Difusi&oacute;n y Extensi&oacute;n","difyext/grupos/","",154);AgregaMenu("sub2","subddivulgacion","Vinculaci&oacute;n","vincula/","");AgregaMenu("sub2","subdeditorial","Difusi&oacute;n cultural","difyext/cultural.html","");AgregaMenu("sub2","subddaduv","Actividades deportivas","daduv/","_blank");AgregaMenu("sub2","subdscom","Servicios a la comunidad","servicios/comunidad.html","");AgregaMenu("sub2","subdsuni","Servicios universitarios","servicios/universitarios.html","");AgregaMenu("menu","menutransparencia","Transparencia","transparencia/index.html","",260);AgregaMenu("menu","menudefensoria","Defensor&iacute;a","defensoria/index.html","",260);AgregaMenu("menu","menueventos","Eventos","eventos/?","",550);AgregaMenu("sub2","subaveventos","Convocatorias y Eventos","eventos/?","");AgregaMenu("sub2","subavlicitaciones","Licitaciones","transparencia/infpublica/licitaciones/","");var consubmenu=0;var Menu_Activo=MP[0].nombre;var SubMenu3_Activo;var SubMenu_Activo;var mvalido=0,svalido=0;function menu_principal(c){if(!document.forms.FormaBusqueda){return false}else{document.forms.FormaBusqueda.q.size=36}var b;var d;var e;var a;Menu_Activo=document.getElementById("ImgMenuPrincipal").title;SubMenu_Activo=document.getElementById("ImgSubmenuPrincipal").title;SubMenu3_Activo=document.getElementById("ImgSubmenu3Nivel").title;Menu_Activo=Menu_Activo.toLowerCase();SubMenu_Activo=SubMenu_Activo.toLowerCase();SubMenu3_Activo=SubMenu3_Activo.toLowerCase();document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0' id='tabla_menu_principal' style='position:relative; top:1px; left:-1px'><tr><td>");document.write("<ul id=MenuSuperiorPrincipal>");document.write("<li><a style='color:#0066FF' href='"+wwwroot+"'>Inicio</a></li>");document.write("<li><div class='mmhide_SeparadorMenuPrincipal'></div></li>");for(i=0;i<MP.length;i++){if(MP[i].tsubm==1){document.write("<li><a href='"+MP[i].liga+"' id='"+MP[i].nombre+"' onMouseOver=\"this.className='mmhide_MenuSuperiorPrincipal_Activo'; muestra_submenu('"+antemenu+MP[i].nombre+"')\" onMouseOut=\"this.className=''; oculta_submenu('"+MP[i].nombre+"')\">"+MP[i].texto+"</a></li>")}else{document.write("<li><a href='"+MP[i].liga+"' id='"+MP[i].nombre+"' onMouseOver=\"this.className='mmhide_MenuSuperiorPrincipal_Activo'; oculta_todos_subm()\" onMouseOut=\"this.className=''; Muestra_Menu_Activo()\">"+MP[i].texto+"</a></li>")}if(i<(MP.length-1)){document.write("<li><div class='mmhide_SeparadorMenuPrincipal'></div></li>")}}document.write("</ul>");document.write("</td></tr>");document.write("<tr height=22><td valign=top>");document.write("<div id='SubMenuPrincipal' style='position:relative; left:0px; top:0px; width:700; height:20px; z-index:200;'>");for(i=0;i<MP.length;i++){if(MP[i].tsubm==1){document.write("<div id='"+antemenu+MP[i].nombre+"' style='position:absolute; left:"+MP[i].px+"px; top:"+dms+"; width:100px; height:10px; z-index:201; visibility: hidden;' onMouseOver=\"en_el_submenu('"+MP[i].nombre+"')\" onMouseOut=\"oculta_submenu('"+MP[i].nombre+"')\">");document.write("<table height='20' border='0' cellpadding='0' cellspacing='0'><tr>");for(j=0;j<MP[i].submenu.length;j++){if(MP[i].submenu[j].destino!=""){a="target='"+MP[i].submenu[j].destino+"'"}else{a=""}document.write("<td id='"+MP[i].submenu[j].nombre+"'  nowrap  class='mmhide_SubMenuSuperiorPrincipal' onMouseOver=\"this.className='mmhide_SubMenuSuperiorPrincipal_Activo'\" onMouseOut=\"this.className='mmhide_SubMenuSuperiorPrincipal'\"><a href='"+MP[i].submenu[j].liga+"' "+a+">"+MP[i].submenu[j].texto+"</a></td>");document.write("<td><div class='mmhide_SeparadorSubMenuPrincipal'></div></td>")}document.write("</tr></table>");document.write("</div>")}}document.write("</div>");document.write("</td></tr></table>");for(i=0;i<MP.length;i++){if(MP[i].nombre==Menu_Activo){mvalido=1;if(MP[i].tsubm==1){consubmenu=1}}}for(i=0;i<MP.length;i++){for(j=0;j<MP[i].submenu.length;j++){if(MP[i].submenu[j].nombre==SubMenu_Activo){svalido=1}}}if(mvalido==1){document.getElementById(Menu_Activo).className="mmhide_MenuSuperiorPrincipal_Activo";if(Menu_Activo!="menutransparencia"){document.getElementById(antemenu+Menu_Activo).style.visibility="visible"}}if(svalido==1){document.getElementById(SubMenu_Activo).className="mmhide_SubMenuSuperiorPrincipal_Activo"}Pleca()}function muestra_submenu(a){clearTimeout(tiempo);oculta_todos_subm();document.getElementById(a).style.visibility="visible";submenuactual=a}function en_el_submenu(a){clearTimeout(tiempo);if(mvalido==1){if(consubmenu==1){document.getElementById(antemenu+Menu_Activo).style.visibility="hidden"}else{document.getElementById(antemenu+MP[0].nombre).style.visibility="hidden"}}document.getElementById(antemenu+a).style.visibility="visible"}function oculta_submenu(a){tiempo=setTimeout("o_submenu('"+a+"')",1000)}function o_submenu(a){document.getElementById(antemenu+a).style.visibility="hidden";Muestra_Menu_Activo()}function oculta_todos_subm(){clearTimeout(tiempo);for(i=0;i<MP.length;i++){if(MP[i].tsubm==1){document.getElementById(antemenu+MP[i].nombre).style.visibility="hidden"}}}function Muestra_Menu_Activo(){oculta_todos_subm();if(Menu_Activo!="menutransparencia"){if(mvalido==1){document.getElementById(antemenu+Menu_Activo).style.visibility="visible";document.getElementById(Menu_Activo).className="mmhide_MenuSuperiorPrincipal_Activo"}if(svalido==1){document.getElementById(SubMenu_Activo).className="mmhide_SubMenuSuperiorPrincipal_Activo"}}}var dias=new Array("Domingo","Lunes","Martes","Mi&eacute;rcoles","Jueves ","Viernes","S&aacute;bado");var meses=new Array("enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre");function getthedate(){var e=new Date();var d=e.getYear();if(d<1000){d+=1900}var f=e.getDay();var b=e.getMonth();var a=e.getDate();var c="&nbsp;&nbsp;"+dias[f]+" "+a+" de "+meses[b]+" de "+d+" ";document.write(c)}function Columnas(){if($("#IzquierdoPrincipal").length>0){var a=$("#IzquierdoPrincipal > div").length;if(a==0){$("#DerechoPrincipal").addClass("CambiaAncho");$("#IzquierdoPrincipal").remove()}}}function menu_inferior(){document.write("<div id='MenuInferiorPrincipal'>");document.write("<a href='"+wwwroot+"universidad/info/menuindex.html' tabindex='140'>Universidad</a>");document.write("<a href='"+wwwroot+"entidades/menuindex.html' tabindex='141'>Docencia</a>");document.write("<a href='"+wwwroot+"invest/' tabindex='142'>Investigaci&oacute;n</a>");document.write("<a href='"+wwwroot+"difyext/cultural.html' tabindex='143'>Difusi&oacute;n y Extensi&oacute;n</a>");document.write("<a href='"+wwwroot+"transparencia/' tabindex='144'>Transparencia</a>");document.write("<a href='"+wwwroot+"defensoria/' tabindex='145'>Defensor&iacute;a</a>");document.write("<a href='"+wwwroot+"eventos/?' tabindex='146'>Eventos</a><br />");document.write("PORTALES: ");document.write("<a href='"+wwwroot+"dgda/menuindex.html' tabindex='147'>Acad&eacute;micos</a>");document.write("<a href='"+wwwroot+"administrativos/index.html' tabindex='148'>Administrativos</a>");document.write("<a href='"+wwwroot+"aspirantes/index.html' tabindex='149'>Aspirantes</a>");document.write("<a href='"+wwwroot+"directivos/index.html' tabindex='150'>Directivos</a>");document.write("<a href='"+wwwroot+"egresados/index.html' tabindex='151'>Egresados</a>");document.write("<a href='"+wwwroot+"estudiantes/index.html'  tabindex='152'>Estudiantes</a>");document.write("</div>");Columnas()}function copyright_pie(){document.write("<span id='Copyright'>&#169; 2012 Universidad Veracruzana. Todos los derechos reservados<br>www.uv.mx</span>")}function abre(a){window.open(a,"plan","scrollbars=1,menubar=0,resizable=0,width=820,height=600")}function abre2(a){window.open(a,"personal","scrollbars=1,menubar=0,resizable=0,width=820,height=600")}function LogueoAcademicos(){document.write("<iframe id='iFrame' name='iFrame' scrolling='no' frameborder='0' height='162' style='width:168px' src='https://dsia.uv.mx/siiuil/academicos/'/></iframe>")}function LogueoEstudiantes(){document.write("<iframe id='iFrame' name='iFrame' scrolling='si' frameborder='0' height='162' style='width:168px' src='http://148.226.1.37/siiuilog/' /></iframe>")}function LogueoAdministrativos(){document.write("<iframe id='iFrame' name='iFrame' scrolling='no' frameborder='0' height='163' style='width:168px' src='https://dsia.uv.mx/siiuuv/administrativos/'/></iframe>")}function LogueoAspirantes(){document.write("<iframe id='iFrame' name='iFrame' scrolling='si' frameborder='0' height='125' style='width:168px' src='http://148.226.1.35/siiuilprueba/'/></iframe>")}function LogueoDirectivos(){document.write("<iframe id='iFrame' name='iFrame' scrolling='no' frameborder='0' height='163' style='width:168px' src='https://dsia.uv.mx/SIIUUV/Autoridades/'/></iframe>")}function LogueoEgresados(){document.write("<iframe id='iFrame' name='iFrame' scrolling='si' frameborder='0' height='175' style='width:168px' src='https://dsia.uv.mx/siiuuv/Egresados/'/></iframe>")}function Pleca(){pp=$("#CollagePrincipalSuperior img").attr("src");var c=pp.substring(pp.lastIndexOf("/"));var h="/pleca-Academicos.jpg";var a="/pleca-Administrativos.jpg";var f="/pleca-Aspirantes.jpg";var d="/pleca-Directivos.jpg";var b="/pleca-Egresados.jpg";var g="/pleca-Estudiantes.jpg";var e="/1.jpg";if(c!=e){if(c==h){$("#PTAcad a").addClass("mmhide_SelectedSuperior")}if(c==a){$("#PTAdmtvos a").addClass("mmhide_SelectedSuperior")}if(c==f){$("#PTAsp a").addClass("mmhide_SelectedSuperior")}if(c==d){$("#PTDir a").addClass("mmhide_SelectedSuperior")}if(c==b){$("#PTEgre a").addClass("mmhide_SelectedSuperior")}if(c==g){$("#PTEst a").addClass("mmhide_SelectedSuperior")}}}function trim(a){for(i=0;i<a.length;){if(a.charAt(i)==" "){a=a.substring(i+1,a.length)}else{break}}for(i=a.length-1;i>=0;i=a.length-1){if(a.charAt(i)==" "){a=a.substring(0,i)}else{break}}document.forms[0].q.value=a;return a}function validar(a,b){var c=document.forms.FormaBusqueda;if(!b){b=""}if(document.forms.FormaBusqueda.b[1].checked||document.forms.FormaBusqueda.b[2].checked){document.forms.FormaBusqueda.action="/universidad/directorio/"+b}if(document.forms.FormaBusqueda.b[0].checked){document.forms.FormaBusqueda.action="/resultados.html"}if(document.forms.FormaBusqueda.q.value=="Búsqueda..."){return false}if(trim(document.forms.FormaBusqueda.q.value)==""||document.forms.FormaBusqueda.q.value==null||document.forms.FormaBusqueda.q.value=="B&uacute;squeda..."){return false}return true}var cadena;var pf=0;function getParams(){var b=new String(document.location);var a=b.indexOf("?");var e=new Array();if(a!=-1){var d=b.substring(a+1,b.length).split("&");for(var c=0;c<d.length;c++){nameVal=d[c].split("=");e[nameVal[0]]=nameVal[1];if(nameVal[0]=="q"){pf=1}}}return e}function findDone(a){if(!a.error){var f=document.getElementById("ContentFeeds");var d="";d+="<p>&nbsp;&nbsp;</p><ul>";for(var c=0;c<a.entries.length;c++){var e=a.entries[c];var b=c+1;d+="<li> "+b+'.- <a href="'+e.url+'" target="_blank" title="'+e.title+'">'+e.title+"</a><br /><span> "+e.url+"</span></li>"}d+="</ul>";f.innerHTML=d}}function se(){var a=document.getElementById("searchForm");var c=document.getElementById("leftSearchControl");var h=document.getElementById("rightSearchControl");this.leftControl=new google.search.SearchControl();this.rightControl=new google.search.SearchControl();google.search.Search.getBranding(document.getElementById("branding"));this.searchForm=new google.search.SearchForm(true,a);this.searchForm.setOnSubmitCallback(this,se.prototype.onSubmit);this.searchForm.setOnClearCallback(this,se.prototype.onClear);this.leftControl.setResultSetSize(GSearch.LARGE_RESULTSET);this.rightControl.setResultSetSize(GSearch.LARGE_RESULTSET);var e;var p;var p=new google.search.SearcherOptions();p.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);var f=new google.search.ImageSearch();f.setUserDefinedLabel("Imágenes");f.setSiteRestriction("uv.mx");this.rightControl.addSearcher(f,p);var p=new google.search.SearcherOptions();p.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);var l=new google.search.WebSearch();l.setUserDefinedLabel("Web");l.setSiteRestriction("018320151572338808723:15f9bvrzzus");this.leftControl.addSearcher(l,p);var g=new google.search.WebSearch();g.setUserDefinedLabel("Sitios personales");g.setSiteRestriction("uv.mx/personal");this.leftControl.addSearcher(g,p);var o=new google.search.BlogSearch();o.setUserDefinedLabel("Blogs y Foros");o.setSiteRestriction("uv.mx");o.setResultOrder(google.search.Search.ORDER_BY_DATE);this.leftControl.addSearcher(o,p);var b=new google.search.WebSearch();b.setUserDefinedLabel("Archivos en PDF");b.setSiteRestriction("uv.mx filetype:pdf");this.leftControl.addSearcher(b,p);var d=new google.search.WebSearch();d.setUserDefinedLabel("Archivos en Word");d.setSiteRestriction("uv.mx filetype:doc");this.leftControl.addSearcher(d,p);var m=new google.search.WebSearch();m.setUserDefinedLabel("Presentaciones");m.setSiteRestriction("uv.mx filetype:ppt");this.leftControl.addSearcher(m,p);var n=new google.search.DrawOptions();n.setDrawMode(GSearchControl.DRAW_MODE_TABBED);this.leftControl.setNoResultsString(GSearchControl.NO_RESULTS_DEFAULT_STRING);this.leftControl.draw(c,n);this.rightControl.setNoResultsString(GSearchControl.NO_RESULTS_DEFAULT_STRING);this.rightControl.draw(h);params=getParams();if(pf==1){cadena=unescape(params.q);this.searchForm.execute(cadena)}else{this.searchForm.execute("Universidad Veracruzana UV")}}se.prototype.onSubmit=function(a){var b=a.input.value;var c=document.getElementById("ResultadoCadena");c.innerHTML=b.replace(/\+/gi," ");if(b&&b!=""){this.leftControl.execute(b);this.rightControl.execute(b)}return false};se.prototype.onClear=function(a){this.leftControl.clearAllResults();this.rightControl.clearAllResults();a.input.value="";return false};function links(){$('a[rel="external"]').click(function(){this.target="_blank"});$('a[class="tblank"]').click(function(){this.target="_blank"});$('a[class="oclima"]').click(function(){window.open($(this).attr("href"),"ventanauv","width=340,height=190");return false})}function hoverlink(){$("#ColumnaCentral li").hover(function(){$(this).find("a").addClass("mmhide_Selected")},function(){$(this).find("a").removeClass("mmhide_Selected")});$("#ColumnaCentralAbajo li").hover(function(){$(this).find("a").addClass("mmhide_Selected")},function(){$(this).find("a").removeClass("mmhide_Selected")})}function equalHeightListas(a){tallest=0;a.each(function(){thisHeight=$(this).height();if(thisHeight>tallest){tallest=thisHeight}});a.height(tallest)}function ZebraListasMenuV2(){if($("#IzquierdoPrincipal").length>0){if($("ul.ExtraSize").length>0){ancho=$(".ExtraSize > li").length*305;$(".ExtraSize").width(ancho)}else{itemsli=$(".MenuInterior > li").length;if(itemsli>=4){ancho=4*193;$(".MenuInterior").width(ancho)}else{ancho=itemsli*193;$(".MenuInterior").width(ancho)}}}else{if($("ul.ExtraSize").length>0){ancho=$(".ExtraSize > li").length*305;$(".ExtraSize").width(ancho)}else{itemsli=$(".MenuInterior > li").length;if(itemsli>=5){ancho=5*193;$(".MenuInterior").width(ancho)}else{ancho=itemsli*193;$(".MenuInterior").width(ancho)}}}$(".MenuInterior > li:even").addClass("mmhide_MenuV2OpcionVerde");$(".MenuInterior ul").addClass("mmhide_MenuV2_Subopciones");$(".mmhide_MenuV2_Subopciones").addClass("mmhide_MenuV2_Linea");$(".MenuInterior > li .mmhide_MenuV2_Subopciones").prev().parent().addClass("mmhide_MenuV2_SinLinea");$(".MenuInterior > li .mmhide_MenuV2_Subopciones").parent().addClass("mmhide_MenuV2_SinLinea");if($.browser.msie&&$.browser.version.substr(0,1)<7){$(".MenuInterior > li .mmhide_MenuV2_Subopciones").before("<div class='mmhide_Lineamenu6'></div>")}tallest=0;$(".MenuInterior > li .mmhide_MenuV2_Subopciones").each(function(){thisHeight=$(this).height();if(thisHeight>tallest){tallest=thisHeight}});$(".MenuInterior > li .mmhide_MenuV2_Subopciones").height(tallest)}function MM_preloadImages(){var f=document;if(f.images){if(!f.MM_p){f.MM_p=new Array()}var e,c=f.MM_p.length,b=MM_preloadImages.arguments;for(e=0;e<b.length;e++){if(b[e].indexOf("#")!=0){f.MM_p[c]=new Image;f.MM_p[c++].src=b[e]}}}}function MM_swapImgRestore(){var d,b,c=document.MM_sr;for(d=0;c&&d<c.length&&(b=c[d])&&b.oSrc;d++){b.src=b.oSrc}}function MM_findObj(f,e){var c,b,a;if(!e){e=document}if((c=f.indexOf("?"))>0&&parent.frames.length){e=parent.frames[f.substring(c+1)].document;f=f.substring(0,c)}if(!(a=e[f])&&e.all){a=e.all[f]}for(b=0;!a&&b<e.forms.length;b++){a=e.forms[b][f]}for(b=0;!a&&e.layers&&b<e.layers.length;b++){a=MM_findObj(f,e.layers[b].document)}if(!a&&e.getElementById){a=e.getElementById(f)}return a}function MM_swapImage(){var e,d=0,b,c=MM_swapImage.arguments;document.MM_sr=new Array;for(e=0;e<(c.length-2);e+=3){if((b=MM_findObj(c[e]))!=null){document.MM_sr[d++]=b;if(!b.oSrc){b.oSrc=b.src}b.src=c[e+2]}}}function GAnalytics(){var c=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+c+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));try{var a=_gat._getTracker("UA-4613180-2");a._trackPageview()}catch(b){}};
