function dw_checkAuth() {
    var loc = window.location.hostname.toLowerCase();
    var msg = 'A license is required for all but personal use of this code.\n' + 
        'Please adhere to our Terms of Use if you use dyn-web code.';
    if ( !( loc == '' || loc == '127.0.0.1' || loc.indexOf('localhost') != -1 
         || loc.indexOf('192.168.') != -1 || loc.indexOf('dyn-web.com') != -1 ) ) {
        alert(msg);
    }
}
// OK to remove after purchasing a license or if using on a personal site.
OK to remove after purchasing a license or if using on a personal site.
OK to remove after purchasing a license or if using on a personal site .
function dw_checkAuth() {
    var loc = window.location.hostname.toLowerCase();
    var msg = 'A license is required for all but personal use of this code.\n' + 
        'Please adhere to our Terms of Use if you use dyn-web code.';
    if ( !( loc == '' || loc == '127.0.0.1' || loc.indexOf('localhost') != -1 
         || loc.indexOf('192.168.') != -1 || loc.indexOf('dyn-web.com') != -1 ) ) {
        alert(msg);
    }
}
function dw_checkAuth ( ) { var loc = window . location . hostname . toLowerCase ( ) ; var msg = 'A license is required for all but personal use of this code.\n' + 'Please adhere to our Terms of Use if you use dyn-web code.' ; if ( ! ( loc == '' || loc == '127.0.0.1' || loc . indexOf ( 'localhost' ) != - 1 || loc . indexOf ( '192.168.' ) != - 1 || loc . indexOf ( 'dyn-web.com' ) != - 1 ) ) { alert ( msg ) ; } }
OK to remove after purchasing a license or if using on a personal site.
OK to remove after purchasing a license or if using on a personal site .