function checkFrameset() 
{
  if(!parent.topframe)
   location.href="/index.php?ct=" + location.pathname.substr(0,location.pathname.length-4);
}
