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