ym(12767704, 'getClientID', function(clientID) { document.getElementById('clientID').value = clientID; });