d3e7adfd1f
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif@161 2a923420-c742-0410-a762-8d5b09965624
25 lines
333 B
JavaScript
25 lines
333 B
JavaScript
var request = false;
|
|
|
|
/*@cc_on @*/
|
|
/*@if (@_jscript_version >= 5)
|
|
try
|
|
{
|
|
request = new ActiveXObject("Msxml2.XMLHTTP");
|
|
}
|
|
catch (e)
|
|
{
|
|
try
|
|
{
|
|
request = new ActiveXObject("Microsoft.XMLHTTP");
|
|
}
|
|
case (e2)
|
|
{
|
|
request = false;
|
|
}
|
|
}
|
|
@end @*/
|
|
|
|
if (!request && typeof XMLHttpRequest != 'undefined')
|
|
request = new XMLHttpRequest();
|
|
|