function holdUp()
{
refreshFreq=5; // Set the value of refreshFreq to how often (in seconds)
setTimeout("freshPic()", refreshFreq*1000);
}
function freshPic()        // Get the source value for the picture
{
var currentPath=document.webcam.src;                //picture name !!
var trimmedPath=new Array();
trimmedPath=currentPath.split("?");
document.webcam.src = trimmedPath[0] + "?" + Math.random();                //picture name !! onLoad="holdUp()"
holdUp();
}
