    var nmpar = 'nomobile';
    var r = new RegExp("[\\?&]"+nmpar+"=([^&#]*)");
    var res = r.exec(window.location.href);
    if (res != null && res[1] == 'true') 
        document.cookie = nmpar+'=true;';

    r = new RegExp(";?" + nmpar + "=([^;]*)");
    res = r.exec(document.cookie);
    
    var is_mobile = (res == null || res[1] != 'true');
    if (screen && (screen.width > 801 || screen.height > 801)) 
        is_mobile = false;
    
    if (is_mobile) 
        window.location = "http://www.destroked.com/index.php";

