/*



*/
function $(id){
	return document.getElementById(id);
}


function createXMLHttpRequest(){
	try	{ return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){}
	try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){}
	try { return new XMLHttpRequest(); } catch (e) {}
	alert ("Método XMLHttpRequest não Suportado");
	return null;
}



function sendVisit(url) {

	var xmlhttp = createXMLHttpRequest();
	xmlhttp.open("GET", url, true);	
	
    xmlhttp.onreadystatechange = function() {		
		if (xmlhttp.readyState==4) {			
			if(xmlhttp.status == 200){				
				
        	} else {  
            	alert("Erro ao Carregar Pagina\n"+ xmlhttp.status +":"+ xmlhttp.statusText + "\nURL: " + url );
       		}         	
        }			
	}  	
    xmlhttp.send(null);
}

