var objetos = new Array();
objetos[0] = "/uniquindio/assets/images/index/000.jpg";
objetos[1] = "/uniquindio/assets/images/index/001.jpg";
objetos[2] = "/uniquindio/assets/images/index/002.jpg";
objetos[3] = "/uniquindio/assets/images/index/003.jpg";
objetos[4] = "/uniquindio/assets/images/index/004.jpg";
objetos[5] = "/uniquindio/assets/images/index/005.jpg";
objetos[6] = "/uniquindio/assets/images/index/006.jpg";
objetos[7] = "/uniquindio/assets/images/index/007.jpg";
objetos[8] = "/uniquindio/assets/images/index/008.jpg";
objetos[9] = "/uniquindio/assets/images/index/009.jpg";
objetos[10] = "/uniquindio/assets/images/index/010.jpg";
objetos[11] = "/uniquindio/assets/images/index/011.jpg";
objetos[12] = "/uniquindio/assets/images/index/012.jpg";
objetos[13] = "/uniquindio/assets/images/index/013.jpg";
objetos[14] = "/uniquindio/assets/images/index/014.jpg";
objetos[15] = "/uniquindio/assets/images/index/015.jpg";
objetos[16] = "/uniquindio/assets/images/index/016.jpg";
objetos[17] = "/uniquindio/assets/images/index/017.jpg";
objetos[18] = "/uniquindio/assets/images/index/018.jpg";
objetos[19] = "/uniquindio/assets/images/index/019.jpg";
objetos[20] = "/uniquindio/assets/images/index/020.jpg";
objetos[21] = "/uniquindio/assets/images/index/021.jpg";
objetos[22] = "/uniquindio/assets/images/index/022.jpg";
objetos[23] = "/uniquindio/assets/images/index/023.jpg";
objetos[24] = "/uniquindio/assets/images/index/024.jpg";
objetos[25] = "/uniquindio/assets/images/index/025.jpg";
objetos[26] = "/uniquindio/assets/images/index/026.jpg";
objetos[27] = "/uniquindio/assets/images/index/027.jpg";
objetos[28] = "/uniquindio/assets/images/index/028.jpg";
objetos[29] = "/uniquindio/assets/images/index/029.jpg";
objetos[30] = "/uniquindio/assets/images/index/030.jpg";
objetos[31] = "/uniquindio/assets/images/index/031.jpg";

function aleatorio() {
	var azar = Math.floor(Math.random() * objetos.length);

//document.images["imagen"].src = objetos[azar];
//alert(document.get_element_by_id("imagen"));
}
var ns4 = (document.layers)?true:false 
var ie4 = (document.all)?true:false 
if(ie4){ 
    document.write("<link rel='stylesheet' href='css/estilos_ie.css'>") 
}else{ 
    document.write("<link rel='stylesheet' href='css/estilos_ns.css'>") 
} 
function overTD(td,color){td.bgColor=color;} 
function outTD(td,color){td.style.cursor='default';td.bgColor=color;} 
function clickTD(td){td.children.tags('A')[0].click();
}
function enviar (formulario)
		{
			if( formulario.usuario.value == "" )
			{
				return false;
			}
			var usuario = formulario.usuario.value + "@absoluto.com.co";
			formulario.user.value = usuario;
			formulario.horde_user.value = usuario;
			<!-- window.setTimeout('redireccionarHorder ()', 5000 ); -->
			<!-- MM_showHideLayers('usu','','hide'); --> -->
			return true;
		}
//Funcion para  realizar votacion  y ver pagina de resultados de la encuesta

function result (){

opcion  = document.getElementById('opciones').value; 
ident      = document.getElementById('id').value; 
boton    =  document.getElementById('votar').id; 

window.open("encuestas/insertar-encuesta.php?opciones="+opcion+"&id="+ident+"&votar="+boton,"newwindow", 'height=475, width=390, toolbar=no, location=no, status=no, menubar=no, resizable=no,scrollbars=no')
//window.open('/nuevapg/encuestas/insertar-encuesta.php?opciones=','resultado','height=450, width=400, toolbar=no, location=no, status=no, menubar=no, resizable=no,scrollbars=no')
}
function ocultarInformacion()
		{
			for( i = 0 ; ( objeto = eval("document.getElementById('informacion"+i+"');") ) != null ; i++ )
			{
				objeto.style.visibility = 'hidden';
				objeto.style.position= 'absolute';
			}	
		}
		
		function mostrarInformacion(indice)
		{														
			ocultarInformacion();			
			objeto = document.getElementById('informacion'+indice);
			objeto.style.position= 'relative';
			objeto.style.visibility = 'visible';
		}
		function matriculas()
{
window.open("/uniquindio/dependencias/admisiones/obtenerIP.php", "", "toolbar=0, status=1, menubar=0, scrollbars=1, resizable=0, width=800, height=700")
}
function matriculas1()
{
window.open("/uniquindio/dependencias//admisiones/obtenerIP1.php", "", "toolbar=0, status=1, menubar=0, scrollbars=1, resizable=0, width=790, height=500")
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
function cambiarImagen( imagen , src )
{
 imagen.src = src;
}

function cambiarImagen2( nombreImagen , src )
{
 imagen = document.getElementById( nombreImagen );
 imagen.src = src;
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
<!--
function DoInstantMessage(person,screen)
{
	//Check if person has messenger installed
	try{MsgrObj.classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28";}
	catch(e){if(!(e.number && 2148139390) == 2148139390)return;}

	//Check if you are logged in
	if(MsgrObj.MyStatus == 1)
	{
		alert("No estas logeado en el MSN Messenger.\nDebes de Estar Logeado Antes de Mandar un mensaje.");
		return;
	}

	//Check if person is already in contact list
	try{var contact = MsgrObj.GetContact(person,"");}
	catch(e)
	{
		if((e.number && 2164261642) == 2164261642) //MSGR_E_USER_NOT_FOUND
		{
			if(confirm("Add "+screen+" to your contact list?")==true)MsgrObj.AddContact(0,person);
		}
	}

	//Ask to send an instant message
	if(confirm("Send "+screen+" an instant message?")==true)MsgrObj.InstantMessage(person);
}
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}