//get the radio's value
function selectRadio(radioname,url){
    var aa = document.getElementsByName(radioname);
    for (var i=0; i<aa.length; i++)
    {
     if(aa[i].checked){
	   window.open(url+aa[i].value);
	 }
    }
  }
//get the radio's value and open a new windows
function openUndoUrl(user){
var record=getOneRecord();
var id=getHidRecord(record,'peri_step');
if(id!=null) {
var sFeatures="height=200,width=400,";
sFeatures=sFeatures+"scrollbars=no,resizable=yes,status=no";
var url ="/FlowEngineWeb/workflow/Assemble.jsp?action=1&flowInidList="
         + record+","+id+","+user;
    if(confirm("")){
      var values = window.open(url,"",sFeatures);
  }
 }
}

    function submitForm(form){
      var f;
      f=document.all.item(form);
      f.submit();
    }
