function colourise(id) { element = document.getElementById(id); if (element) { element.style.backgroundColor = "#bbeebb"; } } function rank(rank,call,page) { element = document.getElementById('rank'); if (element) { if (rank) { document.getElementById('rank').innerHTML='' + call + ' ranks ' + rank + ''; document.getElementById('rank').style.display='block'; } } } function colourisemycalls() { } window.onload = colourisemycalls;