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