Function Createajax ()
{
var _xmlhttp
Try
{
_xmlhttp=new activexobject ("Microsoft.XMLHTTP") br>}
catch (e) {
try
{
_xmlhttp=new XMLHttpRequest ()
& nbsp
catch (e) {
_xmlhttp=false
}
}
return _xmlhttp
}
Function Scontent (pages,title) {
var title=title
var pages=pages
var Content=document.getelementbyid ( title);
var Xmlhttp=createajax ();
if (XMLHTTP) {
xmlhttp.open (' Get ', Pages+math.random (), true);
 &NBSP
xmlhttp.onreadystatechange=function () {
if (xmlhttp.readyState= =4 && xmlhttp.status==200) {
setinnerhtml Content,unescape ( Xmlhttp.responsetext)
}
else {
Content.innerhtml= ' <font color= #ffoooo > Loading ......</font> ';
}
}
xmlhttp.send (null);
}
}
var setinnerhtml = function (el, htmlcode) {
var ua = Navigator.userAgent.toLowerCase ();
if (Ua.indexof (' MSIE ') >= 0 && ua.indexof (' opera ') < 0) {
Htmlcode = ' <div style= ' display:none ">for ie</div> ' + HT Mlcode;
Htmlcode = Htmlcode.replace (/<script ([^>]*) >/gi,
' <script$1 defer> ');
el.innerhtml = Htmlcode;
El.removechild (El.firstchild);
} else {
var el_next = el.nextsibling
var el_parent = El.parentnode;
El_parent.removechild (EL);
El.i nnerhtml = Htmlcode;
if (el_next) {
El_parent.insertbefore (el, El_next)
} else {
El_parent.appendchild (EL);
}
}
}