function wwCloseNotify(evt) {
        if (document.getElementById) {
                dialogDiv = top.document.getElementById('wwDialog');
                dialogDiv.parentNode.removeChild(dialogDiv);
        }

        return true;
}

function wwNotify() { 
        var wwType     = 1;
        var wwText     = 'You must be at least 13 years old in order to view the forums.';
        var wwClass    = 'wwClass'; 
        var wwFrame    = top.document; 
        var wwBut1Text = 'OK'; 

        if (document.getElementById) {
                if (document.getElementById('wwDialog')) { wwCloseNotify(); }
                dialogDiv                  = top.document.createElement('div');
                dialogDiv.style.position   = 'absolute';
                dialogDiv.style.top        = '100px';
                dialogDiv.style.left       = '100px';
                dialogDiv.style.zIndex     = '5000';
                dialogDiv.style.background = '#eee';
                dialogDiv.id               = 'wwDialog';
                dialogDiv.className        = wwClass;
                ddTextHolder               = top.document.createElement('div');
                ddText                     = top.document.createTextNode(wwText);
                ddButHolder                = top.document.createElement('div');
                ddButHolder.className      = 'wwClassButton';
                ddBut1                     = top.document.createElement('button');
                ddBut1.id                  = 'wwButton1';
                ddText1                    = top.document.createTextNode(wwBut1Text);
                ddBut1.appendChild(ddText1);
                ddButHolder.appendChild(ddBut1);
                ddBut1.onclick = wwCloseNotify;
                ddTextHolder.appendChild(ddText);
                
                dialogDiv.appendChild(ddTextHolder);
                dialogDiv.appendChild(top.document.createElement('br'));
                dialogDiv.appendChild(ddButHolder);
                top.document.body.appendChild(dialogDiv);
        }
        return false;
}

