function addtocart(id){ var new_url = 'https://godigital-palestine.intracen.org/enrol/itccohort/cartcontents.php?addtocart=1&sesskey=vZeLxp9Jin&addenrol=' + id; window.location.href = 'https://godigital-palestine.intracen.org/enrol/itccohort/cartcontents.php?addtocart=1&sesskey=vZeLxp9Jin&addenrol=' + id; return false; } function joinsession(id){ var new_url = 'https://godigital-palestine.intracen.org/enrol/itccohort/cartcontents.php?addtocart=1&sesskey=vZeLxp9Jin&addenrol=' + id; window.location.href = 'https://godigital-palestine.intracen.org/enrol/itccohort/joinsession.php?sesskey=vZeLxp9Jin&enrol=' + id; return false; }