function GI(id){
return document.getElementById(id);
}

function menu(){
//servicos
GI("img_suporte").onmouseover = function(){
GI("img_suporte").src = "imgs/suporte2.jpg";
}
GI("img_suporte").onmouseout = function(){
GI("img_suporte").src = "imgs/suporte1.jpg";
}
GI("img_suporte").onclick = function(){
popup('http://www.teacom.com.br/suporte', 'suporte', 778, 460, 0, 0);
}
GI("link_servicos").onclick = function(){
	exibe("servicos_div");
}
//solucoes
GI("link_solucoes").onclick = function(){
	exibe("solucoes_div");
}
//contato
GI("link_contato").onclick = function(){
	exibe("contato_div");
}

}//fim do menu

function exibe(objeto){
if(GI(objeto).style.display == "block"){
GI(objeto).style.display = "none";
}
else{
GI(objeto).style.display = "block";
}
}
function popup(url,name,w,h,l,t){
window.open(url,name,'width='+w+',height='+h+',top='+t+',left='+l+',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no');
}
window.onload = menu;