///// SHOW PHOTO ON MOUSE OVER  === 
function getxmlhttp(){

	//Create a boolean variable to check for a valid Microsoft active x instance.
	var xmlhttp = false;

	//Check if we are using internet explorer.
	try {
		//If the javascript version is greater than 5.
		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
		//If not, then use the older active x object.
		try {
			//If we are using internet explorer.
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (E) {
			//Else we must be using a non-internet explorer browser.
			xmlhttp = false;
		}
	}
	// If not using IE, create a
	// JavaScript instance of the object.
	if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
		xmlhttp = new XMLHttpRequest();
		}
	return xmlhttp;
	}

try{
    xmlhttp = new XMLHttpRequest();
}catch(ee){
    try{
       xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
    }catch(e){
       try{
          xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
       }catch(E){
          xmlhttp = false;
       }
    }
}

//Create a boolean variable to check for a valid IE instance.
var xmlhttp = false;


//Check if we are using IE.
try {
	//If the javascript version is greater than 5.
	xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
	//If not, then use the older active x object.
	try {
	//If we are using IE.
	xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
	//Else we must be using a non-IE browser.
	xmlhttp = false;
}
}


//If we are using a non-IE browser, create a JavaScript instance of the object.
if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
	xmlhttp = new XMLHttpRequest();
}






function updateStatus()
{
	//document.getElementById("errordiv").innerHTML = "";
	document.getElementById('verfoto').innerHTML = "<span class=texto> <img src='ajax-loader.gif'> <br> Carregando ...  </span>";
}




function conteudo(conteudo){
    //Abre a conexão
	updateStatus(); 

    xmlhttp.open("GET",conteudo);
    xmlhttp.onreadystatechange=mostracont
    //Executa
    xmlhttp.send(null)

}

function mostracont() {
if (xmlhttp.readyState==4){
   //Mostra o HTML recebido
   document.getElementById('verfoto').innerHTML=xmlhttp.responseText
   }
}

