Breaking News

Dubai SME

Dubai SME

0 0

Dubai SME ]]>

//]]>

Loading…“; var objCompleted = null; function GetXmlHttpObject() { var xmlHttp = null; try { xmlHttp = new XMLHttpRequest(); } catch (e) { try { xmlHttp = new ActiveXObject(“Msxml2.XMLHTTP”); } catch (e) { xmlHttp = new ActiveXObject(“Microsoft.XMLHTTP”); } } return xmlHttp; } function DoAjax(url, statusId, divLoadingId) { var xmlHttp; xmlHttp = GetXmlHttpObject(); if (xmlHttp == null) { alert(“Your browser does not support AJAX!”); return; } xmlHttp.onreadystatechange = function stateChanged() { var strLodingTemp = “”; strLodingTemp = strLoding; switch (xmlHttp.readyState) { case 0: case 1: case 2: case 3: if (document.getElementById(divLoadingId) != null) document.getElementById(divLoadingId).innerHTML = strLodingTemp; break; case 4: if (document.getElementById(statusId) != null) document.getElementById(statusId).innerHTML = xmlHttp.responseText; if (objCompleted != null) { objCompleted.complete(xmlHttp.responseText); } }; }; xmlHttp.open(“GET”, url, true); xmlHttp.send(null); } function TestShAjax(siteURL, divResultID, obj_Completed, divLoadingId) { this.objCompleted = obj_Completed DoAjax(siteURL, divResultID, divLoadingId); } function removeBadChar(strTemp) “, “”); strTemp = strTemp.replace(“”, “