function open_url(url){ if(url != ''){ window.open(url, '_blank'); } }