// JavaScript Document

function CrearXmlHttp()
{        
    // Probamos con IE
    try
    {
        // Funcionará para JavaScript 5.0
        xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
    }
    catch(e)
    {
        try
        {
            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        catch(oc)
        {  
            xmlHttp = null;
        }
    }

    // Si no se trataba de un IE, probamos con esto
    if(!xmlHttp && typeof XMLHttpRequest != "undefined")
    {
        xmlHttp = new XMLHttpRequest();        
    }

    return xmlHttp;
}


function Obtener_Fecha() 
{

 		var miFecha = new Date();		
		var tiempo_url = miFecha.getYear().toString() + '-' + miFecha.getMonth().toString() + '-' + miFecha.getDate().toString() + '-' + miFecha.getHours().toString() +'-'+ miFecha.getMinutes().toString()+ '-' + miFecha.getSeconds().toString();		
		return tiempo_url;

}


