A very easy way to ensure your site is not being displayed in a frame.
Here is the simple code used to ensure your site is not being displayed in a frame. This is good to use when you have people "scraping" your sites content by basically including your site in their code.
Simply place the code in the "head" of your page or you could even place it in an external javascript file to cut down on filesize.
<script type="text/javascript">
if(top.location != location) {
top.location.href = document.location.href;
}
</script>
That is all it takes to "bust" out of a frame and ensure your site is displayed on top.