﻿var script = document.createElement("script");script.type="text/javascript";var src = "http://www.universehost.com.br/atendimento/server.php?request=track&output=jcrpt&nse="+Math.random();setTimeout("script.src=src;document.getElementById('livezilla_tracking').appendChild(script)",1);</script><noscript><img src="http://www.universehost.com.br/atendimento/server.php?request=track&amp;output=nojcrpt" width="0" height="0" style="visibility:hidden;" alt=""></noscript><!-- 
function desabilitaMenu(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}

function desabilitaBotaoDireito(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}

if ( window.Event )
document.captureEvents(Event.MOUSEUP);
if ( document.layers )
document.captureEvents(Event.MOUSEDOWN);

document.oncontextmenu = desabilitaMenu;
document.onmousedown = desabilitaBotaoDireito;
document.onmouseup = desabilitaBotaoDireito; 


function limparPadrao(campo) {
if (campo.value == campo.defaultValue) {
campo.value = "";
}
}

function escreverPadrao(campo) {
if (campo.value == "") {
campo.value = campo.defaultValue;
}
}

function showmenu(elmnt){document.getElementById(elmnt).style.display="block";}
function hidemenu(elmnt){document.getElementById(elmnt).style.display="none";}
var fadeInterval="";
var xxx=0;
function fadeOut(id, time) {
    clearInterval(fadeInterval);
    fadeInterval="";
    target = document.getElementById(id);
    alpha = 100;
    timer = time;
      if(xxx>0){
              alpha = xxx;
        fadeInterval = setInterval(
              function() {
                    if (alpha <= 0){
                        clearInterval(fadeInterval);
                        fadeInterval="";
                        target.style.display="none";
                   }else
                        setAlpha(id, alpha);

                    alpha -= 10;
              }, timer);
    }
    else
       fadeInterval = setInterval(
          function() {
          xxx = alpha;
                if (alpha <= 0){
                    clearInterval(fadeInterval);
                    fadeInterval="";
                    target.style.display="none";
                }else
                    setAlpha(id, alpha);
                alpha -= 10;
          }, timer);
}
