Oops! I see why you recommended the book now. That if-else statement in javascript was a bit dodgy to say the least. I'm bad but not quite as bad as it looked! Jas -- Jason Bailey IT Services University of Sussex http://www.sussex.ac.uk/USIS/phone/details.php?id=17011