code: function pongIOcreTimerAction( divId, modalName, resourceURL )  {
  	var pmd = moduleConfig[ divId+'Content' ];
    if ( ! pmd.pollOptions ) { return ""; }
  	var icon = 'ui-icon-arrowrefresh-1-s';
  	var html = '<div id="'+divId+'TimerDlg">';
  	html += '<form id="'+divId+'TimerDlg"><fieldset>';
  	for ( var i=0; i < pmd.pollOptions.length; i++ ) {
  		var ts = pmd.pollOptions[i]
  		if ( pmd.poll = ts*1000 ) {
  		  html += ' <input type="radio" name="'+divId+'ContentIntervalRadio" value="'+ts+'" checked>'+ts+' sec<br>';
  		} else {
  	  	html += ' <input type="radio" name="'+divId+'ContentIntervalRadio" value="'+ts+'">'+ts+' sec<br>';
  		}
  	}
  	html += '</fieldset></form>';
  	html += '</div>';
  	html += '<script> $(function() { $( "#'+divId+'TimerDlg" ).dialog( ';
  	html += ' { autoOpen: false, height: '+(140+25*pmd.pollOptions.length) +', width: 300, modal: true, title:"'+$.i18n('Change Update Insterval')+'",';
  	html += ' buttons: { "OK": function() { pongIoChangeTimer("'+divId+'Content"); $( this ).dialog( "close" );  },';
  	html += ' Cancel: function() { $( this ).dialog( "close" ); } } }); ';
  	html += '});</script>';			
  	html += '<button id="'+divId+'TimerDlgBt">'+$.i18n('Change Timer')+'</button>';
  	html += '<script>  $(function() { $( "#'+divId+'TimerDlgBt" ).button( ';
  	html += ' { icons:{primary: "'+icon+'"}, text: false } ).click( ';
  	html += ' function() { $( "#'+divId+'TimerDlg" ).dialog( "open" ); }); }); ';
  	html += '</script>';		
  	return html;
  }
docs: ---------------------------------------------------------------------------------------