// JavaScript Document
function ajaxThumb(thumbPage) {
		xmlhttp.open("POST", thumbPage ,true);
		xmlhttp.setRequestHeader('Content-type','application/x-www-form-urlencoded; charset=utf-8');
		xmlhttp.onreadystatechange=function() { 
					document.getElementById('thumb').innerHTML = '<span class="fontTrebuchet10Preto"><img src="img/loading.gif"/><br />Carregando...</span>'
		   if(xmlhttp.readyState == 4){
					document.getElementById('thumb').innerHTML = xmlhttp.responseText
				}}
			xmlhttp.send('') 
}

function ajaxImage(imageFull) {
		xmlhttp.open("POST", imageFull ,true);
		xmlhttp.setRequestHeader('Content-type','application/x-www-form-urlencoded; charset=utf-8');
		xmlhttp.onreadystatechange=function() { 
					document.getElementById('imgfull').innerHTML = '<span class="fontTrebuchet10Preto"><img src="img/loading.gif"/><br />Carregando...</span>'
		   if(xmlhttp.readyState == 4){
					document.getElementById('imgfull').innerHTML = xmlhttp.responseText
				}}
			xmlhttp.send('') 
}
