function mentions(type){
    if (type == 'popup') {
        window.open('../legal.htm', 'Legal', 'fullscreen=no, toolbar=no, menubar=no, location=no, resizable=no, scrollbars=yes, status=no, width=400, height=500');
    } else {
        window.open('legal.htm', 'Legal', 'fullscreen=no, toolbar=no, menubar=no, location=no, resizable=no, scrollbars=yes, status=no, width=400, height=500');
    }
}
