function swap_pic(which, where)
{
 //The first input argument is should be the ID of the image element
 //The second one should be the URL of the image to be used.

 // The eval() function evaluates a string and executes it 
 //as if it was script code

 var left = eval("document.images." + which);
 left.src = where;
 
}

