    if(!document.title.match(/WAZ - A melhor loja de informática!/)){
        document.title = document.title.replace(/^WAZ - (.*)$/i,'$1  ::  WAZ - A melhor loja de informática!');
    }
    function ajusta_larg(){
        if(document.getElementById('page')){
            var page = document.getElementById('page');
            if(page.getAttribute('style') && page.getAttribute('style').length > 0){
                page.setAttribute('style','');
            }
            return;
        }
        var body = document.getElementsByTagName('body').item(0);
        body.style.margin = 'auto';
        body.style.width = '995px';
        if(document.getElementById('tblcentro')) document.getElementById('tblcentro').setAttribute('align','center');
        if(document.getElementById('tblcentro')) document.getElementById('tblcentro').setAttribute('width','995');
        if(document.getElementById('tblcentro')) document.getElementById('tblcentro').style.width = '995px';
        if(document.getElementById('tbltopo'))   document.getElementById('tbltopo').setAttribute('width','995');
        if(document.getElementById('tblfundo'))  document.getElementById('tblfundo').setAttribute('width','995');
        if(document.getElementById('tbltopo'))   document.getElementById('tbltopo').style.width = '995px';
        if(document.getElementById('tblfundo'))  document.getElementById('tblfundo').style.width = '995px';
        if(document.getElementById('tbltopo'))   document.getElementById('tbltopo').setAttribute('align','center');
        if(document.getElementById('tblfundo'))  document.getElementById('tblfundo').setAttribute('align','center');
    }
    ajusta_larg();
    function corrige_det(){
        var trs = document.getElementsByTagName('tr');
        if(!trs) return;
        for(var i=0; i < trs.length; i++){
            var bgcolor = trs[i].getAttribute('bgcolor');
            if(!bgcolor){
                continue
            }else{
                trs[i].setAttribute('bgcolor','');
                trs[i].className='det_tec';
                return;
            }
        }
    }
    if(location.href.match(/\/_produtos\/\?p=[0-9]+/)) corrige_det();

