function createSelectCheckBox(params,data,selected) { var str,str_p,i,j,bool; str = ''; str_p = ''; for(i in params) { str_p += ' '+i+'="'+params[i]+'"'; } for(i in data) { //alert(data[i]) bool = false; for(j=0;j'+data[i]+'<\/label>
\n'; } else { str += ''+data[i]+'<\/label>
\n'; } } return str; } /* function createSelect(params,data,selected) { var str,str_p,i,j,bool; str = ''; for(i in data) { //alert(data[i]) bool = false; for(j=0;j'+data[i]+'<\/option>\n'; } else { str += ''+data[i]+'<\/option>\n'; } } if (str!='') { str_p = ''; for(i in params) { str_p += ' '+i+'="'+params[i]+'"'; } str = '\n'+str+'<\/select>\n'; } return str; } */