// JavaScript Document


function ajaxLoader(url,id) {
  if (document.getElementById) {
    var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
  }
  if (x) {
    x.onreadystatechange = function() {
	el = document.getElementById(id);
    //    el.innerHTML = "<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 width=200 height=200><param name=movie value=loader.swf><param name=quality value=high><param name=\"bgcolor\" value=#F6F6F6 /><param name=wmode value=transparent><embed src=loader.swf quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width=200 height=200 bgcolor=#F6F6F6></embed></object>";

      el.innerHTML = "<img src=scripts/ajax-loader.gif>";





      if (x.readyState == 4 && x.status == 200) {
        el = document.getElementById(id);
        el.innerHTML = x.responseText;
      }
    }
    x.open("GET", url, true);
    x.send(null);
  }
}