why target is not working here : first i make index page containing  frame and i name the all frame as nasa google you tube etc .
then on search page


 
<input id="main_category_lan1" value="test" />
<a href="javascript: void(0)" onmouseover="window.open('http://nasasearch.nasa.gov/search?utf8=%E2%9C%93&affiliate=nasa&query='+document.getElementById('main_category_lan1').value)",target="nasa" >s</a>

<a href="javascript: void(0)" onmouseover="window.open('https://www.youtube.com/results?search_query=lecture '+document.getElementById('main_category_lan1').value)",target="google" >e</a>




but this is not working ,every time it open in new tab ,also i want to open both the pages bye a single button .
what should i do ?
thank you