// JavaScript Document
function insertContent(id,url,anc){

//Obtém o objeto HTML
objetoHTML=document.getElementById(id);

//Exibe "Carregando..."
objetoHTML.innerHTML="Carregando...";
try{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");//mudei a posição
}catch(ee){
try{
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}catch(e){
try{
xmlhttp = new XMLHttpRequest();//mudei a posição
}catch(E){
xmlhttp = false;
}
}
}

xmlhttp.open("GET",url);
xmlhttp.onreadystatechange=function() {

if (xmlhttp.readyState==4){

retorno=unescape(xmlhttp.responseText.replace(/\+/g," "));
objetoHTML.innerHTML=retorno;
if(anc!=""){
window.location=anc;
}
}
}

xmlhttp.send(null);
};

function openSub(quem){
ocx = document.getElementById(quem);
$(ocx).toggle("fast");
}