Is it possible to pass the ID of some element to a function to use with document.all or getElementById?
Something like this does not work:

function doSomething(some_id){
document.all("some_id")...
document.getElementById("some_id")...
}