Sure, just do <a href="javascript:loadintoIframe('myframe','pic.jpg ');loadintoIframe('myframe1','text.txt')">
The javascript: thingy (sorry, don't remember the proper name) lets you execute any code it follows standart JavaScript rules when it comes to the syntax. If you want to do two or more things you'd normaly put on multiple lines, just add keep adding after the semicolon... to the JS interpreter it doesn't matter if there's a new line or not between statements, as long as the semicolon is there.