// Dream Catalog

var xmlHttp = null;

try
{
    xmlHttp = new XMLHttpRequest();
    if( xmlHttp.overrideMimeType )
    {
        xmlHttp.overrideMimeType( 'text/xml' );
    }
}
catch( trymsie )
{
    try
    {
        xmlHttp = new ActiveXObject("Msxm12.XMLHTTP");
    }
    catch( trymsieagain )
    {
        try
        {
            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        catch( failedmsie )
        {
            xmlHttp = null;
            alert( "Error creating XMLHTTP Object. Your browser does not support this technology. Please contact administrator for futher information." );
        }
    }
}

if ( xmlHttp == null )
{
    alert( "Error creating XMLHTTP Object. Please contact administrator for futher information." );
}
else
{
    //alert( "XMLHTTP succesfully created on browser " + navigator.appName );
}
