Simple
To display the widget just like below, paste the code from the box into your site's code.
Code
<script type="text/javascript" src="http://votesmart.org/static/js/widgets/search/js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="http://votesmart.org/static/js/widgets/search/js/init.search1.js"></script>
<div id="pvs_search"><a href="http://votesmart.org">Vote Smart</a> - Search Candidates, Elections and Officials<br /><br />Javascript must be enabled.</div>
Configurable
If you want to configure or alter the widget a little more, you can download the scripts below and do what you want with them.
Downloads
PVS_Search_Widget.zip (zip)