function link_to(url) {
    location.href = base_url + url;
}

function link_print(url){
    location.reload();	
    uri =  base_url + url;
    //window.location=uri; target="_blank" done=1;
    window.open(uri,'_blank', 'directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=no,resizable=no, width=1200, height=600, top=20, left=80');
}

function link_delete(title, url, icon, id) {
    location.href = base_url + url + "/delete/" + param;
}