var xmlhttp,xmlhttp2,xmlhttp3,alerted
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
  try {
  xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")
 } catch (e) {
  try {
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
  } catch (E) {
   alert("You must have Microsofts XML parsers available")
  }
 }
@else
 alert("You must have JScript version 5 or above.")
 xmlhttp=false
 alerted=true
@end @*/
if (!xmlhttp && !alerted) {
 // Non ECMAScript Ed. 3 will error here (IE<5 ok), nothing I can 
 // realistically do about it, blame the w3c or ECMA for not
 // having a working versioning capability in  <SCRIPT> or
 // ECMAScript.
 try {
  xmlhttp = new XMLHttpRequest();
 } catch (e) {
  alert("You need a browser which supports an XMLHttpRequest Object.\nMozilla build 0.9.5 has this Object and IE5 and above, others may do, I don't know, any info jim@jibbering.com")
 }
}


function RSchangeInfoList() {
 if (xmlhttp.readyState==4) {
  document.getElementById('infolist').innerHTML=xmlhttp.responseText
 }
}

function RSchangeMemList() {
 if (xmlhttp.readyState==4) {
  document.getElementById('memlist').innerHTML=xmlhttp.responseText
 }
}

function cleardiv(somediv) {
document.getElementById(somediv).innerHTML='<img src="ajax-loader.gif">'
}


function writedivone(someitem) {
if (xmlhttp) { 
  d=document
  var current_date = new Date ( );
  xmlhttp.open("GET", someitem, true);
  xmlhttp.onreadystatechange=RSchangeInfoList
  xmlhttp.send(null)
 }
}

function writeMemList(someitem) {
if (xmlhttp) { 
  d=document
  var current_date = new Date ( );
  xmlhttp.open("GET", someitem, true);
  xmlhttp.onreadystatechange=RSchangeMemList
  xmlhttp.send(null)
 }
}

function writeInfoList(someitem) {
if (xmlhttp) { 
  d=document
  var current_date = new Date ( );
  xmlhttp.open("GET", someitem, true);
  xmlhttp.onreadystatechange=RSchangeInfoList
  xmlhttp.send(null)
 }
}


function writeUserList(someitem) {
if (xmlhttp) { 
  d=document
  var current_date = new Date ( );
  xmlhttp.open("GET", someitem, true);
  xmlhttp.onreadystatechange=RSchangeUserList
  xmlhttp.send(null)
 }
}


function writeTS(userid,photo,name,location1) {
cleardiv('infolist')
cleardiv('photolist')
writeInfoList("showprofilenew3.asp?id="+userid)
document.getElementById('photolist').innerHTML='<center><img width="200" align="left"src="http://www.videointroductions.com/photos/' + photo + '">'

}

function writeInfoListTwo(userid) {
writeInfoList("showprofilenew3.asp?id="+userid)
}


