var xmlhttp
/*@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) {
   xmlhttp=false
  }
 }
@else
 xmlhttp=false
@end @*/
if (!xmlhttp ) {
 try {
  xmlhttp = new XMLHttpRequest();
 } catch (e) {
 xmlhttp=false }
}


function RSchange() {
 if (xmlhttp.readyState==4) {
    nytVers = xmlhttp.responseText;
    splitVers = nytVers.split('"');
    document.getElementById('A4').innerHTML= splitVers[1];
 }
}

function go() {
if (xmlhttp) {
    xmlhttp.open("GET", "Citat.php" ,true);
    xmlhttp.setRequestHeader("User-Agent", "Nyt vers")
    xmlhttp.onreadystatechange=RSchange;
    xmlhttp.send(null);
 }
}
