var xmlHttp
var xmlHttpa

function pic1() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic1.php";
var urla="txt1.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}


function pic2() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic2.php";
var urla="txt2.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}



function pic3() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic3.php";
var urla="txt3.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}




function pic4() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic4.php";
var urla="txt4.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}




function pic5() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic5.php";
var urla="txt5.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}





function pic6() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic6.php";
var urla="txt6.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}




function pic7() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic7.php";
var urla="txt7.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}




function pic8() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic8.php";
var urla="txt8.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}



function pic9() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic9.php";
var urla="txt9.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}



function pic10() {

xmlHttp=GetXmlHttpObject()
xmlHttpa=GetXmlHttpObjecta()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 

var url="pic10.php";
var urla="txt10.php";
xmlHttp.onreadystatechange=stateChanged;
xmlHttpa.onreadystatechange=stateChanged;
xmlHttpa.open("GET",urla,true);
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttpa.send(null);

function stateChanged() 
{ 
if (xmlHttp.readyState==1)
{ 
document.getElementById("pic").innerHTML="<b><font color=red face=verdana size=2>Please Wait</b>";
}
	
if (xmlHttp.readyState==3) {
	document.getElementById("pic").innerHTML="Loading...";
}
if (xmlHttp.readyState==4)
{ 
document.getElementById("pic").innerHTML=xmlHttp.responseText;
document.getElementById("txt").innerHTML=xmlHttpa.responseText;
}

}
}




function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
    // Internet Explorer
    try
     {
     xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
     }
    catch (e)
     {
     xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
     }
  }
return xmlHttp;
}


function GetXmlHttpObjecta()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
    // Internet Explorer
    try
     {
     xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
     }
    catch (e)
     {
     xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
     }
  }
return xmlHttp;
}
