function findTagByIdPart(tagType,idPart){ var myTags=document.getElementsByTagName(tagType); var regStr=new RegExp(idPart,"g"); for(var x=0;x