// JScript File

    function StartMeUp(player)
    {
        player.URL = "C:/Inetpub/wwwroot/Sitio de Ivette/Video/IVETTE test.avi";
    }

    function AdjustScreen() 
    { 
        if (screen.height<= 600)
        {
            Principal.height = 400
        }
        else
        {
            Principal.height = 600;
        }
    }
    
    function EstilizarFecha(numero)
    {
        return numero < 10 ? "0"+numero : numero;
    }
    
    function GetFecha()
    {
        date = new Date();        
        strdate = EstilizarFecha(date.getDate()) + "/" + EstilizarFecha(date.getMonth() + 1) + "/" + date.getFullYear();
        document.getElementById('Date1').value = strdate;          
    }
    
    var Index = 300;
    var Timer;
    function AnimateDiv()
    {   
      if (Index > -300)
      {
        Index -= 1;
        str = Index;
        document.getElementById('MovTexto').style.display = 'inline';
        document.getElementById('MovTexto').style.top = str+'px';
      }
      else
      {Index = 300;}
    }

    function SetTimer(funcion, tiempoEjec)
    {
        clearInterval(Timer);
        Timer = setInterval(funcion, tiempoEjec);
    }
    
    function SwapImage(elementID,path)
    {
        doc = document.getElementById(elementID);
        if(doc.src != "")
        {
            doc.src = path;
        }
    }
    
    var listaUrl = new Array();
    function MM_openBrWindow(theURL,winName,features) 
    { //v2.0 
        if ((listaUrl.length == 0)&&(theURL != ''))
        {listaUrl.push(window.open(theURL,winName,features));}
        else
        {
        wo = listaUrl.pop();
        wo.close();
            if (theURL != '')
            {listaUrl.push(window.open(theURL,winName,features));}
        }
    }
      
    function Imprimir()
    {
        print();
    }
    
//    navHover = function() {
//	var lis = document.getElementById("navmenu").getElementsByTagName("LI");
//	for (var i=0; i<lis.length; i++) {
//		lis[i].onmouseover=function() {
//			this.className+=" iehover";
//		}
//		lis[i].onmouseout=function() {
//			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
//		}
//	}
//}
//if (window.attachEvent) window.attachEvent("onload", navHover);
