// JavaScript Document function updateReaders(cid) { new Ajax.Request('/updateReaders/' + cid + '/'); } setInterval( "updateReaders( '2e66c81c5c66e62835449fc3e2613ced76c5da11' )", 60000); updateReaders( '2e66c81c5c66e62835449fc3e2613ced76c5da11' );