I have the javascript image refresh only down, but i'm trying to refresh a webcam image ever 5 sec but I need to be able to change the source for the other cams. For example I view my webcams for 3 hours during those 3 hours The webcams switch every hour on the hour. If the hour two comes along i'll be looking at an empty screen. Question is how do you get the document.images['cam'].src to relect the new directory for the cam. BTW each cam has to be in a different directory. I thought of checking a database to see if the location has changed and then go from there but i haven't found a way to do that in javascript yet. I'd also be open to scripts to perform this is there is a solution that way. Any help would be appreciated.