function openUrl($l, $r) {
    window.location.href = "?l="+$l+"&"+"req="+$r;
    return true;
}