function flashBridgeCommand(theId) {
el=document.getElementById(theId);
if (el==null){
alert('invalid component id specified, the component with id ' + theId + ' does not exists');
return;}
if (el.tagName=='A'){
el.onclick();
}else if (el.tagName=='INPUT'){
if (el.type=='submit'){
el.click();
}else{alert('invalid component id specified, an input must have type = submit');}
}else{alert('invalid component id specified, you can invoke only anchor or input[submit]');}}
