<html>
<head>
<script language="javascript">
function toggle_visibility(id) {
var s1div = document.getElementById('searchone');
var s2div = document.getElementById('searchtwo');
var s3div = document.getElementById('searchthree');
if(id=='searchone'){
s1div.style.display = 'block';
s2div.style.display = 'none';
s3div.style.display = 'none';
}else if(id=='searchtwo'){
s1div.style.display = 'none';
s2div.style.display = 'block';
s3div.style.display = 'none';
}else{
s1div.style.display = 'none';
s2div.style.display = 'none';
s3div.style.display = 'block';
}
}
</script>
</head>
<body>
<table>
<tr>
<td>
<a href="#" onclick="toggle_visibility('searchone');">Search One</a>
<br>
<a href="#" onclick="toggle_visibility('searchtwo');">Search two</a>
<br>
<a href="#" onclick="toggle_visibility('searchthree');">Search three</a>
<br>
</td>
<td>
<div id="searchone" style="display: none">
search one data
</div>
<div id="searchtwo" style="display: none">
search two data
</div>
<div id="searchthree" style="display: none">
search three data
</div>
</td>
</tr>
</table>
</body>
</html>
Bookmarks