
function Destaque()
{
	this.pathXml = new String();
	this.pathXsl = new String();
	this.pathDiv = new String();
	this.requestHttp = AJAX.AjaxRequest();

    this.GetXml = function( __xmlDepartamento, __xslDepartamento, __divDepartamento )
    {
        try
        {
			this.pathXml = "xml/" + __xmlDepartamento;
			this.pathXsl = "xsl/" + __xslDepartamento;
			this.pathDiv = __divDepartamento;
            //DOM.Loading(ShopTour.idShowXSLTFooter , "carregando");
            
            AJAX.RequestGET(this.requestHttp, this.pathXml, "Destaque.ShowXslProcessor");
        }
        catch(e)
        {
            throw(e);
            return false;
        }
    }
    
    this.ShowXslProcessor = function()
    {
        try
        {
            if ( Destaque.requestHttp.readyState == 4 ) {
                //DOM.Loading(ShopTour.idShowXSLTFooter , "carregado");
				//alert(Destaque.pathXsl + ", " + Destaque.requestHttp + ", " + Destaque.pathDiv);
                XsltObj.createXSLT( Destaque.pathXsl, Destaque.requestHttp, Destaque.pathDiv );
            }
        }
        catch(e)
        {
			throw(e);
            //DOM.Loading(ShopTour.idShowXSLTFooter , "carregado");
            return false;
        }
    }        

}