// This should stop iframe content being loaded directly, e.g. via a search engine "spider".
function detect()
{ var framesetpage = "index.php"
   if (parent.location.href == window.location.href)
      {
	  parent.location.href    = framesetpage;} 
	  }
